a little bit of gfx

This commit is contained in:
2026-03-24 13:42:37 +00:00
parent 079db44cd1
commit 59e33d6639
16 changed files with 378 additions and 35 deletions
+8
View File
@@ -1,8 +1,16 @@
import { Color } from @core:color;
import { Log } from @sdk:log;
import { Input } from @sdk:input;
import { Gfx } from @sdk:gfx;
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 a = 10;
let b = 15;
let total = a + b;