When the player is on a platform that has the rectangle movement behavior, the platforms starts to jitter. Also, on top of that, when the platform is moving vertically up the player is a little bit inside the platform. I don’t know if this is just a bug or just the behavior (that’s why I putted this in the “How do I…?” Section), but I also tried using, tweens, forces, and other behaviors. Here is a video showing it:
I don’t think it is my camera and resolution setup be just in case here it is:
Settings:
Scale mode: Nearest
Round Pixels when rendering
Fullscreen
Antialiasing for 3D: Never
Camera:
Smooth Camera Behavior with:
Catch up speed all at 1.
Maximum speed all 9000
All other settings 0
Camera Zoom: 4
The object pixel size is 16 width and 8 height.
Also, I made sure that I updated gdevelop and the behaviors.
Does anybody have a solution?
Your only reference is player and platforms here
Add some background
Also let’s see your events
Here is the behavior for the platforms and the character’s camera:
The platforms only use rectangle movement behavior, and do your mean all the events, or just the ones that deal with the camera, also the background is just always a white image.
I also changed the background to a different color and still got the jittering.
If this helps, the jittering only happens when the player is on the moving platforms.
I was assuming you are moving platforms with something in events and not behaviors
So how about you try to tween them?
In my first post I said that I tried it, though I tried it again and sadly it still was jittering . Any more ideas?
You use behavior to center camera on player or aciton?
So delete it and go with action to center camera on player and see if that change anything
Unfortunately, it didn’t work . Plus, nothing really changed. Any other suggestions?
You should try tween platform and action to change camera pos
Cause behaviors can run before events and that can cause jitter
Where via events you can manually change position of events
So you can put camera change above event to move platform
Or put camera change blow move platform
In my eyes it is same issue as when you change text position and below it you change text itself and you will also get jittering
Where if you put change text above change text position
It will be smooth
And you can see that kind of issue here
Top gif in my post is when text change is below position change of text
And it jitters
And that day i discovered that if you 1st put text change then below it change text positon
It will not jitter or to be precise flicker
I put the camera change above and then below, the tween platform, but still it jitters .
Then i am out of ideas and you should report a bug
BUT before that one last thing you can try is go to project properties and toggle round pixels its some option for pixel perfect games or whatever
I do not remember exact name but it was something like that
If that don’t change anything then just report a bug
I already had it turn on but, when I turned round pixels off, it doesn’t jitter anymore . Which is weird because it says to put this on for pixel perfect games, which my game uses pixel art using piskel, which is very misleading, but could pixel perfect be referring to something else
? Well, anyway thanks for helping me out for the past few days, all’s well that end well I guess
!
Edit: I can’t change the post’s name for some reason? I was going to make It [Sloved], but I can’t.
I am not sure but MAYBE what it is doing is placing pixels in some grid
And is not like rounding them visually but rounding their position and that is the effect