PDA

View Full Version : Alphablending Ganis?


projectigi
02-15-2006, 11:33 PM
Hi,

is there any way to alpha blend ganis?
i tried it like


function onCreated(){
with(findimg(1)){
ani="walk","";
alpha=0.5;
}
}


but it didnt work, and i dont want to use COLOREFFECT thing(which i'm not sure if it works at v4) on all these sprites =/

Rick
02-15-2006, 11:58 PM
ani="walk","" is incorrect. Just do ani="walk".

As for the alphablending thing, it's probably not possible without coloreffect, but I'm unsure.

projectigi
02-16-2006, 11:48 AM
when i did showani and did player.chat=findimg(blah).ani;
it said "ani",""

Admins
02-16-2006, 02:09 PM
It's not possible yet to make the whole gani transparent or rotate it etc.
Instead of COLOREFFECT on all sprites you can also change the transparency with changeimgcolors in the gani script

Rick
02-16-2006, 05:03 PM
when i did showani and did player.chat=findimg(blah).ani;
it said "ani",""That is an array then. If you really want to do that then ani = {"walk", ""}