How am I supposed to keep the variables in my game from overloading? I use them a lot for the usual stuff like scoring & health, among other things, but it keeps on locking overloading! :(
Soor, scratch "locking" <img src="smileys/smiley5.gif" border="0" align="middle" />
thats my problem too
Develop games in your browser. Powerful, performant & highly capable.
I don't understand what an overloading variable is. Can you explain?
It's basically the stuff that can keep track of a certain number, usu. used , like I said before, for health, score & time limits. If you go to an object's properties, and click add variable, you should probably see what I mean.
When it overloads, you will see problems like things not "dying" when they should, and your score not going up. Sorry 'bout the above reply, I misunderstood the question. <img src="smileys/smiley29.gif" border="0" align="middle" />
I've never seen a variable overload, that is why I am so curious about the question. Can you create an example CAPX of this happening?
I'll try to set one up for you within a week. I'll be busy with my first game, so it may be a pretty simple example, unless they already fixed the problem.
I would be very interested also. I never heard of overloading variables before. I would love to learn about it.
I think he should include separated events.
you will see problems like things not "dying" when they should, and your score not going up. Sorry 'bout the above reply
I think he is just doing something wrong in his code
Sorry guys, tested it out on a new project, no sign of overloading, guess they fixed it. I'll try to find one of my older examples...
You know what, that's exactly what I was doing! I figured that out a few months ago, but forgot the trick I learned to keep it from happening. <img src="smileys/smiley6.gif" border="0" align="middle" />
As in separated event sheets? Yeah,I figured out that was the problem, putting all of the levels' script on one event sheet. If you guys want, I can still post the .capx with the problem, but I hope this wraps it up: Don't put all of your game levels' code on one event sheet!