Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-28-2011, 01:29 PM
Hezzy002 Hezzy002 is offline
Registered User
Join Date: Jul 2011
Posts: 247
Hezzy002 is a jewel in the roughHezzy002 is a jewel in the rough
Custom gani editor

Heya, so I'm making a new gani editor and I want to implement a lot of the features that Graal's has been lacking for a while.

Throw a list below. Maybe someone could come up with a hack that allows sprite rotation/color effects on a per-frame basis through scripting? If it's possible by doing it in the ganiscript itself (Can someone confirm this?), then I can build the script and send it along with the gani, as the editor already supports sprite rotation via ROTATIONEFFECT anyway, and making that dynamic wouldn't be hard.
Reply With Quote
  #2  
Old 08-28-2011, 04:36 PM
Rave_J Rave_J is offline
Graal Developer
Join Date: Feb 2006
Location: Texas
Posts: 848
Rave_J can only hope to improve
Send a message via AIM to Rave_J Send a message via MSN to Rave_J Send a message via Yahoo to Rave_J
display particles on the gani editor
here Jerret made one then Stefan edited up a bit
but u can download both here
http://forums.graalonline.com/forums...t=79041&page=3
__________________
Graal Developer

Last edited by Rave_J; 08-28-2011 at 04:52 PM..
Reply With Quote
  #3  
Old 08-28-2011, 05:44 PM
Hezzy002 Hezzy002 is offline
Registered User
Join Date: Jul 2011
Posts: 247
Hezzy002 is a jewel in the roughHezzy002 is a jewel in the rough
This one isn't ingame, it's offline, a separate executable. I can't display particles without parsing out Stefan's particle system declarations, and I have no idea how his format works and am not interesting in learning.
Reply With Quote
  #4  
Old 08-28-2011, 05:59 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Could you possibly add something that would refer to a single sprite index in your gani editor, but translate to a different sprite index every frame, making things like rotation sequences easier?
Reply With Quote
  #5  
Old 08-28-2011, 05:59 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
You could just duplicate the sprites, and give each sprite a different effect then use the SCRIPT section to store the information required for you program to do it in some seamless way.
__________________
Quote:
Reply With Quote
  #6  
Old 08-28-2011, 07:22 PM
Hezzy002 Hezzy002 is offline
Registered User
Join Date: Jul 2011
Posts: 247
Hezzy002 is a jewel in the roughHezzy002 is a jewel in the rough
I had planned on just doing something like building a script like this automagically for the user and appending it to file:

PHP Code:
SCRIPT
function onCreated() {
  
0_map[frame] = rotation;
  
//..for all others..
  
onTimeOut();
}

