mirror of
https://github.com/lscharen/iigs-game-engine.git
synced 2025-01-11 20:30:14 +00:00
Set better default scale
This commit is contained in:
parent
f446e44a39
commit
b35c96c0fb
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user