Is there a subsititue for "mod"?
"PegBit('Pos') Mod 360"
I believe 'mod' is modular math.
3x = 2 (mod 4)
Also, I'm having some issue figuring out a light dash movement. Light Dash is a Sonic which enables him to move a long a trail for rings.
[quote:27w8zzcy]% Modulus (remainder of division)
Thanks! Your so helpful.
Also...added a another question.
Custom movement behavior perhaps?
Change speed towards direction.
Set for a timed boost, and add, or accelerate for on collision.
Develop games in your browser. Powerful, performant & highly capable.
I could use it with the Physic Behavior?
You could do that probably, but gravity direction might be an issue.
I could disable the gravity if I comes to it.
Actually, it would great if I could have it move based on the angle of the object using the physic behavor.
To move a physics object at an angle, set the horizonal velocity to speed*cos(angle) and the vertical velocity to speed*sin(angle).