8DirectionMovement needs Rotation Speed

Discussion and feedback on Construct 2

Post » Tue Apr 16, 2013 8:21 am

I really enjoy how simple 8DirMovement has allowed us to easily assign controls with a single behavior, but the rotation speed is a bit ridiculous, especially if playing on a mobile on-screen joystick.

Try my game on a mobile (currently having multitouch issues though) and you'll see how fast the ship turns.

Is there any way we can set the rotation speed for 8DirMovement?
Project Lead of Zems Online Card Game

Producer at Impulse Limited
B
18
S
6
G
3
Posts: 677
Reputation: 5,194

Post » Tue Apr 16, 2013 7:44 pm

As far as I can tell 8DirMovement just sets the angle to the direction of motion. If you want to control the speed of rotation set the "set angle" property to "no" and make an event like this:
[code]every tick
--- sprite: rotate 100*dt degrees toward self.8Direction.MovingAngle[/code]

Just change 100 to whatever speed you want. It's in degrees per second.
B
79
S
24
G
54
Posts: 4,747
Reputation: 40,757


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 9 guests