├── .editorconfig ├── .gitignore ├── README.md ├── dist ├── game.zip └── index.html ├── package.json ├── src ├── Game │ ├── Enemy.ts │ ├── Event.ts │ ├── Hero.ts │ ├── Map.ts │ ├── Menu.ts │ ├── Platform.ts │ ├── Scene.ts │ ├── Task.ts │ └── Token.ts ├── T3D │ ├── Camera.ts │ ├── Collider.ts │ ├── Item.ts │ ├── Mat4.ts │ ├── Mesh.ts │ ├── Shader.ts │ ├── Transform.ts │ ├── Vec3.ts │ └── index.ts ├── index.html ├── main.ts ├── sfx.ts ├── shader │ ├── tiny.frag │ └── tiny.vert └── style.scss ├── tsconfig.json ├── typings.d.ts └── webpack.config.js /.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig helps developers define and maintain consistent 2 | # coding styles between different editors and IDEs 3 | # editorconfig.org 4 | 5 | root = true 6 | 7 | [*] 8 | charset = utf-8 9 | end_of_line = lf 10 | trim_trailing_whitespace = true 11 | insert_final_newline = true 12 | indent_style = space 13 | indent_size = 4 14 | 15 | [*.json] 16 | indent_size = 2 17 | 18 | [*.md] 19 | trim_trailing_whitespace = false 20 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /.idea 2 | /dist/*.css 3 | /dist/*.js 4 | /node_modules 5 | package-lock.json 6 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # S P A C E C R A F T 2 | 3 | "Space, the final frontier" is your ultimate destination in SPACECRAFT. But first, your mission is to collect as many data tokens as possible from the planets and moons of the Solar System. As their gravity accelerates you have to stay on track as well as dodge space junk and asteroids, or zap them with your booster, at least until your probe goes OFFLINE. 4 | 5 | [PLAY](https://tricsi.github.io/spacecraft/dist/) -------------------------------------------------------------------------------- /dist/game.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tricsi/spacecraft/bb15d3f66a29005985b87f52612ef22bc849a8af/dist/game.zip -------------------------------------------------------------------------------- /dist/index.html: -------------------------------------------------------------------------------- 1 |
Distance travelled | |
---|---|
Tokens collected | |
Big tokens collected | |
Asteroids destroyed | |
Places visited | |
Mission completed | |
TOTAL |
JUMP - UP arrow key
SHRINK - DOWN arrow key
MOVE - LEFT / RIGHT arrow keys
BOOST - SPACE key
JUMP - Swipe UP
SHRINK - Swipe DOWN
MOVE - Swipe LEFT / RIGHT
BOOST - TAP
BIG TOKENS help you collect small ones.
Use SHRINK to go through SPACE JUNK.
Use BOOST to destroy ASTEROIDS.
Distance travelled | |
---|---|
Tokens collected | |
Big tokens collected | |
Asteroids destroyed | |
Places visited | |
Mission completed | |
TOTAL |
54 | JUMP - UP arrow key
55 | SHRINK - DOWN arrow key
56 | MOVE - LEFT / RIGHT arrow keys
57 | BOOST - SPACE key
58 |
60 | JUMP - Swipe UP
61 | SHRINK - Swipe DOWN
62 | MOVE - Swipe LEFT / RIGHT
63 | BOOST - TAP
64 |
66 | BIG TOKENS help you collect small ones.
67 | Use SHRINK to go through SPACE JUNK.
68 | Use BOOST to destroy ASTEROIDS.
69 |