Ive been working on a small puzzle game using the adventure module and slowly modifying the underlying code.
Anyways, that's beside the point.
So to create a start screen with options on it, I wanted to spawn a game object that is used to give the screen a bit of life.
To do this, I made a loop using the Input Editor, having a custom ASM script be called every time 'Any' or 'None' buttons are pressed.
This is my code.
Code: Select all
;Start Screen
LDA MenuState
AND #$00
BEQ spawnIdle
JMP dontSpawnIdle
spawnIdle:
CreateObject #$D0, #$B0, #$07, #$00
LDA #$01
STA MenuState
+
ShowSprites
RTS
dontSpawnIdle:
rts
However, when I run it in game, there is major sprite flicker. Any suggestions?
Gif of what I mean:
