add animation
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user