Log In  


Hi all. First time posting. Been working on a small choose your own adventure type of game but ran into a visual issue.

So I'm drawing 2 sprites over each other. A logo over the bigger monster sprite, but the logo glitches out. Tried Googling it but didn't find anything similar. Any idea what the problem might be? How can I fix it other than drawing the logo on the monster image?

Thing is that during the game I would like to use them separately.

This is the code how I call it out in the draw function.

cls()
spr(5,22,36,11,2,false,false)
spr(32,0,0,16,14,false,false)


It looks like the order you are drawing your sprites in is wrong. If you draw the background image first ( spr(32,0,0,16,14,false,false) ) then followed by the logo itself ( spr(5,22,36,11,2,false,false) ) you should be ok.


Thanks for the reply. I was 100% sure that I switched the order of the sprites like 10 times already to be sure. Tried it again to be sure and yeah. You are correct. Hitting myself :D Thanks!



[Please log in to post a comment]