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.

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
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.
Posts: 601
Reputation: 43,669

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.....
My in work shmup game CYBERSTORM DEVLOG - "That Terminator is out there. It can't be bargained with. It can't be reasoned with. It doesn't feel pity, or remorse, or fear. And it absolutely will not stop, ever, until you are dead"
Posts: 434
Reputation: 8,910

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 13 guests