Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   New Scripting Engine (GS2) (https://forums.graalonline.com/forums/forumdisplay.php?f=153)
-   -   Alphablending Ganis? (https://forums.graalonline.com/forums/showthread.php?t=64140)

projectigi 02-15-2006 11:33 PM

Alphablending Ganis?
 
Hi,

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

NPC Code:

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

Quote:

Originally Posted by projectigi
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", ""}


All times are GMT +2. The time now is 01:12 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.