Git Product home page Git Product logo

kotosu's Introduction

Favicon Kotosu

Open Source Love TypeScript

Screenshot

Summary

  1. Introduction
  2. Command
    2.1 Tool
    2.2 Install
  3. Keyboard
  4. Next step

Introduction

Kotosu is mini-game whith space ship 🚀.
Stay simple for the moment 😜. This project is open source.

Command

Tool

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

Install

Allows to install all dependencies

npm install
npx webpack --config webpack.config.js
npm install -D ts-loader   

Keyboard

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

Next step

  • Start game ( annimation )
  • Login
    • Display
    • Detect all keyboard
  • Menu
    • Play
    • Settings
    • About
  • Create different type game play
    • Add object
    • Race
    • Battle Royle

kotosu's People

Contributors

bigeard avatar

Stargazers

 avatar

Watchers

James Cloos avatar

kotosu's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.