Results 1 to 4 of 4

Thread: No white border! Transparency Problem [RESOLVED!]

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2001
    Location
    Texas
    Posts
    299

    Unhappy No white border! Transparency Problem [RESOLVED!]

    Im working on a game in a sense, More or less just a project to kill time! I have the character walking around the screen ( Collision detection isn't working need help there to Link ) But this is more of a general question thats why it is here not in the game section. My current code is this so you can get an idea:

    VB Code:
    1. With Form1
    2.         .AutoRedraw = True
    3.         .KeyPreview = True
    4.         .PaintPicture Char.Picture, iX, iY
    5.     End With
    6.  
    7.     'Paints the Character
    8.     Form1.PaintPicture Char.Picture, iX, iY
    9.     Form1.PaintPicture book.Picture, iXbook, iYbook

    I have a problem with my .gif file not being transparent. What can I do without getting very complicated?

    *Thanks for the help! Solid advice
    Last edited by Phade; Feb 19th, 2005 at 11:32 PM.

  2. #2

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2001
    Location
    Texas
    Posts
    299

    Re: No white border! Transparency Problem.

    How would i do that? And how would that help?

    Its a pretty small picture. Also is there any other thing I could possibly try?

  4. #4
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: No white border! Transparency Problem.

    How would you do that? - get some icon editor like Microangelo (best out there) www.microangelo.us. There are also plenty of freewares and sharewares available.

    How would that help? - windows icons support transparency and are very easy to handle in oppose to gif and jpeg type of images (VB doesn't really handle them good enough - especially when image moves it starts flickering).

    Is there any other thing? - there sure is but this is the simplest way ...

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