1 2 3 4 5 6 7 8 9 10 11 12
--start screen mod = ... mod.gen_scene = () -> node = am.group! background = am.translate(0,0) ^ am.scale(1) ^ am.sprite("data/ph_start_screen.png") text = am.translate(0,-100) ^ am.text("Press space to start") node ^ {background, text} node