I have a sprite I intend to move via the 8direction behavior. I'd like to accelerate that sprite at a given angle for (enemy) movement (e.g. at a 10 degree angle)
Doesn't work properly, the sprite does not move at a 10 degree angle, instead it goes straight ahead.
I have another sprite that I wanna impact by an explosion. The explosion also accelerates the sprite at a 10 degree angle (e.g. based on the position to whatever exploded).
Doesn't work as I'd expect, the sprite only briefly moves in the correct direction, then moves straight ahead instead of at the 10 degree angle.
It's pretty obvious to me that this happens because the deceleration is applied horizontally and vertically, and not in the opposite direction of the velocity. But I do wonder if this is correct and intended. In any case, it's quite annoying and I have yet to figure out the formula to manually decelerate them the way I want to.
c3p if you wanna check it out
wackytoaster.at/parachute/8dirproblem.c3p