View more

View more

View more

### Image of the Day Submit

IOTD | Top Screenshots

### The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.

# Dark Basic

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

4 replies to this topic

### #1stevelevesque  Members

Posted 23 August 2001 - 05:08 AM

In dark basic i dont understand How i can figure out the nmers on my own when i make boxs and other shapes. Your suposed to enter 4 numbers if you are trying to create a box and i have no idea how to mae the size of the box by entering the numbers. Box 10, 10, 630, 100 Also when i enter INK RGB(255, 100, 0), RGB(0,0,255) I dont know how peope can figure out the colors just by entering numbers is there a color key somewhere or do you just have to figure it out yourself. The last thing i have to ask is how much is a pixel. I cant figure it out because i have to enter the code Set cursor 123, 345 and i cant figure out how far around the screen each number is. Steve "When The Only Thing You Have Is A Hammer, Everything Looks Like A Nail" ~Phish

### #2Null and Void  Members

Posted 23 August 2001 - 09:23 AM

The basics of RGB coloring:

255, 0, 0 = Red
0, 255, 0 = Green
0, 0, 255 = Blue
255, 255, 255 = White
0, 0, 0 = Black
255, 255, 0 = Yellow
255, 0, 255 = Magenta
0, 255, 255 = Cyan

Now, just increase the 0''s, or decrease the 255''s to get colors in the middles. This is an extremely elementary concept, you should understand it before doing any real game development.

Pixels:
The screen is divided into pixels based upon its resolution. Most computer monitors will use a 4:3 ratio. For example, some common resolutions (Width x Height): 640x480, 800x600, 1024x768, et cetera. The coordinate 0,0 (in most cases when you''re measuring based on pixels) is in the top right corner. 0,479 (at a 640x480 resolution) is the bottom left corner. Et cetera. You should probably be specifically setting the number of pixels your game''s screen is at some point. Use that as a reference.

[Resist Windows XP''s Invasive Production Activation Technology!]

### #3Anonymous Poster_Anonymous Poster_*  Guests

Posted 23 August 2001 - 09:31 AM

what is dark basic?

### #4Null and Void  Members

Posted 23 August 2001 - 09:38 AM

Darkbasic is a horrible interpreted language for people who don''t feel like learning a real language and 3D API.

[Resist Windows XP''s Invasive Production Activation Technology!]

### #5Zidane  Members

Posted 23 August 2001 - 10:51 AM

Complete agree with Null and Void : try and create more than two cubes then the game comes to a stand still (even on an PIII800 128mb and geforce2).. i think it justs renders every polygon without even checking for polygons that dont need to be rendered.

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.