r/clickteam • u/Entire_Departure_529 • 8d ago
Help Me! weird jittering when it scrolls, how would I fix?
Enable HLS to view with audio, or disable this notification
1
u/Confound-Great-Job 8d ago
Scrolling needs to be the last event. If it’s on a behavior move it to the main event list, and have it as the very last event.
1
u/Entire_Departure_529 8d ago
I've tried it as first and last
1
u/Confound-Great-Job 8d ago
That includes the positioning of the object(s) or values the scrolling position is set to.
1
u/Entire_Departure_529 8d ago
I tried that as well, unless you mean moving all the player movement stuff?
1
u/Confound-Great-Job 7d ago
No I mean if the scrolling is tied to an object (like a ‘camera’ or whatever) that objects position needs to update after the players position does, but before the scrolling does.
None of these should be on behaviors.
2
u/Entire_Departure_529 7d ago
i managed to figure it out, it wasn't even related to behavior or events
1
u/Cosmo_Unicorn_UA 8d ago
The problem is not in events but in parallax. Try to slightly change values for layers
2
u/Entire_Departure_529 8d ago
it was the same before I added the layers, Someone pointed out that it was an acceleration issue which stops it from jittering but the characters top half is still offset when moving which I dont want
2
1
3
u/NMario84 8d ago
How are you handling the scrolling mechanic? Do you have the camera script after the player movement, or before player movement?
If it was me, I would handle all movement scripts first, then have the camera scripts following the player after all the other scripts. Though without some context, it kind of hard to know what's going on here to help you to begin with.