Fangames > Programming Questions
More Spinning Cherries
MLSTRM:
So this is another simple fix, and probably comes from the fact that studio acts differently to gm8/8.1
When in studio you have to set a variable to true or false, whereas in older versions it defaults to false.
The fix would be to do the following:
After "if orbitRadiusMax > orbitRadius { orbitRadiusDec = true }" add "else { orbitRadiusDec = false }"
and
After "if orbitRadiusMax < orbitRadius { orbitRadiusInc = true }" add "else {orbitRadiusInc = false }"
(Apologies I don't know how to do code formatting here and the button seems broken for me)
Loilkas:
Thanks guys, its working now.
Sorry for my ignorance when it comes to coding.
Kyir:
It's okay. No one starts knowing everything. Learning to read error messages is very useful though. I recommend looking at this in the future to see if you can figure it out: https://docs.yoyogames.com/source/dadiospice/002_reference/debugging/runner%20errors.html
Navigation
[0] Message Index
[*] Previous page
Go to full version