Troubleshooting and Bug Fixing


Yesterday I came back after the half term with a game that didn't even run anymore. I had multiple problems with syntax and the code being completely wrong. So for most of the morning, I sat and looked through all of my code and events for this one little thing. I used the debug mode to help me with my search. the error was one wrong number as can be seen below, this number is looking for an argument in script command. 
As you can see the if statement is looking for argument 0, but so is text, and "spd" needs to be an integer. So I changed it then proceeded to carry on with my work.

Comments