Thread: Sprites n Allegro

  1. #1
    Registered User
    Join Date
    Jun 2002
    Posts
    75

    Sprites n Allegro

    How can I make that a the background of a sprite drawn using draw_sprite() doesnt show on the screen?? I have certain pcx that I use as sprites but the background(white) shows as part of the sprite and I dont want that!
    ---Programming is like roaming, you never know where you'll end at------

    If 'here' is pronounced as 'hear', why 'there' isnt pronounced as 'dear'??

    [email protected]

  2. #2
    Registered User
    Join Date
    May 2002
    Posts
    208

    I think

    I think that u have to have the back ground color a certain color and draw_sprite will leave it out. I think it is red 255 green 0 blue 255 it is the brightest pink. I am not entirly sure though
    Jeff Paddon
    Undergraduate Research Assistant
    Physics Department
    St. Francis Xavier University

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. making sprites
    By DavidP in forum Game Programming
    Replies: 9
    Last Post: 02-20-2010, 07:00 AM
  2. Game Programming FAQ
    By TechWins in forum Game Programming
    Replies: 5
    Last Post: 09-29-2004, 02:00 AM
  3. double buffering for allegro
    By Leeman_s in forum C++ Programming
    Replies: 6
    Last Post: 09-12-2002, 02:45 PM
  4. Special Allegro Information
    By TechWins in forum Game Programming
    Replies: 12
    Last Post: 08-20-2002, 11:35 PM
  5. + Sprites n allegro
    By Paninaro in forum Game Programming
    Replies: 3
    Last Post: 07-07-2002, 03:15 AM