Browse Source

Don't set background color every frame.

For some reason, this causes graphical glitches on real hardware.
main
Colin McMillen 6 years ago
parent
commit
07b3a531cb
  1. 3
      pewpew.asm

3
pewpew.asm

@ -235,6 +235,8 @@ InitWorld:
bne -
SetA8Bit
jsr SetBackgroundColor
; Initial enemy ship-spawn cooldown.
lda #30
sta enemyShipSpawnCooldown
@ -311,7 +313,6 @@ MainLoop:
++
jsr UpdateSprites
jsr FillSecondarySpriteTable
jsr SetBackgroundColor
bra MainLoop

Loading…
Cancel
Save