
11-13-2009, 06:09 PM
|
|
The Cat
|
 |
Join Date: Jan 2007
Location: Missouri, USA
Posts: 4,240
|
|
|
The way I am doing addtiledef2 in my online level editor is by adding the tiledef2s (by reading their tiledefs file) to a drawing panel, and then using saveimage, and then accessing the image. Only problem with this is that is basically only works on the new version.
There are more efficient ways to do it though, if you use drawing panels for pretty much everything (like dragging tiles around and stuff), you don't even need to generate the image.
Right now, the only reason I am doing it the other way is because I coded the level editor (which is massive now) using only pics1.png to test with, but realized later that I forgot to include support for addtiledef2, so I had/need to change a lot of how the tiles are being handled.
However, if this were to be added, I definitely support it. |
__________________
“Shoot for the moon. Even if you miss, you'll land among the stars.”
|
|
|
|