Dark Basic
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
~When The Only Thing You Have Is A Hammer, Everything Looks Like A Nail.www.instinctz.net
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!]
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!]
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!]
[Resist Windows XP''s Invasive Production Activation Technology!]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement