André Jaenisch
|
e82734dc03
|
feat: explicitely colour boxes or define on creation
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
fb269246d8
|
refactor: use custom DOM module to avoid some boilerplate
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
9b66e3466f
|
feat: add new module to reference DOM elements
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
33c53b32af
|
refactor: call updateRotation from file
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
065d1711de
|
feat: move rotation into dedicated file
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
a038b35a70
|
refactor: call updatePosition from new file
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
99a960f293
|
feat: move position into dedicated file
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
df3dd8fa2a
|
feat: load ice-cream into the world and move it across the screen
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
7a283b8c42
|
feat: add first power-up
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
8b93b22d03
|
chore: add dummy button to test larger size across devices
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
859f1a261a
|
refactor: prepare for scene transitions
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
1050877d5a
|
refactor: move state updates out of draw code in prep of new location
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
514b190997
|
feat: jump to game over
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
fa222af8ce
|
feat: add settings and game over scene
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
9bc351426e
|
chore: drop unused assets
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
95174e9380
|
feat: add reload button
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
39dbf7a04f
|
feat: draw left and right boundary
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
34d833f027
|
feat: allow for manipulation of gravity in both dimensions
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
30b9e3949a
|
refactor: post-process using nunjucks
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
8f85f9d858
|
feat: use emoji as favicon
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
12a9d12b66
|
feat: style internal links as buttons
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
0ecbc429cb
|
feat: add minimal tab views
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
fb9b8a61d1
|
chore: add some colours
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
f5eca1e296
|
feat: control gravity
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
fdbdd3aaef
|
feat: add range input to control gravity
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
f6aad4cd6f
|
refactor: apply gravity on update of position after draw
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
74bfda593e
|
refactor: don't attach acceleration to shapes anymore
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
f42cc2895f
|
refactor: don't compute same divisor twice
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
ef4cf54f11
|
feat: add top boundary
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
3fb776ca78
|
refactor: boundary factory is now agnostic on top / bottom
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
4f857eeb10
|
fix: repair collision detection
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
abe72d6702
|
feat: add collision check
And discover, that it still has some bugs
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
f587abac3f
|
fix: tweak bounds a bit
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
ee89d92d1a
|
feat: add collistion test
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
5f88768fd0
|
feat: add boundary test
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
c0c6509428
|
refactor: import world object factories in app
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
fb74ae92fb
|
refactor: move world elements into dedicated module
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
62fedcba92
|
fix: clear rect on every frame
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
1763fda79a
|
feat: apply gravity to objects
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
a5dd1755d9
|
feat: add new function to rotate a vector
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
b172a79b00
|
feat: add new function to compute face normals
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
ba978bc381
|
feat: declare FPS as constant
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
59586dc468
|
refactor: move variables to global scope to rAF them
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
05f095effa
|
feat: invoke game
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
8b240251d5
|
feat: create a rigid shape and draw it onto the screen
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
8be4ce0c69
|
feat: add draw module
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
d222037abb
|
feat: add shape module
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
25ad417b3c
|
feat: introduce gravity constant
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
ef91dc696c
|
feat: make app query DOM for reference to canvas
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |
André Jaenisch
|
2b8e3c43c2
|
feat: sectionize website
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
|
10 months ago |