From b35c96c0fb428a13fe68428aaeb769a34e0c6d41 Mon Sep 17 00:00:00 2001 From: Lucas Scharenbroich Date: Fri, 22 Jul 2022 16:02:00 -0500 Subject: [PATCH] Set better default scale --- demos/kfest-2022/demo-10/App.Main.s | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/demos/kfest-2022/demo-10/App.Main.s b/demos/kfest-2022/demo-10/App.Main.s index f963458..e6dc8d1 100644 --- a/demos/kfest-2022/demo-10/App.Main.s +++ b/demos/kfest-2022/demo-10/App.Main.s @@ -73,7 +73,11 @@ Scale equ 56 stz LastHFlip stz SpriteCount stz SpriteToggle - stz Scale + + lda #4 + sta Scale + pei Scale + _GTESetBG1Scale ; Initialize the graphics screen playfield @@ -211,12 +215,20 @@ EvtLoop beq :reg_key and #$007F cmp #'s' - bne :reg_key + bne :not_s inc Scale pei Scale _GTESetBG1Scale jmp do_render +:not_s + cmp #'x' + bne :reg_key + dec Scale + pei Scale + _GTESetBG1Scale + jmp do_render + :reg_key and #$007F cmp #LEFT_ARROW