Game Development Community

Build Utility issues

by baylor wetzel · in Torque Game Builder · 07/02/2006 (11:02 am) · 1 replies

I'm curious about how the build utility is supposed to work

i ran it on the Whack-A-Mole project. For some reason it decided it didn't need boardalpha.png. For this reason, when the game is run, the score board ends up being blank

If i manually include the file (either copying the file to the build directory or selecting it in the build list) it still doesn't work. The file is there but the level doesn't load it and the console.log still says "Could not locate texture: ExampleWhackAMole/data/images/boardalpha.png"

A different question - what do the directories common and resources do? They seem to have duplicates of what's under the WhackAMole directory plus a fair amount that isn't in there (for example, it always had boardalpha.png, even though the build said it was ignoring it). It adds about 600K (the total package size is 4M)

A third question - i noticed that some .cs files are in the build directory. Specifically main, prefs and resourceDatabase. Why would those be there? As a test, i changed resourceDatabase.cs to point all the moles to a single bitmap and sure enough every mole ended up looking the same. Not sure i want my users playing with that

#1
08/16/2006 (12:29 pm)
I noticed the same issue with some of the torquescripts not being compiled and being placed in the directories as .cs files which were edittable by the users. Oddly, they appear to be .cs files of great important that would dramatically affect the overall outcome of the game launch if they were modified in any way ...