Results 1 to 4 of 4

Thread: Many Questions Urgent!!!!!!

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2001
    Posts
    55

    Arrow

    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

  2. #2
    Guest
    what r u talking about... qB?

  3. #3

    Thread Starter
    Member
    Join Date
    Jan 2001
    Posts
    55

    !

    Qbasic
    In Screen 13

    - Sk

  4. #4
    Lively Member TB's Avatar
    Join Date
    Feb 2001
    Location
    Austria
    Posts
    106

    Lightbulb 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.
    mojo

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width