Hey all, how do I make sprites load on the game over screen? Why is other stuff loading in that's also in mode "game"? Also I'm working on cutting down the sprite stuff bc seems like it should be easier, not sure on the best way to do it.
Song is a track from Princess Remedy called Goodnight Legend [NES]
> Hey all, how do I make sprites load on the game over screen?
I'm not sure what you're asking. What sprites don't load? Your code has a comment that says "sprites don't load" but there's no sprite code in draw_gameover().
> Why is other stuff loading in that's also in mode "game"?
It's not? What other stuff do you mean? The only things that are drawn on the game over screen are the ball and the pad, which for some reason are in _update60(). You probably want to move that out to the draw_game() function?
Note that you're clearing the screen and drawing the map in both the update_game() and draw_game() functions, but the latter will clear away the former.
[Please log in to post a comment]