Graal Forums  

Go Back   Graal Forums > Development Forums > Gani Construction
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-31-2010, 06:54 PM
12171217 12171217 is offline
Banned
Join Date: Jan 2009
Posts: 453
12171217 has a spectacular aura about
ROTATEEFFECT on body sprites?

Doesn't work.

Any ideas?
Reply With Quote
  #2  
Old 08-31-2010, 09:29 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
weird o-o

You can use

player.rotation inside the gani script, if that helps :s
__________________
Reply With Quote
  #3  
Old 08-31-2010, 09:43 PM
12171217 12171217 is offline
Banned
Join Date: Jan 2009
Posts: 453
12171217 has a spectacular aura about
I've tried a bunch of ****. Nothing works.

Tried player.ani.sprites[index].rotation, even, still doesn't work.
Reply With Quote
  #4  
Old 08-31-2010, 10:14 PM
Switch Switch is offline
o.o
Switch's Avatar
Join Date: Jan 2007
Location: Philadelphia
Posts: 3,038
Switch has a spectacular aura about
Send a message via MSN to Switch
findimg(index).rotation?
__________________
Oh squiggly line in my eye fluid. I see you lurking there on the peripheral of my vision.
But when I try to look at you, you scurry away.
Are you shy, squiggly line?
Why only when I ignore you, do you return to the center of my eye?
Oh, squiggly line, it's alright, you are forgiven.
Reply With Quote
  #5  
Old 08-31-2010, 10:19 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
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 
Reply With Quote
  #6  
Old 08-31-2010, 10:25 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Dusty is correct. Rotation is one of the few things you can change (stuff like x/y doesn't work for some reason).
__________________
Reply With Quote
  #7  
Old 08-31-2010, 10:45 PM
12171217 12171217 is offline
Banned
Join Date: Jan 2009
Posts: 453
12171217 has a spectacular aura about
PHP Code:
ZOOMEFFECT 261 1 
ZOOMEFFECT 263 1

SCRIPT
function onPlayerEnters() {
  
findimg(261).rotation 1.57;
  
findimg(263).rotation 4.71;
}
SCRIPTEND 
Nope.
Reply With Quote
  #8  
Old 09-05-2010, 04:21 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
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.
Reply With Quote
  #9  
Old 09-06-2010, 12:37 AM
12171217 12171217 is offline
Banned
Join Date: Jan 2009
Posts: 453
12171217 has a spectacular aura about
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.
Reply With Quote
  #10  
Old 09-06-2010, 12:46 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by 12171217 View Post
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.
__________________
Reply With Quote
  #11  
Old 09-06-2010, 01:14 AM
12171217 12171217 is offline
Banned
Join Date: Jan 2009
Posts: 453
12171217 has a spectacular aura about
Should be more organized..
Reply With Quote
  #12  
Old 09-22-2010, 02:48 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Ok this will work in v6, added it.
Reply With Quote
  #13  
Old 09-23-2010, 05:53 AM
12171217 12171217 is offline
Banned
Join Date: Jan 2009
Posts: 453
12171217 has a spectacular aura about
Quote:
Originally Posted by Stefan View Post
Ok this will work in v6, added it.
I lol'd.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


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


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