Checkers demo not working
by Robert Geiman · in Torque Game Builder · 06/29/2006 (12:38 pm) · 5 replies
I'm unable to get the checkers demo working. I'm able to connect to another game, but neither side is able to move a piece once the game starts (even though one side gets the "It's your turn" message).
Has anyone else experienced this?
Has anyone else experienced this?
#2
I have set the class and super class on the checkerboard image in my level, so I don't know what it's not finding. The function ClientCheckerBoard::init is in there
07/09/2006 (4:08 pm)
I can't get any pieces to show up, and neither can a friend of mine. I have gotten through part 5 of the tutorial, but when I start up both sessions, I get the message in the log on the connecting machine "MyCheckersDemo/gameScripts/client/clientCheckers.cs (60): Unable to find object: 'ClientCheckerBoard' attemptiong to call function 'init'I have set the class and super class on the checkerboard image in my level, so I don't know what it's not finding. The function ClientCheckerBoard::init is in there
#3
Thanks for posting your problems on the boards, if you ever have issues or questions feel free to ask. Could you zip up your working directory and e-mail it to me at -
mattl AT garagegames DOT com
and I'll take a look at it :)
07/10/2006 (4:25 pm)
Hey Zachary, Thanks for posting your problems on the boards, if you ever have issues or questions feel free to ask. Could you zip up your working directory and e-mail it to me at -
mattl AT garagegames DOT com
and I'll take a look at it :)
#4
However in your included example, Matt, it has the name and then class as ClientCheckerBoard and Checkerboard, respectively, and nothing for super class. Now the checkers load. Onto part five of the tutorial!
Thanks for including a working version, by the way. :) Thanks for including it at all, in fact, since I am new to networked turn based game architecture, and I find it extremely informative and easy to understand so far.
07/25/2006 (9:36 pm)
Figured it out. In the "Scripting" tab for the checkerboard, the first t2dStaticSprite, the tutorial says to set the class and super class as ClientCheckerBoard and CheckerBoard, respectively.However in your included example, Matt, it has the name and then class as ClientCheckerBoard and Checkerboard, respectively, and nothing for super class. Now the checkers load. Onto part five of the tutorial!
Thanks for including a working version, by the way. :) Thanks for including it at all, in fact, since I am new to networked turn based game architecture, and I find it extremely informative and easy to understand so far.
#5
03/23/2009 (1:33 pm)
im confused on this. In the tutitorial it says nothing of setting the super class, it says just as matt has name and class. should i set it as zachary has or what.
Torque 3D Owner Matt Huston
Atomic Banzai Games