function 
onTimeOut() {
  for (
getSprites()) {
    
s.rotation s.index_map[frame];
  }
  
setTimer(.05);

That's just some crappy psuedocode, but is that possible with the interfaces that Graal allows? Otherwise I'd have to bake it in with ROTATEEFFECT spam.
Reply With Quote
  #7  
Old 08-28-2011, 07:42 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Definitely not a good idea, running such a short timeout and everything. Adjusting the rotation in the onCreated() event should suffice. If not, maybe the onPlayerEnters() event will do.
Reply With Quote
  #8  
Old 08-28-2011, 07:57 PM
Hezzy002 Hezzy002 is offline
Registered User
Join Date: Jul 2011
Posts: 247
Hezzy002 is a jewel in the roughHezzy002 is a jewel in the rough
Quote:
Originally Posted by Crow View Post
Definitely not a good idea, running such a short timeout and everything. Adjusting the rotation in the onCreated() event should suffice. If not, maybe the onPlayerEnters() event will do.
It's for per-frame rotation.. The only way to accomplish that is to either make instances of multiple ROTATEEFFECT'd sprites or to do it via script, and iterating through a few objects and setting a variable to them isn't very intensive..
Reply With Quote
  #9  
Old 08-29-2011, 11:08 AM
Hezzy002 Hezzy002 is offline
Registered User
Join Date: Jul 2011
Posts: 247
Hezzy002 is a jewel in the roughHezzy002 is a jewel in the rough
Progress, has all the features from GraalShop and then rotation at the moment. Can import movieclip position/rotation/scaling animations directly from Flash and translate them into ganis. That animation was done in Flash using a skeletal model rig and transferred in. It's for an iPhone game I was contacted to do. The editor wasn't meant for ganis, it exports to my own binary format, but with some small modifications I can add gani import/export features.
Attached Thumbnails
Click image for larger version

Name:	screenshot2011082905054.png
Views:	552
Size:	61.6 KB
ID:	53587  
Reply With Quote
  #10  
Old 08-29-2011, 11:46 AM
Emera Emera is offline
Delterian Hybrid
Emera's Avatar
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
Emera is a jewel in the roughEmera is a jewel in the rough
Quote:
Originally Posted by Hezzy002 View Post
Progress, has all the features from GraalShop and then rotation at the moment. Can import movieclip position/rotation/scaling animations directly from Flash and translate them into ganis. That animation was done in Flash using a skeletal model rig and transferred in. It's for an iPhone game I was contacted to do. The editor wasn't meant for ganis, it exports to my own binary format, but with some small modifications I can add gani import/export features.
Very good work hezzy. Can't wait to see the final result.
__________________
Reply With Quote
  #11  
Old 08-29-2011, 11:54 PM
Fulg0reSama Fulg0reSama is offline
Extrinsical Anomaly
Fulg0reSama's Avatar
Join Date: Sep 2009
Location: Ohio
Posts: 3,049
Fulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant future
I'm rather intrigued too.

Let me know when you'll allow others to give it a try
__________________

Careful, thoughts and opinions here scare people.
Reply With Quote
  #12  
Old 08-30-2011, 01:45 AM
Rave_J Rave_J is offline
Graal Developer
Join Date: Feb 2006
Location: Texas
Posts: 848
Rave_J can only hope to improve
Send a message via AIM to Rave_J Send a message via MSN to Rave_J Send a message via Yahoo to Rave_J
plz make it where u can display particles effects too
that would be cool to have
also roation the imgs too
but please make it more eye candy then what u got so far
__________________
Graal Developer
Reply With Quote
  #13  
Old 08-30-2011, 01:49 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by Rave_J View Post
plz make it where u can display particles effects too
He already said he didn't want to do that besides search the Code Gallery for Particle Editor.
__________________
Quote:
Reply With Quote
  #14  
Old 08-30-2011, 10:20 AM
Hezzy002 Hezzy002 is offline
Registered User
Join Date: Jul 2011
Posts: 247
Hezzy002 is a jewel in the roughHezzy002 is a jewel in the rough
Quote:
Originally Posted by Rave_J View Post
plz make it where u can display particles effects too
that would be cool to have
also roation the imgs too
but please make it more eye candy then what u got so far
The editor supports rotation, currently on a per-sprite basis with ROTATIONEFFECT, and hopefully I can rig up a per-frame rotation effect in GS2. I'll have to experiment with how rotation of sprites is handled ingame.

And please make it more eye candy? The ****? It's a developer's tool.
Reply With Quote
  #15  
Old 08-30-2011, 12:49 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by Hezzy002 View Post
And please make it more eye candy? The ****? It's a developer's tool.
Don't listen to him
Reply With Quote
  #16  
Old 08-30-2011, 12:55 PM
Emera Emera is offline
Delterian Hybrid
Emera's Avatar
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
Emera is a jewel in the roughEmera is a jewel in the rough
He is mad i say! Mad!
__________________
Reply With Quote
  #17  
Old 08-31-2011, 06:11 AM
Rave_J Rave_J is offline
Graal Developer
Join Date: Feb 2006
Location: Texas
Posts: 848
Rave_J can only hope to improve
Send a message via AIM to Rave_J Send a message via MSN to Rave_J Send a message via Yahoo to Rave_J
simply if u make it more appealing on graphics wise it can attract more developers simply wow this progarm looks like its built pretty good then i see a snapshot like that and im like wow this is *** looking.
but heavens no i put a input in or a idea on something but hey crow i think u should focus on Atlantis and get ur ego in check and stop trying to be a wanna be elk
__________________
Graal Developer
Reply With Quote
  #18  
Old 08-31-2011, 06:17 AM
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
Quote:
Originally Posted by Rave_J View Post
dude u are telling me crow u would use a developer tool when it looks like crap and poorly put together like Gontruct level editor is so *** looking that i cant even open it due my computer will say this program is too *** for windows 7 to open !honestly crow quit trying to start crap with me im just simply telling him making it more coreful eye candy would help attract players to it. u need to put ur ego aside wanna be elk
Do you even read what you write? Because I can't ****ing tell what the hell you're trying to say.
Reply With Quote
  #19  
Old 08-31-2011, 06:19 AM
Rave_J Rave_J is offline
Graal Developer
Join Date: Feb 2006
Location: Texas
Posts: 848
Rave_J can only hope to improve
Send a message via AIM to Rave_J Send a message via MSN to Rave_J Send a message via Yahoo to Rave_J
Quote:
Originally Posted by DustyPorViva View Post
Do you even read what you write? Because I can't ****ing tell what the hell you're trying to say.
umm i did read it thats y i was in the middle of rewording my post when u made a comment about it
__________________
Graal Developer
Reply With Quote
  #20  
Old 08-31-2011, 10:46 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
Quote:
Originally Posted by Rave_J View Post
umm i did read it thats y i was in the middle of rewording my post when u made a comment about it
If it's any consolation, your revised post makes just as little sense and is just as stupid as the original.
__________________
Reply With Quote
  #21  
Old 08-31-2011, 11:00 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by Rave_J View Post
simply if u make it more appealing on graphics wise it can attract more developers simply wow this progarm looks like its built pretty good then i see a snapshot like that and im like wow this is *** looking.
but heavens no i put a input in or a idea on something but hey crow i think u should focus on Atlantis and get ur ego in check and stop trying to be a wanna be elk
I think you don't understand how development works you ****ing tool. Input? What kind of "input" did you add? "MOAR EYE CANDY", yea, that sure is some input. Eye candy doesn't help when developing, at all. I, personally, even prefer simple tools over ones that are full of bling and other stuff I don't need anyway. It's a development tool. What counts are usability and features.
Reply With Quote
  #22  
Old 08-31-2011, 11:46 PM
RegretZ RegretZ is offline
Me.
RegretZ's Avatar
Join Date: Sep 2010
Location: USA
Posts: 415
RegretZ will become famous soon enough
It'd be nice if you could possibly make it more new-developer friendly too.
I'd love to make ganis, but the tutorials I've found really haven't helped me that much. Maybe I'm just clueless, but that means there are other clueless people out there too that need as much help as me. Maybe if you could make it so that it has a sort of tutorial or help section that explains how everything works. That may be a stretch, but I figure it could help people get into developing.
Reply With Quote
  #23  
Old 09-01-2011, 12:02 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 RegretZ View Post
It'd be nice if you could possibly make it more new-developer friendly too.
I'd love to make ganis, but the tutorials I've found really haven't helped me that much. Maybe I'm just clueless, but that means there are other clueless people out there too that need as much help as me. Maybe if you could make it so that it has a sort of tutorial or help section that explains how everything works. That may be a stretch, but I figure it could help people get into developing.
What do you want improved specifically? The GANI editor now is not complicated.
__________________
Reply With Quote
  #24  
Old 09-01-2011, 12:03 AM
RegretZ RegretZ is offline
Me.
RegretZ's Avatar
Join Date: Sep 2010
Location: USA
Posts: 415
RegretZ will become famous soon enough
Quote:
Originally Posted by cbk1994 View Post
What do you want improved specifically? The GANI editor now is not complicated.
Well, my biggest problem was figuring out how to import custom sprites. If there were an easier way to do that, it would make me very happy.
Reply With Quote
  #25  
Old 10-20-2011, 10:19 AM
haro41 haro41 is offline
zenkou
haro41's Avatar
Join Date: Jul 2003
Location: Sol Grotto
Posts: 689
haro41 will become famous soon enough
Send a message via AIM to haro41
not sure if you're still working on this Hezzy, but some features id like to see:

the ability to select multiple sprites at once. like a click drag
Graalshop does this by shift clicking them all in succession.

creating groups of sprites, and the ability to manipulate sprite groups.

rotating/scaling/alpha changing sprites or groups of sprites per frame, or applying those effects over a specific timeframe.
__________________

Zenkou for life
Reply With Quote
  #26  
Old 05-29-2012, 02:11 AM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Hey Downsider, ever "finished" this? Even if you didn't, I'd love to get my hands on it.
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #27  
Old 05-29-2012, 06:49 AM
Hezzy002 Hezzy002 is offline
Registered User
Join Date: Jul 2011
Posts: 247
Hezzy002 is a jewel in the roughHezzy002 is a jewel in the rough
Yeah, I did at one point. Then I ported it to C#, lost the Java source, and integrated it into my own engine for my game's animation format and lost all backwards compatibility with Graal ganis.
Reply With Quote
  #28  
Old 05-30-2012, 01:20 AM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quote:
Originally Posted by Hezzy002 View Post
Yeah, I did at one point. Then I ported it to C#, lost the Java source, and integrated it into my own engine for my game's animation format and lost all backwards compatibility with Graal ganis.
Poo.
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
Reply


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 11:47 PM.


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