Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   Combing sprites in gani's (https://forums.graalonline.com/forums/showthread.php?t=73717)

DustyPorViva 04-28-2007 06:46 PM

Combing sprites in gani's
 
Stemming from the topic in the gani section... I'm aware there is a way.
My suggestion is that a button be placed in Graalshop that combines all the current sprites placed in the gani into one sprite and adds it to the sprite list.

ff7chocoboknight 04-29-2007 03:59 AM

thats a good idea

PrinceOfKenshin 04-29-2007 04:41 AM

Or like in Game Maker for their sprites they have it so that you have the image and you can have it divided and you can change how big you want the box to be which would save so much time making ganis. So lets say you have the image in a little picture box you click where you want the box to start then just adjust the size.

ff7chocoboknight 04-29-2007 04:43 AM

Quote:

Originally Posted by PrinceOfKenshin (Post 1304066)
Or like in Game Maker for their sprites they have it so that you have the image and you can have it divided and you can change how big you want the box to be which would save so much time making ganis. So lets say you have the image in a little picture box you click where you want the box to start then just adjust the size.

never used Game Maker but sounds good

DustyPorViva 04-29-2007 04:55 AM

Ya, I hate adding sprites to graalshop :(
Though I suggest adding a 16x16 grid-line, to keep the accuracy. As well as have the grid spacing able to be customized.

PrinceOfKenshin 04-29-2007 05:05 AM

Quote:

Originally Posted by DustyPorViva (Post 1304073)
Ya, I hate adding sprites to graalshop :(
Though I suggest adding a 16x16 grid-line, to keep the accuracy. As well as have the grid spacing able to be customized.

Yea thats what i meant. It makes life for a ganier so much easier lol.

ff7chocoboknight 04-29-2007 05:05 PM

Quote:

Originally Posted by DustyPorViva (Post 1304073)
Ya, I hate adding sprites to graalshop :(
Though I suggest adding a 16x16 grid-line, to keep the accuracy. As well as have the grid spacing able to be customized.

that would help a lot and would reduse error

Quote:

Originally Posted by PrinceOfKenshin (Post 1304076)
Yea thats what i meant. It makes life for a ganier so much easier lol.

if only

Tyhm 04-29-2007 10:40 PM

Methinks there are, in fact, two ideas being discussed.
One: that we should be able to see the grid of sprites being added, which would indeed be nice.
Two: that we should be able to "flatten" a number of sprites into a single sprite-object...if memory serves we can add a gani As a sprite, though I have never really figured out how that meshes with sending params, etc. (if you have to add the sprite as "walk.gani PARAM1 PARAM2", or if it automatically just uses the calling gani's params and attrs, or if there's a way to give the sprite-gani different params for if you want a gani of yourself with a gani of another character standing on your head...etc).

Basically we need new editor tools. The end.

PrinceOfKenshin 04-29-2007 10:49 PM

Quote:

Originally Posted by Tyhm (Post 1304350)
Basically we need new editor tools. The end.

Amen to that. now only if we can get it made.

DustyPorViva 04-30-2007 01:59 AM

Actually... for sprites being added, I have an idea that would probably be a bit more precise... yet graphically easy.

Where it displays the image in a scroll box, you specify the width and height of the sprite you're adding, and you drag the 'cropping' box around the image, and click to add it. That way you don't have to worry about getting the exact coordinates of the box right. (As well as having a grid in the image as well, but I didn't feel like going through the drawing of that)
http://img267.imageshack.us/img267/3...alshop1fo1.png

Also, I wouldn't mind, if * was in place on sprite number, having it added automatically at the end of the sprite list.

PrinceOfKenshin 04-30-2007 02:08 AM

Quote:

Originally Posted by DustyPorViva (Post 1304414)

Yea thats somewhat like what i pictured in my head, good idea too.

Tyhm 04-30-2007 03:05 AM

I like it.

ToNy_W 04-30-2007 05:36 AM

Quote:

Originally Posted by Tyhm (Post 1304350)
Methinks there are, in fact, two ideas being discussed.
One: that we should be able to see the grid of sprites being added, which would indeed be nice.
Two: that we should be able to "flatten" a number of sprites into a single sprite-object...if memory serves we can add a gani As a sprite, though I have never really figured out how that meshes with sending params, etc. (if you have to add the sprite as "walk.gani PARAM1 PARAM2", or if it automatically just uses the calling gani's params and attrs, or if there's a way to give the sprite-gani different params for if you want a gani of yourself with a gani of another character standing on your head...etc).

Basically we need new editor tools. The end.

Wait, you're saying that we can (or eventualy could?) use ganis as sprites for another ganis? I've been trying to figure out if this feature actualy exists for about a month... I thought it was just a "future improvement" that would never come...
Couldn't find anything about it in newfeatures text files though

Tyhm 04-30-2007 08:21 AM

I'm quite sure you can to some extent: the old kingdom ganimovies would display over the kingdom anis. When they were set as param1 anyway. It was weird, I don't understand it, I'm calling it Undocumented.

zokemon 04-30-2007 12:53 PM

You can use ganis as sprites but sadly, they are displayed over (on top of) the rest of the sprites no matter what layer you have the sprite (gani) at :(
Last I check this was a very very long time ago though so it may have been fixed by now? If it was, I would be insanely happy.

ToNy_W 04-30-2007 03:11 PM

Ah! A server where you don't get frozen when attacking with a melee weapon :p!

CheeToS2 04-30-2007 11:06 PM

1 Attachment(s)
My gani editor already lets you select the image area you want to add :). It also has an interface for attaching sprites to each other, but I don't like it and it needs work. I haven't had much time to work on it lately due to school though, and I need to refactor some parts so alpha blending can be shown in previews (already works on the main editing canvas) and so exporting to GIF can be done.

(old screenshot)

zokemon 04-30-2007 11:34 PM

Quote:

Originally Posted by CheeToS2 (Post 1304660)
My gani editor already lets you select the image area you want to add :). It also has an interface for attaching sprites to each other, but I don't like it and it needs work. I haven't had much time to work on it lately due to school though, and I need to refactor some parts so alpha blending can be shown in previews (already works on the main editing canvas) and so exporting to GIF can be done.

(old screenshot)

Very nice.

Tyhm 05-01-2007 02:39 AM

Quote:

Originally Posted by zokemon (Post 1304549)
You can use ganis as sprites but sadly, they are displayed over (on top of) the rest of the sprites no matter what layer you have the sprite (gani) at :(
Last I check this was a very very long time ago though so it may have been fixed by now? If it was, I would be insanely happy.

Likewise, I could make object-oriented ganis...the player swings his PARAM1.gani, and based on what gani he's swinging determines how the rest of the gani plays out. Swords and axes and baseball bats are all fairly similar, but whips and maces and lawnmowers and, um, children being held by the ankles?, animate differently.

pooper200000 05-01-2007 02:58 AM

Quote:

Originally Posted by CheeToS2 (Post 1304660)
My gani editor already lets you select the image area you want to add :). It also has an interface for attaching sprites to each other, but I don't like it and it needs work. I haven't had much time to work on it lately due to school though, and I need to refactor some parts so alpha blending can be shown in previews (already works on the main editing canvas) and so exporting to GIF can be done.

(old screenshot)

is there a place we can your gani editor?

CheeToS2 05-01-2007 07:13 AM

Quote:

Originally Posted by pooper200000 (Post 1304771)
is there a place we can your gani editor?

Not yet, there's still a bunch of work to be done. The timeline needs more work, saving needs to be added (easy), undo/redo isn't done yet, and some other stuff. I'm not sure when I'll have time to get back to working on it.

zokemon 05-01-2007 07:40 AM

Quote:

Originally Posted by Tyhm (Post 1304762)
Likewise, I could make object-oriented ganis...the player swings his PARAM1.gani, and based on what gani he's swinging determines how the rest of the gani plays out. Swords and axes and baseball bats are all fairly similar, but whips and maces and lawnmowers and, um, children being held by the ankles?, animate differently.

That is the exact reason why I want to be able to do it :)
It is more over so that I can use a gani to let me place any size of weapon.

PrinceOfKenshin 05-01-2007 10:12 PM

Quote:

Originally Posted by CheeToS2 (Post 1304660)
My gani editor already lets you select the image area you want to add :). It also has an interface for attaching sprites to each other, but I don't like it and it needs work. I haven't had much time to work on it lately due to school though, and I need to refactor some parts so alpha blending can be shown in previews (already works on the main editing canvas) and so exporting to GIF can be done.

(old screenshot)

how can i get mine like yours?

Crow 05-02-2007 03:20 PM

Quote:

Originally Posted by PrinceOfKenshin (Post 1304916)
how can i get mine like yours?

You cant.

cbk1994 05-04-2007 03:38 AM

It would be nice if you could make like .glist files or something similar, the format is like
PHP Code:

GLIST
block
.png 0 0 32 32
funky_tile
.png 0 0 16 16 

and you can import these lists, and the gani editor adds them. This way, you could even make a script like what you guys were suggesting, select the image, and then hit export, saves either on the server, or in scriptfiles, then you import the list. Exporting could also be done with default gani editing.

But ofcourse, this will never get done.

CheeToS2 05-04-2007 03:46 AM

Quote:

Originally Posted by cbkbud (Post 1305369)
It would be nice if you could make like .glist files or something similar, the format is like
PHP Code:

GLIST
block
.png 0 0 32 32
funky_tile
.png 0 0 16 16 

and you can import these lists, and the gani editor adds them. This way, you could even make a script like what you guys were suggesting, select the image, and then hit export, saves either on the server, or in scriptfiles, then you import the list. Exporting could also be done with default gani editing.

But ofcourse, this will never get done.

Is there some difference between what you're talking about and just saving a Gani that has no frames but does have sprites? I think I may be missing something.

Tyhm 05-04-2007 07:44 PM

Yeah, the Import Sprites button's pretty good for that.


All times are GMT +2. The time now is 05:59 AM.

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