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:
With Form1
.AutoRedraw = True
.KeyPreview = True
.PaintPicture Char.Picture, iX, iY
End With
'Paints the Character
Form1.PaintPicture Char.Picture, iX, iY
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 :)
Re: No white border! Transparency Problem.
Convert it to icon if not too big.
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?
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 ...