|
Post by dottygame on Jan 4, 2021 22:29:30 GMT -6
How can we create and use 2 windows at the same time in RCBasic? And the game-loop (while- wend) will belong to which one?
|
|
|
Post by n00b on Jan 5, 2021 0:01:03 GMT -6
You can use WindowOpen() to open up multiple windows and Window() to switch between the different windows. There is a max of 8 windows available which are numbered 0 to 7.
Try out the window test example. Its located in examples\gfx\WindowTest.bas
When you run it, just press enter to make some text appear in the active window. It will switch which window is the active window based on which window has focus.
|
|
|
Post by dottygame on Jan 5, 2021 8:33:25 GMT -6
THANK YOU, n00b!
|
|