Kazhnuz
|
4c2427bfd6
|
feat(world): add a drawHUD function to draw the current HUD
It is able to draw everything a player object want directly where it
should go.
Fixes #3
|
2019-06-13 22:23:23 +02:00 |
|
Kazhnuz
|
6f59f1e732
|
refactor(examples): use updateStart(dt) and updateEnd(dt)
Allow to drop easily some instance of calling the parent's same function
|
2019-06-13 18:44:13 +02:00 |
|
Kazhnuz
|
40daa66eeb
|
examples/moveplayer: add walls
|
2019-05-01 17:20:31 +02:00 |
|
Kazhnuz
|
6dbbdc46dd
|
example/moveplayer: remove playerid variable
|
2019-04-29 21:21:07 +02:00 |
|
Kazhnuz
|
dacff225a2
|
examples: add cameras
|
2019-04-29 15:27:40 +02:00 |
|
Kazhnuz
|
7f8234b7f7
|
examples/gameplay: apply friction
|
2019-04-28 09:31:37 +02:00 |
|
Kazhnuz
|
ea5011642c
|
modules/world: add a basic solidity system
It'll make easier the solidity system and will reserve custom filter to
specific objects.
|
2019-04-25 17:54:51 +02:00 |
|
Kazhnuz
|
90458757e5
|
modules/world: make hitbox drawing part of actor
|
2019-04-22 12:13:01 +02:00 |
|
Kazhnuz
|
a25e178628
|
modules/world: make speed relative to dt
|
2019-04-22 12:02:52 +02:00 |
|
Kazhnuz
|
193e9b6fbf
|
modules/world: add speed variables
|
2019-04-13 09:40:14 +02:00 |
|
Kazhnuz
|
a4aaa28c24
|
examples/moveplayer: use isDown instead of isPressed on player item
|
2019-04-07 22:53:59 +02:00 |
|
Kazhnuz
|
66d98ab9ea
|
examples/moveplayer: use the right function to draw box
|
2019-04-07 22:29:27 +02:00 |
|
Kazhnuz
|
5ec137416e
|
examples/moveplayer: default dx and dy to 0 for the player
|
2019-04-07 18:15:06 +02:00 |
|
Kazhnuz
|
54d56675a9
|
modules/world: prepare structure for movable player example
|
2019-04-07 17:00:47 +02:00 |
|