The Godot Q&A is currently undergoing maintenance!

Your ability to ask and answer questions is temporarily disabled. You can browse existing threads in read-only mode.

We are working on bringing this community platform back to its full functionality, stay tuned for updates.

godotengine.org | Twitter

+1 vote

Hello,

My game (which is mostly made out of 2D frame by frame animations) is lagging when playing. I am trying to optimize the project settings but I don't know which options would make the game run smoother...

for example, what does that means ? :

"disable Stdout"
"Framebuffer allocation :   2D without sampling"

is there a guide somewhere that goes through the different options in the project settings ?

thanks !

in Engine by (248 points)

Actually, the game wasn't lagging at all ! I used "printfps" (project settings > debug > settings > print fps) and it showed me the game was running at 60 fps. My animations are supposed to run at 12.5 fps, so it was way fast enough.

Then I saw that I could speed up my animation speed :

animationplayer sprite's settings > playback options > speed

So, the fps shown in the animated sprites' SpriteFrames is not used at all ?
In the animationplayer's sprite settings, I can speed up or speed down my animations, but how many fps is speed 1 ?

It's quite confusing, really... :/
(PS: I'm an animator, not a programmer)

1 Answer

0 votes

I asked on the IRC. There ain't such a guide....... yet.
But all I can tell you is turn Vsync on. It reduced the lag on my game.

As for the options you asked, search them online you will find the answer.

by (420 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.