4ian / GDevelop

🎮 Open-source, cross-platform 2D/3D/multiplayer game engine designed for everyone.
https://gdevelop.io
Other
10.81k stars 848 forks source link

Add an action to change the maximum and minimum FPS. #5362

Open fizzingpop opened 1 year ago

fizzingpop commented 1 year ago

Description

FPS can only be configured globally. It is impossible to change the maximum and minimum FPS values using variables. This would be useful so we can have gameplay run at 60 while demanding cutscenes run at 30FPS. It would also give us another option to present to players in a game's graphics menu.

Solution suggested

Add an action to change the maximum and minimum FPS.

EDIT:

I submitted an extension for approval that does this: https://github.com/GDevelopApp/GDevelop-extensions/issues/982

jayare5 commented 1 year ago

I was just about to ask for this too! I want to be able to make 3D scenes run at 30 fps or lower to make it look more like older games did, while being able to switch to 60fps in 2D menus. Edit: Actually I just realized it would be best if it was controllable per layer, so we could have 3D games running at lower fps, while the UI elements stay smooth at 60 fps.