new music on color-square

This commit is contained in:
Nilton Constantino
2026-01-22 13:28:39 +00:00
parent 9704274707
commit f7b60c2688
20 changed files with 978 additions and 551 deletions
+8
View File
@@ -2,7 +2,15 @@ import {do_init_gfx, print_orange} from "./my_gfx";
import {do_pad, do_touch} from "./my_input";
import {do_fs} from "./my_fs";
let music_started = false;
export function frame(): void {
if (!music_started) {
// bank_id=0, sample_id=0, voice_id=0, volume=255, pan=127, pitch=1.0, loop_mode=1
audio.play(0, 0, 0, 128, 127, 1.0, 1);
music_started = true;
}
do_init_gfx();
do_pad();
do_touch();