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 / Please could you help a newbie with this simple question..

Author
Message
HB Productions
21
Years of Service
User Offline
Joined: 7th Apr 2003
Location:
Posted: 7th Apr 2003 22:55
Hi. I've just got DarkBASIC and really can't figure out how to change the background colour from that annoying blue colour.

There will probably be a simple code like MAKE BACKGROUND NOT ANNOYING BLUE or something like that, but I'm a simple guy

Thanks in advance,
Greg.
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 7th Apr 2003 23:09
Just put this at the top of your program:

backdrop on
color backdrop rgb(0,0,0)

Then it'll be black!
HB Productions
21
Years of Service
User Offline
Joined: 7th Apr 2003
Location:
Posted: 7th Apr 2003 23:23
Thanks! I'm not a 100% newbie now!!

PokeSmot
21
Years of Service
User Offline
Joined: 13th Mar 2003
Location: United States
Posted: 8th Apr 2003 05:14
whats the difference between that backdrop command and the set gamma command?
HB Productions
21
Years of Service
User Offline
Joined: 7th Apr 2003
Location:
Posted: 8th Apr 2003 21:10
The set gamma command sets the whole screen colour, so you could flash the screen with white, or fade the screen to black. The background command simple sets the background colour of your screen, so you can have a normal coloured sprite with different coloured backgrounds.

John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 8th Apr 2003 23:44
If you want a realistic sky then you may want to check out the demos that come with DB (like the Jetski demo) and learn about skyspheres.

Cheers

RPGamer

Current Project: Eternal Destiny
Tech Demo - Colan Island: Currently 716 Lines

Login to post a reply

Server time is: 2024-11-24 09:27:05
Your offset time is: 2024-11-24 09:27:05