diff options
| author | iamcheeseman <[email protected]> | 2026-03-13 20:33:28 -0400 |
|---|---|---|
| committer | iamcheeseman <[email protected]> | 2026-03-13 20:33:28 -0400 |
| commit | 12752cf0d055d31438c244d6e025a3e0b11f1f0c (patch) | |
| tree | 2952834517cd394d5553b8e3c60dfdc371fa9a55 /main.lua | |
| parent | 973cc401d03a38cf889f122e74d92ab8cde053a1 (diff) | |
Animations and variable jump height
Diffstat (limited to 'main.lua')
| -rw-r--r-- | main.lua | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -7,6 +7,7 @@ function love.load() main_init() local scn = new_scene() event_bind(scn.on_update, "Body", body_sys) + event_bind(scn.on_update, "Player", player_update_sys) event_bind(scn.on_update, "State_Machine", state_update_sys) event_bind(scn.on_update, "Sprite", sprite_anim_sys) @@ -29,9 +30,6 @@ function love.load() player = new_player(100, 100) - ground1 = phys.Box.new(5, 50, 64, 16, {}) - ground2 = phys.Box.new(64 - 16, 50 + 16, 16, 64, {}) - local room_editor = new_entity() add_comp(room_editor, "Room_Editor") end @@ -53,9 +51,6 @@ function love.draw(dt) assert(scn, "No scene set.") fire_event(scn.on_draw, dt) - ground1:draw() - ground2:draw() - player.box:draw() -- TODO: Take care of weird displays lg.setCanvas() |
