Graal Forums  

Go Back   Graal Forums > Development Forums > Level Design
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-31-2007, 10:17 AM
Kittah Kittah is offline
One Stoned Kittah
Join Date: Sep 2005
Location: Japan
Posts: 143
Kittah is on a distinguished road
Why doesn't my tileset show in the Editor?

Perhaps a stupid question and I may be totally missing something, but I'm having problems getting my tileset to load in the Graal Level Editor. Basically, it just doesn't appear in the Editor.

The file is an 8-bit .png, first saved as .gif and then converted using the program included with Graal. I've added an NPC to set the tiles using addtiledef and the appropriate line has been added in offlinetiledefs.txt or whatever it is, but it just won't appear...

Any help, obvious or otherwise? I'm running Vista, if that changes things at all... I know that when I close the Level Editor I must do so through the task manager or it'll come up with some kind of runtime error... ugh.
Reply With Quote
  #2  
Old 12-31-2007, 02:10 PM
Banditz Banditz is offline
Banned
Join Date: Apr 2007
Location: United Kingdom
Posts: 87
Banditz is an unknown quantity at this point
Use a NPC. And i use:

if (created) {removetiledefs; addtiledef tilesethere.gif,,0
}
if (playertouchsme) {
}

Works fine for me on Vista.
Reply With Quote
  #3  
Old 12-31-2007, 06:03 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
PHP Code:
removetiledefs;
addtiledef tileset.png,,; 
Will work fine offline.

On a side note, I wish people would stop saving things as GIFs and then using gif2mng to convert them to PNG. Just save them as an 8-bit PNG in the first place z.z

EDIT: Also, for tilesets, can't you use up to 32-bit online?
__________________
Reply With Quote
  #4  
Old 12-31-2007, 10:42 PM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
Yes, but the offline editor can only read 8-bit images currently.
__________________
Deep into the Darkness peering...
Reply With Quote
  #5  
Old 01-01-2008, 05:30 PM
Kittah Kittah is offline
One Stoned Kittah
Join Date: Sep 2005
Location: Japan
Posts: 143
Kittah is on a distinguished road
Thanks for the tips all, but that's basically what I've already done... it seems as though Graal just doesn't like my tile image, despite it being an 8-bit .png as required.

As far as saving as .gif and then converting, it's the easiest method for me as I don't know how to set the image to 8-bit when saving as a .png in Gimp whereas saving it into .gif works fine.
Reply With Quote
  #6  
Old 01-01-2008, 06:14 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 Kittah View Post
Thanks for the tips all, but that's basically what I've already done... it seems as though Graal just doesn't like my tile image, despite it being an 8-bit .png as required.

As far as saving as .gif and then converting, it's the easiest method for me as I don't know how to set the image to 8-bit when saving as a .png in Gimp whereas saving it into .gif works fine.
There are tutorials to save 8-bit PNGs in GIMP.

Personally, get Fireworks.
__________________
Reply With Quote
  #7  
Old 01-02-2008, 02:16 PM
Kittah Kittah is offline
One Stoned Kittah
Join Date: Sep 2005
Location: Japan
Posts: 143
Kittah is on a distinguished road
Quote:
Originally Posted by cbkbud View Post
There are tutorials to save 8-bit PNGs in GIMP.

Personally, get Fireworks.
It's more a matter of laziness than anything else

I'll have a look into Fireworks, though... no harm in trying out some new and interesting software.
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 On
HTML code is Off

Forum Jump


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


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