Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Camera View Background ô¿ö

Author
Message
Yekoms
18
Years of Service
User Offline
Joined: 6th Dec 2005
Location: Deep inside FUNCTION BlueSkys
Posted: 25th Apr 2006 15:11
I'm in the last chapters on the "Beginners Guide to DarkBasic" in the chapter that covers the camera views and how to place different angle views on the screen.
I can give the Camera 0 (ie. the screen view) a color for the background, but when I display the other camera views to a specific part of the screen, usually along the top, their backgrounds are always green.
Is this defalt and is there any way to have them display the background color specified at the start of the source code where I give the background a color?
Just trying to understand how works.
Thanks,
DLVinNC

Keep'em Movin
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 25th Apr 2006 16:02
Correct. Default backdrop colour for additional cameras are green.

Take a look at help for COLOR BACKDROP (type it in editor and hit F1)

It tells you;

COLOR BACKDROP Color Value
COLOR BACKDROP Camera Number, Color Value

so if you don't specify camera number, it will change current cameras backdrop color, usually camera 0

but if you specify a camera number aswell, you can change that horrid green to whatever you want.

Boo!
Pincho Paxton
21
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 25th Apr 2006 17:58
I didn't know that there was more than 1 camera in DB Pro. That's a good addition.

RUCCUS
19
Years of Service
User Offline
Joined: 11th Dec 2004
Location: Canada
Posted: 26th Apr 2006 01:13
There's always been the ability to create more cameras, since... forever

Pincho Paxton
21
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 26th Apr 2006 09:48
I meant a good addition to DB Classic.

Yekoms
18
Years of Service
User Offline
Joined: 6th Dec 2005
Location: Deep inside FUNCTION BlueSkys
Posted: 26th Apr 2006 14:45
Thanks for the help.
This forum has always been helpful.
DBP rules!
ô¿ô

Keep'em Movin

Login to post a reply

Server time is: 2024-09-24 21:31:30
Your offset time is: 2024-09-24 21:31:30