|
-
Feb 9th, 2001, 09:04 PM
#1
Thread Starter
Member
1. How do I change the palette back after I loaded bmp and when i loaded it the palette was changed.
2. How do I stop flickering when I use get and put to move an object?
3. How do I make a dir list box?

- Sk
-
Feb 15th, 2001, 08:13 PM
#2
what r u talking about... qB?
-
Feb 16th, 2001, 04:42 PM
#3
Thread Starter
Member

- Sk
-
Feb 17th, 2001, 09:39 AM
#4
Lively Member
palette
You may usthe PALETTE function to change the palette values.
syntax:
PALETTE Color(0 to 255 in screen 13),NewColor
NewColor is a LONG variable that contains the RGB Color
but you can only use 262144 Colors.
(That means tha the maximum value of red,green or blue is not 255 but 64.)
To get the color value use this:
red + green*256 + blue*65535
the valiables red,green and blue contains a value between 0 and 64.
For example 64 + 64*256 + 64*65535 returns white.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|