Commit graph

24 commits

Author SHA1 Message Date
b3950330e3
Create Electron app 2018-12-08 12:39:18 +01:00
5f9e8636e3
GameContext: remove animated test entity 2018-11-22 21:45:17 +01:00
38e90fc2e3
GameContext: async render loop 2018-11-17 13:51:38 +01:00
0db19bd119
Add MapView class with common render() method 2018-11-17 12:38:14 +01:00
ec0e51231f
Prepare support for adding extra elements to map layers 2018-11-11 20:31:22 +01:00
e77b54f01b
resources: add walls to test level 2018-11-11 15:49:42 +01:00
b83b596b0f
Add support for simple periodic sprite animations 2018-11-11 01:46:08 +01:00
426b2c37ff
controller: gamecontext: count actual game time 2018-11-11 00:40:46 +01:00
3c83dade65
controller: gamecontext: increase collistion radius to outer line 2018-11-11 00:26:31 +01:00
453a9391cc
Allow interacting with entities 2018-11-09 13:27:49 +01:00
5eae6f29a8
Implement more flexible handling of entities and collidables 2018-11-08 22:25:53 +01:00
b30a4a28a6
controller/gamecontext: even nicer updateStep() 2018-11-06 20:19:41 +01:00
a3962f36aa
controller/gamecontext: refactor collision code 2018-11-05 23:39:55 +01:00
f086908e08
controller/gamecontext: ignore weird projection points rather than stopping movement altogether 2018-11-05 22:41:38 +01:00
fd59aaa55c
More generic collision handling 2018-11-05 19:59:39 +01:00
9be9f8e739
Read collision barriers from map file 2018-11-05 01:28:35 +01:00
aee504be88
Add collision radius 2018-11-05 00:51:30 +01:00
6a02ea105a
Fix rounding issues in collision handling 2018-11-04 22:42:25 +01:00
34d7b2197b
Replace player sprite with circle 2018-11-04 22:01:25 +01:00
dbc3a6aa12
controller: gamecontext: implement simple collision handling 2018-11-04 20:22:47 +01:00
9f2e4e6996
Do not use default exports 2018-11-01 00:59:13 +01:00
22b06efe2c
controller: more GameContext cleanup, introduce ticks 2018-11-01 00:44:49 +01:00
1ae0884a73
controller: clean up GameContext a bit 2018-10-31 23:25:26 +01:00
5372d1b417
Move game logic to a new module 2018-10-31 23:02:59 +01:00