Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Gani Construction (https://forums.graalonline.com/forums/forumdisplay.php?f=50)
-   -   ROTATEEFFECT on body sprites? (https://forums.graalonline.com/forums/showthread.php?t=134260386)

12171217 08-31-2010 06:54 PM

ROTATEEFFECT on body sprites?
 
Doesn't work.

Any ideas?

xAndrewx 08-31-2010 09:29 PM

weird o-o

You can use

player.rotation inside the gani script, if that helps :s

12171217 08-31-2010 09:43 PM

I've tried a bunch of ****. Nothing works.

Tried player.ani.sprites[index].rotation, even, still doesn't work.

Switch 08-31-2010 10:14 PM

findimg(index).rotation?

DustyPorViva 08-31-2010 10:19 PM

From what I can recall, you can use gscript in the gani to access individual sprites only after changing them via one of the ganicodes. Like so:

PHP Code:

ZOOMEFFECT 20 1
SCRIPT
function onPlayerenters() {
  
findimg(20).rotation pi;
}
SCRIPTEND 


cbk1994 08-31-2010 10:25 PM

Dusty is correct. Rotation is one of the few things you can change (stuff like x/y doesn't work for some reason).

12171217 08-31-2010 10:45 PM

PHP Code:

ZOOMEFFECT 261 1 
ZOOMEFFECT 263 1

SCRIPT
function onPlayerEnters() {
  
findimg(261).rotation 1.57;
  
findimg(263).rotation 4.71;
}
SCRIPTEND 

Nope.

Admins 09-05-2010 04:21 PM

Currently body sprites are drawn differently and don't use zoom, colors or rotation. This could eventually be simplified and merged with the normal sprite drawing code.

12171217 09-06-2010 12:37 AM

You should ensure to have a patching system included in V6 so you can give us the new binary automagically through the client at semi-regular intervals whenever important updates happen, so we don't have to hear, "It'll be in V6" every few days.

cbk1994 09-06-2010 12:46 AM

Quote:

Originally Posted by 12171217 (Post 1599089)
You should ensure to have a patching system included in V6 so you can give us the new binary automagically through the client at semi-regular intervals whenever important updates happen, so we don't have to hear, "It'll be in V6" every few days.

v5 already has seamless client updates (downloading through the client upon login). There are just no updates.

12171217 09-06-2010 01:14 AM

Should be more organized..

Admins 09-22-2010 02:48 PM

Ok this will work in v6, added it.

12171217 09-23-2010 05:53 AM

Quote:

Originally Posted by Stefan (Post 1601974)
Ok this will work in v6, added it.

I lol'd.


All times are GMT +2. The time now is 03:34 PM.

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