Hey! raylib forum is closing!

After a year with not much movement in the forum I decided to close it.

The cost of maintaining the hosting is a bit high for the usage of the platform, updating the forum and managing it is also a bit cumbersome and the truth is that I'm already trying to maintain multiple other networks pretty more active than this forum.

I'll recommend you to move to the other raylib networks:

- For a forum style, use Reddit: https://www.reddit.com/r/raylib/
- For direct messaging and questions, use Discord: https://discord.gg/VkzNHUE
- To report issues, use GitHub: https://github.com/raysan5/raylib

- Also, remember you can contact me personally on Twitter: https://twitter.com/raysan5 or directly by mail to ray[at]raylib.com

If you feel generous, you can also contribute to the project on my Patreon: https://www.patreon.com/raylib

Thanks to you all for joining the project and help to improve it with your questions. Keep it up! :)

Best Regards,


PD. Closing will be effective by October 31th.

Stutter when rendering moving objects


I've made a simple program where a square moves and bounces in the screen. At low speed (i.e 1 pixel per render loop) the square moves smoothly. But at higher speeds rendering will start to "stutter".

Since raylib asks you to set the framerate I assume that the render loop is automatically controlled. Is there a non-hacky way to take control of that and make my own render loop algorithm?


  • Ok, just in case another newcomer stumbles upon this thing.. You can check the source and see that code in BeginDrawing and EndDrawing functions is pretty straightforward. If you want to take control of the render loop in your own terms just make your own functions for BeginDrawing/EndDrawing. That's what I will end up doing.
  • hey rixarn! sorry, I miss your message! You're right, BeginDrawing/EndDrawing is quite straightforward.

    You can also avoid SetTargetFPS and control timming yourself inside the loop, at the end.
  • Don't worry, thanks your writting back :)
Sign In or Register to comment.