Jerky 'Scroll To' results?

Discussion and feedback on Construct 2

Post » Sun Aug 28, 2016 10:10 pm

Hi, I am making an RPG with my son and we have run into a weird visual issue where it seems the 'Scroll To' behavior is giving weird results. The only clues I have are that I'm using something wrong with either 'Scroll To', Pins, or 8Direction. The other thing is that I have a very large layout of 5000x5000. The full game is even bigger at 10,000x10,000. However, the layout size doesn't seem to make a difference with the severity of the jerkiness though when I was testing this..

I have linked my capx below which is a stripped down version of the full game. It's still showing the weird visual jerk movement though.

https://dl.dropboxusercontent.com/u/85970794/Jerking%20Movement.capx

Movement keys are 'W' = up, 'A' = left, 'S' = down, 'D' = right. If you move left and right or up and down, do you notice a jerking movement every few seconds? Do you know how to fix this?

Thank you in advance for any help
B
15
S
6
Posts: 17
Reputation: 1,927

Post » Sun Aug 28, 2016 11:19 pm

I can't recreate your problem, but looking at your capx, I see a lot of things running every tick that don't need to be.
for example, if A key is down, you are setting mirrored, setting an animation, and setting an angle - all every tick that A is down. all of those things only need to happen ONCE - the moment the A key is pressed.

A lot of those things running every tick will translate to your game slowing down and in some cases (setting the animation, for example) will cause things not to work the way you want..

So my advice is try separating the things that only need to happen once from the things that do need to happen constantly, and see if that helps.
B
86
S
43
G
71
Posts: 601
Reputation: 43,619

Post » Mon Aug 29, 2016 11:12 pm

had a look . no jerking or janking for me. looks like you may have updated the file since your original post tho.....
...
B
45
S
23
G
7
Posts: 291
Reputation: 8,020


Return to Construct 2 General

Who is online

Users browsing this forum: AnimH01, Refeuh and 14 guests