packer & compiler test
This commit is contained in:
Binary file not shown.
@@ -6,5 +6,5 @@
|
||||
"app_version": "0.1.0",
|
||||
"app_mode": "Game",
|
||||
"entrypoint": "0",
|
||||
"capabilities": ["log", "gfx"]
|
||||
"capabilities": ["log", "gfx", "asset"]
|
||||
}
|
||||
|
||||
Binary file not shown.
@@ -2,5 +2,6 @@
|
||||
|
||||
set -e
|
||||
|
||||
cp build/assets.pa cartridge
|
||||
cp build/program.pbx cartridge
|
||||
./runtime/prometeu run cartridge
|
||||
./runtime/prometeu run cartridge
|
||||
|
||||
@@ -9,7 +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));
|
||||
// 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, 1, true, false, false, 0);
|
||||
|
||||
let a = 10;
|
||||
let b = 15;
|
||||
|
||||
Reference in New Issue
Block a user