Kotosu is mini-game whith space ship 🚀.
Stay simple for the moment 😜.
This project is open source
.
start
the server. URL : http://localhost:3000
npm start
watch
is best command for game developer because the code is auto compile when save.
npm run watch
cdebug
is useful to see the bug but also where to get latency. URL : chrome://inspect/#devices
npm run debug
build
is convenient for just build
npm run build
kill
just works for the linux system. It allows to remove the prossesus from the server in case of bug
npm run kill
Allows to install
all dependencies
npm install
npx webpack --config webpack.config.js
npm install -D ts-loader
Keyboard | Action | Code | Vector X | Vector Y |
---|---|---|---|---|
ArrowUp | Move up ⬆️ | 38 | 0 | 1 |
ArrowDown | Move down ⬇️ | 40 | 0 | -1 |
Arrow | Move left ⬅️ | 37 | -1 | 0 |
ArrowRight | Move right ➡️ | 38 | 1 | 0 |
W | Shoot ☄️ | 87 | ∅ | ∅ |
X | Dash ⚡ | 88 | ∅ | ∅ |
Up-Left | ⬅️ ⬆️ | ∅ | -1 | 1 |
Up-Right | ⬆️ ➡️ | ∅ | 1 | 1 |
Down-Left | ⬅️ ⬇️ | ∅ | -1 | -1 |
Down-Right | ⬇️ ➡️ | ∅ | 1 | -1 |
Direction
∅ | -1 | 0 | 1 | X |
---|---|---|---|---|
1 | ⬆️ | ️ | ||
0 | ⬅️ | 0 | ➡️ | |
-1 | ⬇️ | ️ | ||
Y | ️ |
- Start game ( annimation )
- Login
- Display
- Detect all keyboard
- Menu
- Play
- Settings
- About
- Create different type game play
- Add object
- Race
- Battle Royle