diff options
Diffstat (limited to 'src/objs')
| -rw-r--r-- | src/objs/player.lua | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/objs/player.lua b/src/objs/player.lua index 83b05fe..74d28e8 100644 --- a/src/objs/player.lua +++ b/src/objs/player.lua @@ -14,10 +14,6 @@ function body_sys(ent, dt) ent.y = ent.box.y end -function draw_sys(ent) - love.graphics.circle("fill", ent.x, ent.y, 8) -end - function player_movement_sys(player, dt) local inpx, inpy = input_direction("Left", "Right", "Up", "Down") inpx, inpy = normalize(inpx, inpy) @@ -34,4 +30,5 @@ function new_player(x, y) mask = {"hard"}, }) add_comp(ent, "Player") + add_comp(ent, "Sprite", "res/img/player.ase") end |
