neilsf / xc-basic3

A BASIC cross compiler for MOS 6502-based machines
MIT License
44 stars 5 forks source link

SPRITE n ON BACKGROUND does not work #249

Closed orlof closed 8 months ago

orlof commented 11 months ago
MEMSET 12288, 64, 255

SPRITE 0 SHAPE 192 AT 100,50 COLOR 1 HIRES ON BACKGROUND ON
SPRITE 1 SHAPE 192 AT 124,50 COLOR 2 HIRES UNDER BACKGROUND ON
image

Perhaps parser confuses options ON and ON BACKGROUND (at least my VSCode extension does 😆 ). One option would be to use OVER BACKGROUND instead.

phaze101 commented 11 months ago

Yes I have also experienced same thing. I think it gets confused with ON.