windowedscreen...

Just starting out? Need help? Post your questions and find answers here.
Skipsy
User
User
Posts: 98
Joined: Wed Apr 30, 2003 12:26 pm
Location: France

windowedscreen...

Post 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
Beware of the man who has the solution before he understands the problem...
Fred
Administrator
Administrator
Posts: 18351
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

You're right.
traumatic
PureBasic Expert
PureBasic Expert
Posts: 1661
Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:

Re: windowedscreen...

Post by traumatic »

what do you need more than one screen for?
Good programmers don't comment their code. It was hard to write, should be hard to read.
Skipsy
User
User
Posts: 98
Joined: Wed Apr 30, 2003 12:26 pm
Location: France

Post 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
Beware of the man who has the solution before he understands the problem...
LarsG
Enthusiast
Enthusiast
Posts: 713
Joined: Mon Jun 02, 2003 1:06 pm
Location: Norway
Contact:

Post 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

AMD Athlon XP2400, 512 MB RAM, Hercules 3D Prophet 9600 256MB RAM, WinXP
PIII 800MHz, 320 MB RAM, Nvidia Riva Tnt 2 Mach 64 (32MB), WinXP + Linux
17" iMac, 1.8 GHz G5, 512 MB DDR-RAM, 80 GB HD, 64 MB Geforce FX 5200, SuperDrive, OSX
Post Reply