Page 1 of 1
Animation transparency troubles
Posted:
Mon Jan 30, 2006 8:59 pm
by unigamer
I have been trying to make a transparent GIF but cannot get it to work. I have both Animation shop and Photoshop elements. I can get the animation but I cannot find how to make it transparent. If I use the transparency slider the whole image turns transparent. Does anyone know what I am doing wrong?
Posted:
Mon Jan 30, 2006 9:04 pm
by Novice
GE uses the top left pixel for transparency, so if its white all white color in that animation will be transparent and so on.
You can also use images with alpa chanel like png and the like.
When you use 32 bit images GE dosent use the top left pixel for transparency.
Hope this helps you to solve your problem.
Posted:
Mon Jan 30, 2006 10:20 pm
by unigamer
Ah, I think I just about have it, thanks for the tip.
Edit: Yes, Indeed I have.
Posted:
Tue Jan 31, 2006 5:29 pm
by unigamer
I have another problem...
I would like on a collosion with another actor the frame of the animation jumps back 8.
I have tried the code
animpos =-8;
but I don't tihnk that's right because it's not working
Posted:
Tue Jan 31, 2006 5:33 pm
by Mardi-Gras
This is a 'best guess', because I haven't tried it, but I think it might be:
animpos = animpos-8;
Hope that works. Sorry if not.
Posted:
Tue Jan 31, 2006 5:38 pm
by unigamer
You're fast! Thanks, it worked!
Posted:
Tue Jan 31, 2006 5:40 pm
by Mardi-Gras
You're most welcome.
Posted:
Tue Jan 31, 2006 10:17 pm
by DilloDude
Tip: for anything such as variable = variable-x etc. you can shorten it to variable-=x. It will have the same result. It is very good for an actor variable and things with long names, eg. Harebbochopulis.aVariableWithAReallyLongName = Harebbochopulis.aVariableWithAReallyLongName + Grepchupudes.aVariableWithAnEvenLongerName.
could be shortened to
Harebbochopulis.aVariableWithAReallyLongName += Grepchupdes.aVariableWithAnEvenLongerName.
PS: why you'd have things like that I don't know, but it makes a point.