Game Development Community

WhackAMole Tutial - A couple problems

by Matt Troup · in Torque Game Builder · 06/16/2006 (9:28 pm) · 2 replies

I have two main problems with the WhackAMole tutorial... not with the tut itself, but with some odd happenings that I'm not sure how to take care of.

1) Each time I enter the mainscreengui under the gui editor, everything gets shrunk (by 75%?).

2) Each time I quit T2D and reload, my mole-holes lose their respawnPoint datablock, so I have to redo them every time execute T2D.

Anyone having similar problems? Know fixes?

For the second problem, I know the datablocks are done in script so when you first execute the game they won't have the correct datablock attached. However, after you run the level and it goes through the script the respawnPoints won't pick up the datablock because they aren't a part of the datablock (circular...).

#1
06/16/2006 (9:35 pm)
As for number 2... take the exec("./respawnPoints.cs"); out of the startGame() function and just at the start of the file. The config datablocks are being exec'd when you press play instead of before the Level Builder loads :)...
#2
06/16/2006 (9:40 pm)
That fixed that. Thanks, King.

So simple *doh*