Repository navigation
Replies: 1 comment
|
Perhaps it would be more clear to have BeginWindowDrawing and EndWindowDrawing and not reuse BeginDrawing and EndDrawing. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
The main raylib API is not conducive to multiple windows. The game loop, timing, and input are all tied to InitWIndow and Begin/EndDrawing. This doesn't work for multiple windows.
Optimally multiple windows would need a different API that would not be compatible with the current simple raylib API.
Decouple window from game loop
Add API functions
A simple game loop with multiple windows could then look like this
All reactions