This happened in 1.2 beta: The sprite would randomly go somewhere not in the script, like an invisible script. Now 1.2 is doing this. The sprite that assigns the starting X and Y hides, so it can't reassign them, and the car, the mess-up one with the "invisible script", only has 1 piece of script that tells it where to go: To Starting X and Starting Y. And that isn't in a forever block!
My problem is, it now randomly goes somewhere. I checked the starting variables, and they hadn't changed, but they car went haywire, disappearing and reappearing somewhere else!
Offline
Put a Play Sound in every script that sets Starting X and Starting Y so you can hear when they are being set. Possibly they are running more often then you think.
In other programming languages, with better debuggers, you would set a Watch on those variables so you could see exactly which line of code was changing the values. In Scratch, you have to get a bit creative!
Offline
andresmh wrote:
I'm curious. Why are you using 1.2 Beta? The recommended version is 1.2.1
I like messing around with the old versions. Fun seeing the changes that took place. Plus i wanted to use the comment block
Offline