quellus / GDTuber

A dynamic PNGTuber program made in Godot
MIT License
21 stars 11 forks source link

Add FPS Cap #149

Closed starlightlacuna closed 1 month ago

starlightlacuna commented 1 month ago

This PR adds an FPS cap feature.

By default, GDTuber will run with an uncapped FPS. This can cause performance issues, especially for slower PCs. Limiting the app's FPS can alleviate these issues.

Note: Changing the max FPS affects ALL aspects of the app, not just the avatar animations! This includes the audio processing and app responsiveness. As a result, the MaxFPSSpinbox node has a minimum value of 15. This value can be changed, and we can add another validation check in the _on_max_fps_spinbox_value_changed method if needed.

gdtuber_fps_cap

quellus commented 1 month ago

Created a new PR #150 updated and tweaked a few things