dev/prometeuc-base (#4)
Co-authored-by: Nilton Constantino <nilton.constantino@visma.com> Reviewed-on: #4
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
export function tick(): void {
|
||||
let color = 0x07E0; // green
|
||||
|
||||
if (input.btnA()) color = 0xF800; // red
|
||||
if (input.btnB()) color = 0x001F; // blue
|
||||
|
||||
gfx.fillRect(60, 60, 40, 40, color);
|
||||
}
|
||||
Reference in New Issue
Block a user