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.

2D All the way! / ink & cls?

Author
Message
Hugh
21
Years of Service
User Offline
Joined: 22nd Sep 2002
Location:
Posted: 23rd Sep 2002 04:11
Hi - I'm having trouble setting the background color. Here's what I'm trying:

backgroundcolor = rgb(204,255,255)
ink backgroundcolor, backgroundcolor
cls

Beyond that, I hope to get familiar with DBPro by creating something a bit like Asteroids. Any references to related sample code or techniques would be greatly appreciated.

Thanks for any help,

Hugh
indi
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 23rd Sep 2002 05:22
try something like


cls rgb(r,g,b)

change the rgb values to whatever u feel
indi
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 23rd Sep 2002 12:11





I think maybe the zero was the mistake in your code after looking again.
Hugh
21
Years of Service
User Offline
Joined: 22nd Sep 2002
Location:
Posted: 23rd Sep 2002 18:44
Thanks much!

Looks like going by the DBPro help system/manual is going to create some snags. Should I report such inconsistencies to someone?

Hugh

indi
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 24th Sep 2002 04:07
Sure Hugh,

There is a bug reports link at the top of this website.
Alternatively u can email one of the boys at DarkBasic.
indi
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 24th Sep 2002 08:28
lol Im in another forum haha oops sorry there isnt one here.

haha lol

Login to post a reply

Server time is: 2024-04-25 17:50:06
Your offset time is: 2024-04-25 17:50:06