-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
47 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,44 @@ | ||
# diep-clone | ||
|
||
A clone of the diep.io game made with colyseus.js and phaser.js | ||
|
||
## How to play | ||
|
||
Move with WASD or arrow keys, press or hold SPACE to shoot. | ||
Play with other people on the same local network as you. | ||
Goal: survive and kill other players. | ||
|
||
## How to run | ||
|
||
### Development | ||
|
||
- Server | ||
- Run server `npm run start:server` | ||
- Client | ||
- Run client `npm run start:client` | ||
|
||
### Production | ||
|
||
- Server | ||
- Build server `npm run build:server` | ||
- Run server `npm run start:server:prod` | ||
- Client | ||
- Build client `npm run build:client` | ||
- Run client `npm run start:client:prod` | ||
|
||
<details> | ||
<summary> | ||
|
||
## Dev Cheats | ||
|
||
</summary> | ||
|
||
- `K` to increase speed to 2.5x | ||
- `O` to increase bullet speed to 2x | ||
- `P` to increase have infinite bullet damage | ||
- `L` to have infinite health | ||
- `I` to be invisible | ||
- `J` to reload at tick speed | ||
- `0` to disable joins | ||
|
||
</details> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters