Page 1 of 1
windowedscreen...
Posted: Tue Jun 03, 2003 8:52 am
by Skipsy
Hi folks,
If I understand correctly, OpenWindowedScreen function does not
allow to have more than 1 screen (where sprites can be displayed)
per window.
Am I wrong ? or is there any tip ?
Thks,
ww
Posted: Tue Jun 03, 2003 10:29 am
by Fred
You're right.
Re: windowedscreen...
Posted: Tue Jun 03, 2003 10:43 am
by traumatic
what do you need more than one screen for?
Posted: Tue Jun 03, 2003 12:15 pm
by Skipsy
Damn'
I wanted 3 screens with their own coordinates... part of the same window.
OK, I have now to deal with my imagination.
thks
ww
Posted: Tue Jun 03, 2003 1:08 pm
by LarsG
Are you saying you want three "areas" on one screen to draw to??
Allthough I haven't done this is PureBasic, I believe you can create 3 new images (width respective width and height) and use the startdrawing() command and draw to the different imagebuffers...
maybe something like:
Code: Select all
Useimage(#buffer1)
StartDrawing(imageoutput())
... draw stuff here ...
Then you can draw these three images to the screen at the respective coordinates...
I don't know if I'm way off here, but that was the sollution that came to mind...
-Lars