aboutsummaryrefslogtreecommitdiff
path: root/main.lua
diff options
context:
space:
mode:
authoriamcheeseman <[email protected]>2026-03-11 22:36:18 -0400
committeriamcheeseman <[email protected]>2026-03-11 22:36:18 -0400
commitc63b1e049c9da2c095281b3e5dd012cc4fc4b6fc (patch)
treecf924ca9cc9dc12e97e5ee1250930930a248bcdf /main.lua
parent9e1afa5a96849aeb8eafce786c2411af7f45508c (diff)
Add loading for aseprite files; animated sprites
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.lua b/main.lua
index 804a355..5811733 100644
--- a/main.lua
+++ b/main.lua
@@ -7,8 +7,9 @@ function love.load()
local scn = new_scene()
event_bind(scn.on_update, "Body", body_sys)
event_bind(scn.on_update, "Player", player_movement_sys)
+ event_bind(scn.on_update, "Sprite", sprite_anim_sys)
- event_bind(scn.on_draw, "Body", draw_sys)
+ event_bind(scn.on_draw, "Sprite", sprite_draw_sys)
set_scene(scn)
new_player(100, 100)