|
Post by quentinpsausages on Feb 13, 2024 15:34:03 GMT
Hello, I've been building a game for a while and everything is fine. But all of a sudden when I build the game, the sprites are all green instead of white! There's nothing in the code telling the sprites to be green. Any help with this would be really appreciated! Thanks!
|
|
mas
Processing Plant
Posts: 28
|
Post by mas on Feb 13, 2024 17:10:31 GMT
Some assumptions. 1) you're building a Spectrum game (some of the other machine targets - like the acorn mono - only does green on black) 2) you're not using SPRITEINK to explicitly set the colour of the sprites - ie. a SPRITEINK 7 at the beginning of the sprite event will make sure it is white
Sprites that don't have the colour explicitly set with SPRITEINK will take the colour from the EMPTYBLOCKs behind the sprite. This can be useful, but can also be confusing. If you recently changed the default EMPTYBLOCK INK this would probably trigger it.
There might be other triggers, but that is the most common one.
|
|
|
Post by quentinpsausages on Feb 14, 2024 12:36:02 GMT
Ah, yes, it was the default emptyblock! Thanks so much
|
|