Skempi Posted November 14, 2003 Posted November 14, 2003 Hi guys, i'm creating a verry simple game, but somehow i'm not able to use transparant images, the places that should be transparant turn black.. i used gif files and png files, any thoughts on how to solve this? http://users.pandora.be/skempi/transparancy.jpg Quote
Skempi Posted November 15, 2003 Author Posted November 15, 2003 Commo'n nobody that can come up with an answer? I'm stuck here... Quote
Administrators PlausiblyDamp Posted November 15, 2003 Administrators Posted November 15, 2003 Have you tried setting the transparency key for the form? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Skempi Posted November 15, 2003 Author Posted November 15, 2003 What is the transparancy key for the form? Is it something like windows.forms.form.transparancy? Can you give me some more information about that? Quote
Administrators PlausiblyDamp Posted November 15, 2003 Administrators Posted November 15, 2003 Whoops - misread your original post. Are you using picture boxes to display hte images or drawing them direct onto the form? the following may be of help http://www.xtremedotnettalk.com/showthread.php?s=&threadid=77894&highlight=trans%2A+form http://www.xtremedotnettalk.com/showthread.php?s=&threadid=70058&highlight=trans%2A+form http://www.xtremedotnettalk.com/showthread.php?s=&threadid=75335&highlight=trans%2A+form http://www.xtremedotnettalk.com/showthread.php?s=&threadid=77734&highlight=trans%2A+form http://www.xtremedotnettalk.com/showthread.php?s=&threadid=68906&highlight=trans%2A+form Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
*Experts* mutant Posted November 15, 2003 *Experts* Posted November 15, 2003 Are you sure its transparent? GIF images that have transparency, automatically draw with transparency for me, both in PictureBox and usig the Graphics object. Quote
Skempi Posted November 15, 2003 Author Posted November 15, 2003 well i dind't for me, but this link helped me out.. http://www.vb-helper.com/howto_net_maketransparent.html the above link solved mine problem, thanks for the help guys :) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.