aboutsummaryrefslogtreecommitdiff
path: root/src/macroknight/game.hy
diff options
context:
space:
mode:
authorGene Pasquet <dev@etenil.net>2025-05-16 21:50:13 +0100
committerGene Pasquet <dev@etenil.net>2025-05-16 21:50:13 +0100
commit4346ec2fa0623132afa7706cfb103e20c7e68494 (patch)
treede44331f43fd4091f3276e5dd1e9fb9b188458a6 /src/macroknight/game.hy
parent5af7de084933444951dfb140c084ea07cf3346a8 (diff)
Basic animations
Diffstat (limited to 'src/macroknight/game.hy')
-rw-r--r--src/macroknight/game.hy3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/macroknight/game.hy b/src/macroknight/game.hy
index 1676e5a..005f356 100644
--- a/src/macroknight/game.hy
+++ b/src/macroknight/game.hy
@@ -139,11 +139,14 @@
pygame.K_w (.jump player)
pygame.K_d (.move player #(player.SPEED 0))))
+
+
(try
(when (any ongoing_inputs)
(for [entity entities]
(apply-collisions entity entities)))
+ (.animate player)
(.flush player)
;; Apply systems