Tapping move changes the angle: Help?

Get help using Construct 2

Post » Sat Jun 14, 2014 5:29 am

Hello! So I'm attempting to use Hexels in an upcoming project, and I'm running into a bit of a snag.
8-directional movement will set the character on 45 degree paths of movement, when pseudo-isometric angles are closer to 30. I've determined the exact angle that Hexels is set at, and am now using the Custom movement behavior to move the character at that exact angle.
When I move along long stretches, it stays lined up with the angle (I think).
However, when I tap any of the movement keys repeatedly, it offsets itself by a bit so it's no longer moving at the right angle. It's noticable enough that even switching keys to change direction makes it happen.
Does anyone know why it may be doing this, and a way I can maybe make it stop?

Here's a .capx: https://drive.google.com/file/d/0BzlFHd ... sp=sharing
There's no collision yet so all you can do is run around.

Thanks!
B
19
S
5
G
1
Posts: 96
Reputation: 2,710

Post » Sun Jun 15, 2014 12:11 am

I am not sure why this happens, but moving the costumMovement set angle action to when isMoving or as an else on you keysNotDown event solves this problem.

isometric.capx
You do not have the required permissions to view the files attached to this post.
Image
B
80
S
30
G
12
Posts: 517
Reputation: 12,713


Return to How do I....?

Who is online

Users browsing this forum: Lancifer and 38 guests