![]() |
Getting tile location
In the graal editor you can view a tile location like 0x1A2, where its not just the tiles[x,y] since number as 412.
Unless there is some magic I can't get a tileset type 1 to load in the graal editor, so I went to gonstruct. Gonstruct just gives the single number like 421 as far as I saw, so how do yall get these locations? Might be better served in the scripting part. Wasn't sure... |
You can load type 1 in editor
Just add Addtiledef tileset.png,,1; |
I did that its just black and no tileset loaded. I also made sure it's the right name and all, and even moved it to the folder with the levels in it.
|
I am asumming you are trying to figure out where the tile is on the tileset.. like how many tiles to the left and down to find the tile you see in the level.. It would take be a bit to explain but if you understand php maybe you can cut out what you need from this:
http://pastebin.com/f74418c73 But to try and explain it simply. PHP Code:
|
There is a color limit or filesize limit im not sure but its 1 of those
Take you tileset and make it indexed color in ps |
Quote:
|
That did it. xD
Thank you. |
Which part was helpful?
|
The offline editor only supports 256 colors. (the official one)
That editor is basically a downscaled Graal v2.3 client. Images with more colors wasn't introduced until Graal v4. The level editor hasn't been updated since then. |
Quote:
|
Cool :)
|
| All times are GMT +2. The time now is 01:11 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.