Posted 31 January 2013 - 11:38 PM
I'm working on a game in which you have to shoot baddies. It works fine untill you level up for the first time, pick a ship, and get into the next level, then it draws the headers and ship one time and it freezes.
I have no idea what's causing this, so if someone can look into my code and see what's up, I would very much appreciate it.
[[link has been snipped away :)/>]]
On a side note, since the code is nearly 1k lines long, I'll try to make it easier for you. I suspect the problem lies somewhere in one of the following functions
level1()
level2()
playerShipUpdate()
mainGame()
If the problem isn't clear, try running the program yourself, you should run into it soon enough.
I have no idea what's causing this, so if someone can look into my code and see what's up, I would very much appreciate it.
[[link has been snipped away :)/>]]
On a side note, since the code is nearly 1k lines long, I'll try to make it easier for you. I suspect the problem lies somewhere in one of the following functions
level1()
level2()
playerShipUpdate()
mainGame()
If the problem isn't clear, try running the program yourself, you should run into it soon enough.