1
0
Fork 0

40 Commits (combat-scorched-earth-from-outer-space)

Author SHA1 Message Date
André Jaenisch e82734dc03
feat: explicitely colour boxes or define on creation 9 months ago
André Jaenisch fb269246d8
refactor: use custom DOM module to avoid some boilerplate 9 months ago
André Jaenisch 9b66e3466f
feat: add new module to reference DOM elements 9 months ago
André Jaenisch 33c53b32af
refactor: call updateRotation from file 9 months ago
André Jaenisch 065d1711de
feat: move rotation into dedicated file 9 months ago
André Jaenisch a038b35a70
refactor: call updatePosition from new file 9 months ago
André Jaenisch 99a960f293
feat: move position into dedicated file 9 months ago
André Jaenisch df3dd8fa2a
feat: load ice-cream into the world and move it across the screen 9 months ago
André Jaenisch 7a283b8c42
feat: add first power-up 9 months ago
André Jaenisch 859f1a261a
refactor: prepare for scene transitions 9 months ago
André Jaenisch 1050877d5a
refactor: move state updates out of draw code in prep of new location 9 months ago
André Jaenisch 514b190997
feat: jump to game over 9 months ago
André Jaenisch 39dbf7a04f
feat: draw left and right boundary 9 months ago
André Jaenisch 34d833f027
feat: allow for manipulation of gravity in both dimensions 9 months ago
André Jaenisch f5eca1e296
feat: control gravity 9 months ago
André Jaenisch f6aad4cd6f
refactor: apply gravity on update of position after draw 9 months ago
André Jaenisch 74bfda593e
refactor: don't attach acceleration to shapes anymore 9 months ago
André Jaenisch f42cc2895f
refactor: don't compute same divisor twice 9 months ago
André Jaenisch ef4cf54f11
feat: add top boundary 9 months ago
André Jaenisch 3fb776ca78
refactor: boundary factory is now agnostic on top / bottom 9 months ago
André Jaenisch 4f857eeb10
fix: repair collision detection 9 months ago
André Jaenisch abe72d6702
feat: add collision check 9 months ago
André Jaenisch f587abac3f
fix: tweak bounds a bit 9 months ago
André Jaenisch ee89d92d1a
feat: add collistion test 9 months ago
André Jaenisch 5f88768fd0
feat: add boundary test 9 months ago
André Jaenisch c0c6509428
refactor: import world object factories in app 9 months ago
André Jaenisch fb74ae92fb
refactor: move world elements into dedicated module 9 months ago
André Jaenisch 62fedcba92
fix: clear rect on every frame 9 months ago
André Jaenisch 1763fda79a
feat: apply gravity to objects 9 months ago
André Jaenisch a5dd1755d9
feat: add new function to rotate a vector 9 months ago
André Jaenisch b172a79b00
feat: add new function to compute face normals 9 months ago
André Jaenisch ba978bc381
feat: declare FPS as constant 9 months ago
André Jaenisch 59586dc468
refactor: move variables to global scope to rAF them 9 months ago
André Jaenisch 8b240251d5
feat: create a rigid shape and draw it onto the screen 9 months ago
André Jaenisch 8be4ce0c69
feat: add draw module 9 months ago
André Jaenisch d222037abb
feat: add shape module 9 months ago
André Jaenisch 25ad417b3c
feat: introduce gravity constant 9 months ago
André Jaenisch ef91dc696c
feat: make app query DOM for reference to canvas 9 months ago
André Jaenisch 711cdbe41b
feat: add vector library 9 months ago
André Jaenisch 7d45546f26
chore: set up HTML5 Boilerplate 9 months ago