Loading and Saving Tile Maps
by Seth Willits · in Torque Game Builder · 03/05/2005 (1:07 am) · 6 replies
You can save tile maps to the T2D/client/maps folder (as well as many others), but you can't load maps from that folder. As far as I can tell you can only load maps from the tileeditor/client/maps directory which makes it a nuisance to edit maps. I'd love to be proven wrong here.
Also, the load dialog shows files that begin with a period which are supposed to be invisible. Not a big deal.
Also, the load dialog shows files that begin with a period which are supposed to be invisible. Not a big deal.
About the author
http://www.sethwillits.com/
#2
Thanks again for the report. As I posted elsewhere, we'll be refining the way the tile editor loads in the future. We just had to get a basic system up and running for now. The workflow isn't nearly as smooth as it will be in the future. Right now, it should just be considered a rough first-pass... it's much, much better than nothing (believe us.. we were hand-coding tilemaps for a while ;). Much more work to come in this area, appreciate the reports, but please don't get too frustrated. Under stand that this is a very early pass at this tool.
03/05/2005 (11:47 am)
Hi Seth, Thanks again for the report. As I posted elsewhere, we'll be refining the way the tile editor loads in the future. We just had to get a basic system up and running for now. The workflow isn't nearly as smooth as it will be in the future. Right now, it should just be considered a rough first-pass... it's much, much better than nothing (believe us.. we were hand-coding tilemaps for a while ;). Much more work to come in this area, appreciate the reports, but please don't get too frustrated. Under stand that this is a very early pass at this tool.
#3
I did find a compromise though. If you have two copies of your map, one in each folder it works well enough. The one in the tileeditor folder is the one you edit, but when you save it, save it to both spots. Kinda clunky but it works better then quitting and all that.
03/05/2005 (11:58 am)
Oh. Ok. Sorry - too many posts to read! (BTW, forum searching should really search just the forums you've subscribed to...)I did find a compromise though. If you have two copies of your map, one in each folder it works well enough. The one in the tileeditor folder is the one you edit, but when you save it, save it to both spots. Kinda clunky but it works better then quitting and all that.
#4
Or if your working on a few maps like I am, as a quick hack you can setup a global action map key that will run that code when you press say F1, and load another map on F2 and another on F3 :P
Bit of a pain, but it's a good enough work around for me until the editors get their face lift in the future :)
03/11/2005 (10:30 am)
Rather than having two copies you could also drop the console down and typeloadMap("T2D/client/maps/mymap.map");Or if your working on a few maps like I am, as a quick hack you can setup a global action map key that will run that code when you press say F1, and load another map on F2 and another on F3 :P
Bit of a pain, but it's a good enough work around for me until the editors get their face lift in the future :)
#5
03/11/2005 (11:35 am)
Shoot, why not go ahead and extend that to pop up a dialog requesting the map name to load? :) Then you just hit the key, type in the name (or leave what's there from last time) and it will load. No messing with the console every time.
#6
*crawls humbly back under his rock*
03/11/2005 (1:02 pm)
We really want to put in a much nicer load/save dialog. Just thought I'd mention that. The one we've got now is nasty as hell and I can only apologise for it.*crawls humbly back under his rock*
Torque Owner Seth Willits