add animation

This commit is contained in:
2026-03-24 13:42:57 +00:00
parent 0e5e1669c2
commit 6fac39990b
23 changed files with 918 additions and 604 deletions
+2 -2
View File
@@ -9,8 +9,8 @@ fn frame() -> void
let touch = Input.touch();
Gfx.clear(new Color(6577));
// Gfx.draw_square(touch.x() - 8, touch.y() - 8, 16, 16, new Color(65535), new Color(13271));
let sprite_status = Gfx.set_sprite(0, 0, touch.x() - 8, touch.y() - 8, 0, 0, true, false, false, 0);
// Gfx.draw_square(touch.x(), touch.y(), 16, 16, new Color(65535), new Color(13271));
let sprite_status = Gfx.set_sprite(0, 0, touch.x(), touch.y(), 0, 0, true, false, false, 0);
let a = 10;
let b = 15;