The Problem
Well, anyway, I have a project, here. As you can see, if you try to fire anything other than the small shell, it automaticly changes the shell type to the Small Shell. I have tried to debug it, but I can't find the source of this problem. Could anybody help me with this?
How to run the project:
As it's not finished, i haven't included instuctions. The button currently outlined in yellow is the artillery shell you are going to fire. Click on a shell button to buy one of them.
If anybody could do this, I will be very grateful and give them credit.
Offline
Ok, I found it. Its the bullet sprite's script. You have
if <<(shell) = (2)> and <(shells) > (0)>> do stuff else set [shell v] to (1) endImagine the shell variable is 3. The above boolean is false, right? So the "else" portion of the script is activated, setting the shell back to 1.
if <(shell) = (2)> if <(shells) > (0)> do stuff else set [shell v] to (1) end endHope this helps.
Last edited by Wes64 (2012-07-03 19:18:38)
Offline