Hello
I want to copy this tutorial's wheel and event sheet, ( https://www.scirra.com/tutorials/816/to ... ring-wheel )but when i try to paste event to my project, system says "Parameter specifies event variable "ang" which does not appear to be a variable within its scope"
And when i paste first global variables, and then other events, wheel doesn't turn <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad"> Can someone help?
Thanks in advance
Post your capx
Here it is
Oh right. I wanted the one that you tried and the wheel wouldn't turn for you, but I'll have a look.
Develop games in your browser. Powerful, performant & highly capable.
One thing, it's looking for touch events on layer "wheel". Change Layer 3 to be Wheel
Oh Thanks
Hey
I can turn the wheel now, but the car only simulates right, not left. Can you have a look at it?
Sorry man no time now. Add a Browser object and Log something at each event (e.g. angle value).. you will work it out.
Okay thanks anyway
Try this
Wow! It worked, thanks a lot
because some events capx are deleted with a line?