Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Gani Construction (https://forums.graalonline.com/forums/forumdisplay.php?f=50)
-   -   Why won't this work! (https://forums.graalonline.com/forums/showthread.php?t=134262795)

Astram 04-13-2011 03:58 AM

Why won't this work!
 
Okay, I had a similar problem with the level editor, images wont show in the editor. But now, images wont show in the Graal Shop either, such as sprites. FowlPlay4, if you have another package, like the Graal Editor but for Graal Shop please post it here. HELP!!! >_<

fowlplay4 04-13-2011 04:25 AM

I always upload the image to a server and display it using showimg or a blank npc. The image probably needs to be 8-bit and 256 Colors as well.

Then I usually have no problem using it in GraalShop.

Crono 04-13-2011 04:35 AM

have you tried reinstalling graal to a new folder and then re-installing the dev tools?

Fulg0reSama 04-13-2011 04:46 AM

Okay, Got some questions.

1. Where do you store your images for gani use?
2. Do your gani images/spritesheets use only 8-bit 256 colors or is there truecolors (higher than 8-bit 256 colors) ?
3. Any alpha changes? (Is it see-through?)
4. Image formats? (.png/.gif) ?
5. Computer Specifications? (Operating System, Graphics Card, etc.)

cbk1994 04-13-2011 11:43 AM

I always save the image to a folder first, then save the GANI to the folder, then quit GraalShop and reopen the GANI I saved. Images then tend to work.

Keep in mind it probably does need to be an 8-bit PNG or GIF.

Devil_Lord2 04-14-2011 12:08 AM

I thought we talked about this once with the ganis. Either way this hopefully will be more helpful!

Test your things online, use them online to see them.
Offline mode basically sucks, but it seems you need to save things as a GIF.
Even then it doesn't always work for me..

i've tried saving as a PNG-8, PNG-24, GIF, and usually the only GIFs that work are under "Save for Web & Devices" and I doubt Paint or such programs have that option.

For ganis, you will either have to make it a GIF for the test version, and upload the real version online, or do it online.

This means for LAT just create levels online, need to put an npc up just take it back offline stick it in its spot and bring it back online.

If you are working with Ganis, edit the gani placement via Textfile.

You should see something like this.
SPRITE 0 SPRITES 0 0 24 12 shadow

SPRITE 10 SHIELD 0 0 6 18 shield up

SPRITE 11 SHIELD 6 0 8 20 shield left

SPRITE 12 SHIELD 14 0 16 20 shield down

SPRITE 13 SHIELD 30 0 8 20 shield right

SPRITE 200 BODY 0 0 32 32 body up

SPRITE 201 BODY 32 0 32 32 body left

SPRITE 202 BODY 64 0 32 32 body down

SPRITE 203 BODY 96 0 32 32 body right

SPRITE 100 HEAD 0 0 32 32 head up

SPRITE 101 HEAD 0 32 32 32 head left

SPRITE 102 HEAD 0 64 32 32 head down

SPRITE 103 HEAD 0 96 32 32 head right



DEFAULTATTR1 hat0.png

DEFAULTHEAD head19.png

DEFAULTBODY body.png



ANI

0 12 34, 200 8 16, 100 8 2

0 12 36, 201 12 16, 101 12 2

0 12 34, 202 8 16 102 8 2

0 12 36, 203 4 16, 103 4 2

WAIT 15


1. Never use Save As only use save. Change the name out of the textfile.
2. Keep it arranged the same alignment or it won't work. I need to test that a little more.

SAME ID image.png x y w h name
SPRITE 10 SHIELD 0 0 6 18 shield up

ID X Y
0 12 34,

If it is four directions you will see four in each group, if it is only one direction you will only see one each; I posted a group of four.

Hope this helps a bit..
Just because you can't see them offline doesn't mean they won't work online.


All times are GMT +2. The time now is 06:55 AM.

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