Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Gani Construction (https://forums.graalonline.com/forums/forumdisplay.php?f=50)
-   -   Custom gani editor (https://forums.graalonline.com/forums/showthread.php?t=134264385)

Hezzy002 08-28-2011 01:29 PM

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.

Rave_J 08-28-2011 04:36 PM

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

Hezzy002 08-28-2011 05:44 PM

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.

Crow 08-28-2011 05:59 PM

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?

fowlplay4 08-28-2011 05:59 PM

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.

Hezzy002 08-28-2011 07:22 PM

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.

Crow 08-28-2011 07:42 PM

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.

Hezzy002 08-28-2011 07:57 PM

Quote:

Originally Posted by Crow (Post 1665862)
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..

Hezzy002 08-29-2011 11:08 AM

1 Attachment(s)
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.

Emera 08-29-2011 11:46 AM

Quote:

Originally Posted by Hezzy002 (Post 1665984)
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.

Fulg0reSama 08-29-2011 11:54 PM

I'm rather intrigued too.

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

Rave_J 08-30-2011 01:45 AM

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

fowlplay4 08-30-2011 01:49 AM

Quote:

Originally Posted by Rave_J (Post 1666157)
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.

Hezzy002 08-30-2011 10:20 AM

Quote:

Originally Posted by Rave_J (Post 1666157)
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.

Crow 08-30-2011 12:49 PM

Quote:

Originally Posted by Hezzy002 (Post 1666211)
And please make it more eye candy? The ****? It's a developer's tool.

Don't listen to him :redface:

Emera 08-30-2011 12:55 PM

He is mad i say! Mad!

Rave_J 08-31-2011 06:11 AM

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

DustyPorViva 08-31-2011 06:17 AM

Quote:

Originally Posted by Rave_J (Post 1666340)
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.

Rave_J 08-31-2011 06:19 AM

Quote:

Originally Posted by DustyPorViva (Post 1666341)
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

cbk1994 08-31-2011 10:46 PM

Quote:

Originally Posted by Rave_J (Post 1666342)
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.

Crow 08-31-2011 11:00 PM

Quote:

Originally Posted by Rave_J (Post 1666340)
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.

RegretZ 08-31-2011 11:46 PM

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.

cbk1994 09-01-2011 12:02 AM

Quote:

Originally Posted by RegretZ (Post 1666500)
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.

RegretZ 09-01-2011 12:03 AM

Quote:

Originally Posted by cbk1994 (Post 1666508)
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. :)

haro41 10-20-2011 10:19 AM

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.

xXziroXx 05-29-2012 02:11 AM

Hey Downsider, ever "finished" this? Even if you didn't, I'd love to get my hands on it. :p

Hezzy002 05-29-2012 06:49 AM

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.

xXziroXx 05-30-2012 01:20 AM

Quote:

Originally Posted by Hezzy002 (Post 1695843)
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. :(


All times are GMT +2. The time now is 08:04 PM.

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