Every 2 plays.. O-o?
Posted: Fri Apr 13, 2012 1:20 pm
I'm very confused right now. On my pong game, I have it set where the transition takes place after you either win or loose a battle. (The circle that hides and shows the screen). It works on everything, and it works for the first battle, but after that it doesn't do it anymore for the battle.. sometimes it will but sometimes it wont. I'm --way-- beyond confused here, I've tried resetting the "kvar" variable which when it equals 60, it teleports the screen back to the world map, but even setting kvar(an actor variable) to 0, even by other means, such as a mouse down, somehow it still instantly teleports the view to the world map O-o...
I have an idea actually... hang on.
Works
The solution:
I had a cloned actor, SCORES.0 and SCORES.1, which caused the bugs. I simply added a switch(cloneindex) and case 0 to determine the transition.
I have an idea actually... hang on.
Works
The solution:
I had a cloned actor, SCORES.0 and SCORES.1, which caused the bugs. I simply added a switch(cloneindex) and case 0 to determine the transition.