Frame skip issues

Hi there i wanted to point out that the hickup caused in my Project seems not to ocur because of my game but rather seems to be in the original source aswell. I had copied from GdevApp a runner game template and converted into a GDevelop Project and stated building upon that one. It seems the original template has this hickup aswell.
What can be done about it ?

gdevapp.com/play.html?g=580cf35 … c0d77d9a8f

See the frane skip kinda problem ? I believe it has something to do with the platform creation part which randomly generates a platform but eventually stays in the memory. I you use destroy outside screen it kills all of it off think maybe additional borders might help ? Anyway i really would appreciate it if you would have a look at it. Just because of this i keep my game waiting on the line… And lastly is there a example code for a on screen dragable 8 way joystick or so couldn’t pull that one off too i am making shootem up levels but have to stick with a 4 way joypad which does not work out so well for ship control. Anyway thank you very much and wish you a good day…

Your url doesn’t work.

Oh sorry didn’t realize it got shorten here is the correct one ;

gdevapp.com/play.html?g=580cf35 … c0d77d9a8f

I don’t know what exactly is the problem but it looks smooth. Tried both on my phone and pc.
It is slower on my phone but I don’t see frame skip you mentioned.

Hi there when you look carefully at the clouds or the platforms they stutter for a second every 2 seconds or so.
This is much more notable if you have hires gfx and lot going on it becomes very visible and annoying.

Yeah, maybe slightly. But still it is much better than the platformer I’m making.

By the way, have you tried change the positions of platforms instead of creating new ones?

Edit*
It seems when the scrolling speed is fast enough, the stutter is also gone.

Nope didn’t try to change position of platforms how exactly could that be done ? Anyway i also tried messing around with fps settings and vsync but didnt help much also when it speeds up yes becomes less notable but only in that one but if you have a full gfx chaos going around it screams im here :slight_smile: Anyway thank you very much for the help seems there is no solution for it :frowning:

Oh ps do you know or have a example code of a dragable onscreen joystick ? Like the ones you see in shootem up kinda games ? I have looked here on the forums but no luck so far. There is one that uses external javascript but didn’t work for some reason :frowning:

I’m wondering if it might be a bug with the platformer behavior or a compatibility problem between the libs (SFML, Pixi.js, Cocos2D.js) and new drivers and gpu or something.

Since I’m experiencing the same frame skipping problem also with the Endless Runner template, I was wondering If I’m experiencing the same if I download the project from GDevApp and export it from GDevelop.
In both native and HTML5/Pixi.js export I can notice the frame skipping just like with GDevApp but with Cocos2D.js export the game is almost unplayable on my config :astonished:
It is not only skip a frame or two but the screen technically freeze for a second every 2 seconds or so.

4ian and Victor should look in to this if not already…

I’ve been experiencing the same frame-skip issues even with a code as simple as this:

It doesn’t just affect the camera movement, but also the particle system and the animations. I’m running Windows 10 on a fairly good machine.

Hope you guys can fix this when you have the time.

It’s this not related to V sync not enabled ?

No, it happens whether it’s enabled or not, though it’s less pronounced when VSync is on.

imgur.com/a/akQp5

It’s hard to notice due to the frame rate of this gif, but periodically there’s a short freeze.

Here’s the link to a test project. Simple 2 layer parallax, use Left/Right to move camera. Notice the periodical frame-skip. VSync is enabled.

dropbox.com/s/jv69fj6ish0auo7/MCTC.rar?dl=0