Game Development Community

Organizing Imagemaps, animations, etc.?

by Andrew H · in Torque Game Builder · 12/22/2011 (8:04 pm) · 5 replies

On some T2D tutorial vids, I've seen folders in the animation/scroller/imagemap categories within T2D itself. So I think it would be incredibly helpful to know how to create these folders to organize my sprites.

So...does anyone know how? << Totally unnecessary line, but there it is.

#1
12/24/2011 (3:47 pm)
Please? I could use a little help!
#2
12/26/2011 (11:47 am)
I haven't done that, but why not just give it a try? Create the organization you want, and then change your t2d file so that each imageMap reference points to the new file location. For instance, maybe your reference was "ball1" and now it might be "levels/1/ball1" or whatever you did to organize your folders.

To test this with the minimum effort, just create one new folder and put one image in it. Then reconnect in your t2d file and see what happens.
#3
12/26/2011 (2:35 pm)
No, I'm organizing my sprites like that already, assuming you mean filepaths. I meant within T2D itself, so the animated sprites and/or imagemap tabs aren't as cluttered.
#4
12/28/2011 (1:10 pm)
That would require some changes to how T2D is setup, which means editing the scripts for the T2D editor itself. I made some updates for my projects where I could mark an image map as animation only. That way, that image wouldn't be in both the static and the animation section. I also made changes to the loading functionality so that only sprites used in the current level would be shown.

It still takes a bit of manual work and updating of cs files, but it made the editor cleaner to work with, and allowed for the use of many many more sprites throughout the entire game.

I can see about maybe posting the changes as a resources if this sounds like what you are looking to do.
#5
01/10/2012 (4:29 pm)
I think that resource would be pretty awesome, Eric.