03-31-2023, 07:37 PM
Hi, I hope you're fine
I have a suggestion for the engine. We can change the size of the window to 1x, 2x, 3x, 4x and 5x. But as far as I know, we cannot change the size on runtime. Is it possible to do this? If yes, it would be a nice idea to have this feature.
Another suggestion is being able to limit FPS on Tilengine. VSync is nice, but the problem is some people (me for example) have a screen with an higher refresh rate (my screen is 144Hz), so, the game will run faster. I can limit the FPS manually with something like sleep(); but wouldn't the frame callback still be affected by the refresh rate?
I also have another question. Is it possible to use a shader with Tilengine (since SDL2 supports shaders) or do I have to use Tilengine as a slave renderer, then use the raw pixel data generated by Tilengine as a texture?
Thanks a lot for your answers!
I have a suggestion for the engine. We can change the size of the window to 1x, 2x, 3x, 4x and 5x. But as far as I know, we cannot change the size on runtime. Is it possible to do this? If yes, it would be a nice idea to have this feature.
Another suggestion is being able to limit FPS on Tilengine. VSync is nice, but the problem is some people (me for example) have a screen with an higher refresh rate (my screen is 144Hz), so, the game will run faster. I can limit the FPS manually with something like sleep(); but wouldn't the frame callback still be affected by the refresh rate?
I also have another question. Is it possible to use a shader with Tilengine (since SDL2 supports shaders) or do I have to use Tilengine as a slave renderer, then use the raw pixel data generated by Tilengine as a texture?
Thanks a lot for your answers!