checkers!
by Nathan Lowe · in Torque Game Builder · 02/21/2010 (8:44 am) · 9 replies
Hey everyone. total noob here but I have a question that someone here can answer.
I have been working through the tutorials and all has been going fine until the last couple.
The whack a mole tutorial would not update my text objects. I double checked all of the code and it is all there. I didn't retype it I just cut and pasted into the different scripts. Any ideas?
Secondly on the checkers tutorial I got to the end of section 4.3 with no problems but when I run the game it is not closing the server dialogue like it is supposed to and the checkers are not appearing on the game board. Again I have cut and pasted all of the sample script and it is all where it is supposed to be but it is not working as described.
thanks for any advice.
I have been working through the tutorials and all has been going fine until the last couple.
The whack a mole tutorial would not update my text objects. I double checked all of the code and it is all there. I didn't retype it I just cut and pasted into the different scripts. Any ideas?
Secondly on the checkers tutorial I got to the end of section 4.3 with no problems but when I run the game it is not closing the server dialogue like it is supposed to and the checkers are not appearing on the game board. Again I have cut and pasted all of the sample script and it is all where it is supposed to be but it is not working as described.
thanks for any advice.
About the author
Amateur game designer, developer and coder.
#2
The moleLevel.cs is being exec'd. I have no idea what I could have done. Like I said, I have simply cut and pasted the sample script from the tutorial and it is all in the correct place.
02/21/2010 (11:47 pm)
specifically, I added the text objects for "whacked, missed, and timer" but they are not updating when the game is running.The moleLevel.cs is being exec'd. I have no idea what I could have done. Like I said, I have simply cut and pasted the sample script from the tutorial and it is all in the correct place.
#3
02/22/2010 (12:37 am)
Did you check the console to see if there are any errors?
#4
02/22/2010 (2:52 am)
There were errors one time I ran it but the other times there were none.
#5
I just went through the Checkers tutorial and fixed quite a few code bugs. I have it working with TGB 1.7.5, but I am tempted to remove the tutorial all together from the documentation. I'm not really happy with it as a whole. If I were to post the fixes, I would actually probably rewrite it completely with behaviors, more explanation on the networking, cleaner code, and so on...lot of effort, and only worth it if a lot of people like it.
Your thoughts?
05/18/2010 (3:27 pm)
Sorry for necroing this thread, but I thought I would post here in case others come across the thread:I just went through the Checkers tutorial and fixed quite a few code bugs. I have it working with TGB 1.7.5, but I am tempted to remove the tutorial all together from the documentation. I'm not really happy with it as a whole. If I were to post the fixes, I would actually probably rewrite it completely with behaviors, more explanation on the networking, cleaner code, and so on...lot of effort, and only worth it if a lot of people like it.
Your thoughts?
#6
05/18/2010 (4:05 pm)
Might be worth it depending on all the steps involved. Are the steps in checkers, missing or non existent in other tutorials? If so it might be a huge help to some.
#7
After talking with Mich a bit, I'm currently reworking two of the commonly-used (which often have issues brought up with them, such as a lack of completion) tutorials. The Checkers tutorial was one of the ones I'd been scoping out as a possible rewrite/update in the future, after I've gotten the ball rolling with other tutorial revamps.
If anybody has any suggestions for tutorials, or ones that they would like to see updated (for example, a tutorial that uses classes instead of behaviors), feel free to send me an email (minalien [に] gmail [ドット] com), hit me up on GTalk/Jabber (same as my gmail address), or hit me up on IRC (I'm usually logged in as Samantha or Sammy-kins).
05/18/2010 (7:26 pm)
Haven't said much of it yet to public ears, but I'm planning on helping by updating/rewriting a number of tutorials that are on TDN to make sure that they're all working (efficiently) with TGB 1.7.5, and I'd be happy to hear what tutorials don't exist that people would like to see.After talking with Mich a bit, I'm currently reworking two of the commonly-used (which often have issues brought up with them, such as a lack of completion) tutorials. The Checkers tutorial was one of the ones I'd been scoping out as a possible rewrite/update in the future, after I've gotten the ball rolling with other tutorial revamps.
If anybody has any suggestions for tutorials, or ones that they would like to see updated (for example, a tutorial that uses classes instead of behaviors), feel free to send me an email (minalien [に] gmail [ドット] com), hit me up on GTalk/Jabber (same as my gmail address), or hit me up on IRC (I'm usually logged in as Samantha or Sammy-kins).
#8
05/18/2010 (7:46 pm)
I think a comprehensive tutorial on class (and superclass) implementation would be great. Btw, I use behaviors in my classes so they don't have to be mutually exclusive. Best class practices in TGB is something that I lot of people would find useful.
#9
05/25/2010 (1:02 am)
As far as tutorials I would like to see a in depth tutorial about behaviors. Not just how to use them but how to script them. Specifically in regards to sound effects.
Torque Owner Cassy Brink
Minalien.com
As far as the whack-a-mole tutorial goes, could you tell us where, specifically, you are having the issue? Check your console and find out if there are any errors, and double-check to make sure that you are executing (exec("scriptFilename");) the scripts.