Commit graph

13 commits

Author SHA1 Message Date
Kazhnuz
05f62a6842 modules/world: make the move function return variables 2019-04-22 12:09:28 +02:00
Kazhnuz
a25e178628 modules/world: make speed relative to dt 2019-04-22 12:02:52 +02:00
Kazhnuz
93f710e0b0 modules/world: add filter function 2019-04-22 11:58:00 +02:00
Kazhnuz
42303da317 modules/world: fix movement functions for bump2D
The moveActor function is in bump2D a wrapper for the move function of
bump2D. But this function doesn't handle actual movement.

In order to make things samewise everywhere, let the actor handle actual
movement themselves.
2019-04-22 09:42:33 +02:00
Kazhnuz
193e9b6fbf modules/world: add speed variables 2019-04-13 09:40:14 +02:00
Kazhnuz
f2680c37f3 modules/world: improve commenting and organisations 2019-04-08 19:58:41 +02:00
Kazhnuz
f30bbc7509 modules/world: better separation of init functions 2019-04-08 19:40:27 +02:00
Kazhnuz
262bf97e67 modules/world: add basic move functions to entities 2019-04-07 18:33:41 +02:00
Kazhnuz
bdd837d4da modules/world: basic player system 2019-04-07 17:15:27 +02:00
Kazhnuz
b74be06d26 modules/world: init fake keys for every actor
Only the "player object" will get the real inputs
2019-04-07 17:03:18 +02:00
Kazhnuz
c50f71f244 modules/world: autoregister actors 2019-04-01 13:08:03 +02:00
Kazhnuz
55aadc56c3 modules/world: fix an oops in the actor parent 2019-04-01 12:49:32 +02:00
Kazhnuz
02b6cbd87d modules/world: add basic actor system 2019-04-01 08:08:54 +02:00