02-21-2004, 08:42 AM
how can i make a color gradient like that buy using this
Code:
OUT &H3C8, color
OUT &H3C9, #
OUT &H3C9, #
OUT &H3C9, #
Color gradient
|
02-21-2004, 08:42 AM
how can i make a color gradient like that buy using this Code: OUT &H3C8, color
02-21-2004, 08:45 AM
Sorry, I don't quite understand what you are asking. You seem to know how to change the pallate.
02-21-2004, 09:14 AM
Code: OUT &H3C8, ColorToEdit%
hrist Jesus came into the world to save sinners, of whom I am first.(I Timothy 1:15)
For God so loved the world, that He gave His only begotten Son, that whoever believes in Him should not perish, but have eternal life.(John 3:16)
02-21-2004, 09:38 AM
Quote: I just thought of something... If each color has 64 different values, then there are 262144 different colors, a bit more than 256... does that mean that there can only be 256 colors in the pallate at once? If that is the case, are pallate swapping tricks used often?
02-21-2004, 12:35 PM
i cant get it to come out like in the picture, all the lines i draw change their color to the new values of OUT &H3C9. so it's all one color.
02-21-2004, 01:46 PM
PlayGGY you're absolutely correct.
Diroga, which screen mode are you talking about? If its screen 13 you have 256 colors while in screen 12 you have only 16 colors. Could you post the code?
02-21-2004, 02:52 PM
Code: SCREEN 13 Output will be a black box on black background, changing the palette changes all colors already drawn on screen as well as the ones going to be drawn. Code: SCREEN 13
02-21-2004, 05:45 PM
Diroga: To get the gradient you want try this. Also try to learn how I use it.
Code: SCREEN 13
02-22-2004, 07:29 AM
thanks dark, it makes sence now. i was learned that you had to do it like
Code: SCREEN 13 Code: OUT &H3C8, col
02-22-2004, 01:29 PM
Quote:or some thing. so i a bit confused why you have [code]OUT &H3C8, col The OUT &HC38 sets the color you are modifying. So what it does is tells the computer the color whose RGB values you want to change and the subsequent OUT statements actually change the RGB values. |
« Next Oldest | Next Newest »
|