Log In  

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]

Cart #hitisujori-0 | 2019-03-01 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

P#62338 2019-03-01 10:14

> 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.

P#62348 2019-03-01 10:24

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-29 06:22:05 | 0.009s | Q:16