Alright well I just started making a game and I have a problem… I made a mainmenu screen but as I load it the render method does not load and it goes back to the main class to finish there which is confusing…
Check out the code here:
Here is the main class for the game: http://pastebin.com/idQ7Fd0D
and here is the main menu class: http://pastebin.com/wYQZMHna
assets class (i dont really think any one will need this but just in case) http://pastebin.com/JWLJA6Ck
Those classes are pretty short so dont get worried about that. If you look at the source code you will notice I put some println’s in every method to see what gets called. here is the output:
AL lib: MMDevApiMsgProc: Unexpected message: 0 assest pre mainmenuscreenend show resize po
that first “AL lib” comes in red but it works with another game with that error showing up so I dont think thats the problem, but does anyone know what that means? And anyway as you can see the mainmenu screen is getting called to but the render isnt… I based this simple game so far on the superjumper example just to help me get started. Any thoughts are appreciated