Trouble with custom platform movement

For questions about using Classic.

Post » Tue Mar 22, 2011 12:01 am

Wow this is a great platform engine. Thanks a lot R0j0!

ONE MORE THING, then I'll never ask about platform engines ever again :wink: The reason I rounded the player's position is because it results in smoother movements and scrolling. For whatever reason, even though you rounded the player's position, it's movements and scrolling are still "jaggy". Swap the actions in event 32 and you'll see how much smoother it is. Again, this 'breaks' the platform engine when in unlimited framerate mode, so I'm assuming it might not work for some people. Is there anything I can do about this?
Image
B
225
S
27
G
13
Posts: 1,774
Reputation: 18,024

Post » Thu Mar 24, 2011 4:17 pm

By reversing the actions in event 32 fine changes of movement aren't remembered. In which case unlimited framerate will not work because any small changes in motion will be rounded out, so the object won't move. One thing you could try is use "int" instead of "round" and see if that reduces the jagginess.
B
79
S
24
G
54
Posts: 4,746
Reputation: 40,755

Post » Thu Mar 24, 2011 4:43 pm

:T No luck. Int() seems to have the exact same effect as round().
Image
B
225
S
27
G
13
Posts: 1,774
Reputation: 18,024

Previous

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 3 guests