Game Development Community

RC2 - Packaging Prunes out Images if Used in Gui Files

by Rodney Rindels - Torqued · in Torque Game Builder · 06/08/2006 (12:03 pm) · 2 replies

Looks like its picking up all the sprites used in the levels fine, but images just used in GUI controls (Including Your Fancy logoblack.png) file get put on the "pruned" list during analyzing the projects. I would think it would analyze those as well to pickup the GUI Images..

Of course not a showstopper since you can just select them to be included.. But it seems like it would be easy to fix.

#1
06/08/2006 (3:23 pm)
I just installed RC2 and packaged up the checkersdemo and look like it included GUI files in the package, do you have a repro I can do to fix the issue off of?
#2
06/08/2006 (3:30 pm)
Hiya Matt.

You know I know whats causing it. Apparently the analyzer doesn't pick up variable data in the cells from the enviroment.

I had my GUI Files setup to include png files with

bitmap = $currentProject @"/data/images/logoblack";

because I use the same splash screens, etc in many projects. Of courrse exec them and running them work fine.

Setting the Name physically took them off the pruned list.

bitmap = "myProject/data/images/logoblack";

So I dont know what behavior you guys want, especially at this stage in the game, but it would be nice if they could be dynamically built like this..