• Advertisement

Archived

This topic is now archived and is closed to further replies.

Dark Basic

This topic is 5994 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement
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!]

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
what is dark basic?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

  • Advertisement