From 4346ec2fa0623132afa7706cfb103e20c7e68494 Mon Sep 17 00:00:00 2001 From: Gene Pasquet Date: Fri, 16 May 2025 21:50:13 +0100 Subject: Basic animations --- src/macroknight/game.hy | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/macroknight/game.hy') 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 -- cgit v1.2.3