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 01-17-2009, 07:26 AM
Deeek Deeek is offline
o_O
Deeek's Avatar
Join Date: Jul 2008
Location: Freeburg, Missouri
Posts: 167
Deeek will become famous soon enough
Gani Shop crashes when...

Well, I have a relatively large sprite sheet - about 498 x 1632 in dimension. The editor can load this image fine - the problem is when I use the grid feature to splice the image up into individual sprites (about 249 x 204 in dimension) to make into an animation, the editor crashes. I am, for the record, using Vista. Perhaps I am inputting the parameters in the wrong fields? It states here:
"Specify the rectangle of the image which is drawn"
x:0 , y:0
width: 0 height: 0
So, I input the image's dimensions as the width and height as so :
width: 498 height: 1632
"Instead of a single sprite you can also add an array of sprites, each of the specified width and height. A grid is laid on the image, starting at (x,y). The first sprite in the upper left corner get the sprite indexed typed in above."
grid width: grid height:
So I set x: and y: both to 1, to set them at the very upper left corner of the image, and the grid width and height to 249 x 204, respectively, to splice each individual sprite into a seperate image. As soon as I hit 'Add' the editor apparently becomes overwhelmed and crashes.
Reply With Quote
  #2  
Old 01-17-2009, 01:21 PM
xXziroXx xXziroXx is offline
Master of Puppets
xXziroXx's Avatar
Join Date: May 2004
Location: Sweden
Posts: 5,288
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
Send a message via AIM to xXziroXx Send a message via MSN to xXziroXx
I don't know what causes it, but if you fail to get it working you could always edit the gani parts into the file by using a text editor.
__________________

"A delayed game is eventually good, but a rushed game is forever bad." - Shigeru Miyamoto
Reply With Quote
  #3  
Old 01-17-2009, 08:15 PM
Deeek Deeek is offline
o_O
Deeek's Avatar
Join Date: Jul 2008
Location: Freeburg, Missouri
Posts: 167
Deeek will become famous soon enough
Quote:
Originally Posted by xXziroXx View Post
I don't know what causes it, but if you fail to get it working you could always edit the gani parts into the file by using a text editor.
How can I do that?
Reply With Quote
  #4  
Old 01-17-2009, 08:27 PM
xXziroXx xXziroXx is offline
Master of Puppets
xXziroXx's Avatar
Join Date: May 2004
Location: Sweden
Posts: 5,288
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
Send a message via AIM to xXziroXx Send a message via MSN to xXziroXx
PHP Code:
SPRITE NAME    index         image    x    y   width   height description 

Examples:

PHP Code:
SPRITE    0         SPRITES    0    0   24   12 shadow
SPRITE    2     letters
.png  224   96   16   32 Exclamation Mark
SPRITE   40           ATTR1    0    0   48   48 hat up 
__________________

"A delayed game is eventually good, but a rushed game is forever bad." - Shigeru Miyamoto
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 10:03 PM.


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