Jump to content
Posted 23 August 2012 - 07:14 AM
Posted 23 August 2012 - 07:23 AM
Is that literally the error message? Can you post the full error message, and any associated stack trace?
I have these errors: Game.render() failure - check the game code
Does it appear to work for those 5 seconds? You are creating new images every frame. If these images allocate system resources (which it appears to have, you have a resource leak that will eventually cause your program to fail. Try moving the images into fields, and only loading them once at startup. If possible, ensure you are loading each image exactly once.
The screen shows up but in about 5 sec it closes.
Posted 23 August 2012 - 07:34 AM
Edited by Mathew Bergen, 23 August 2012 - 07:38 AM.
Posted 23 August 2012 - 08:17 AM
Posted 23 August 2012 - 09:08 AM
Edited by Mathew Bergen, 23 August 2012 - 09:09 AM.
Posted 23 August 2012 - 11:01 AM