Game Development Community

Riddle me this (building whakamole tutorial)

by Cheryl Gress · in Torque Game Builder · 02/21/2009 (8:54 pm) · 12 replies

Why does my whakamole game run fine in TGB but after I build it, the moles no longer spawn. Has anyone else run into this?

I have deleted the dso file and for grins I put my project dso files into the built gamescript dir with no success.

The only error in my console log is about an art resource, I'm not sure if that's the problem because the project version throws the same error, yet runs fine.

I'll be more than happy to post my project files or the content of the cs files.

Any help would be greatly appreciated..thanks My kids love this game but I'd like them to be able to run it without requiring TGB. :)

#1
02/22/2009 (7:10 pm)
okay so this is odd....if I include the source it works when complied...weird
#2
02/25/2009 (1:42 pm)
When you created the project, did you check the option to include the executable?
#3
02/25/2009 (2:14 pm)
when I did that it all worked...it just didn't work without the source
#4
03/05/2009 (9:01 am)
Cheryl, if you want to zip it up and put it someplace, I'll take a gander at it.
#5
03/05/2009 (9:17 am)
Here it is. Thanks for your time and suggestions. :)

http://www.divinegames.net/files/whackamole.zip
#6
03/05/2009 (11:36 am)
I've downloaded it, so you can remove it if you want. I'll look at it this weekend at the latest. The main problem seems to be that you can't see the moles or that they don't actually spawn at all?
#7
03/05/2009 (11:39 am)
they only spawn if you build it with the source files, not the end of the world but I thought that was strange
#8
03/05/2009 (12:21 pm)
It definitely won't work with just the .dso files, I just tested that.
#9
03/05/2009 (12:40 pm)
OK, the problem is almost certainly in the game/gameScripts/datablocks.cs file.

By default, this is supposedly for use with the editor as well. At this point, I'm not sure why it won't work as a .DSO file, but you could probably find a workaround to that if you don't rely on the editor (since it's supposed to read this file).
#10
03/06/2009 (12:26 pm)
Do you want a version that'll work without the editor? If so, I can end it right back to you now.
#11
03/06/2009 (12:28 pm)
sure I can learn from it, thanks!

ccgr at ccgr .org
#12
04/12/2009 (11:25 pm)
@Jason

Can you post the problem and the fix for somone who has the same problem?