Game Development Community

Fish Tutorial problems

by Chad Burns · in Torque Game Builder · 07/25/2007 (6:55 pm) · 7 replies

I have just purchased TGB and I am coming at it as an Ex c++ video game programmer. I decided to leave the business and do other work, but now I miss making games. I thought TGB would be a good way to go, but right away I am having problems though.

I worked my way through the fish demo and am at the step where I set up:
Function FishClass::onLevelLoaded(%this, %scenegraph)
{
%this.setLinearVelocityX(20);
}

I save this and it tells me to give the fish a class, then to run the game. I do this and the following is my problem.


A new window pops up, and all i get is the cursor and if I move the mouse I get a pointer trail.

I know it must be something simple I am missing or my comp is having problems running this for some very odd reason. (Its a gaming machine)

I was told the forums were the best part of TGB. I am hoping you guys can prove this to be true!

Thanks,
Chad

About the author

Recent Threads


#1
07/25/2007 (6:58 pm)
This happens at : Part 4 - Making our fish swim
#2
07/25/2007 (8:10 pm)
Most likely a driver issue (but not 100%)--not all that many games use OpenGL, and you may have an old or possibly minimally implemented OpenGL driver that is causing the issue.

It's also possible that your issue is related to how you "run the game"--are you pressing the "Play" button, or something different?
#3
07/25/2007 (8:11 pm)
I am pushing the play button, I have also went to project-> play.

I will update drivers and see if that helps. I appreciate any other idea's.
#4
07/25/2007 (8:19 pm)
Out of curiosity, what OS are you using? For the record, this is certainly an "external to TGB" error, just remains to be seen what the actual root cause is :)
#5
07/26/2007 (4:34 am)
I just updated my graphics card to the latest drivers, checked their OpenGL settings and all was fine. Tried to run the demo and still nothing.

I am running Windows XP Pro SP2. I have 1gb of ram a 3.4ghz processor.

No reason for this not to run. I am disappointed I am having so many problems.
#6
07/26/2007 (4:36 am)
Also the vid card is a GeForce 6800 GT
#7
07/26/2007 (8:50 am)
That honestly makes no sense at all. My main machine has a GeForce 6800, and my laptop (work) has a GeForceGo 6800 and I have no problems.

--So to back trace: everything worked fine up until that point?

--what happens if you start a new project and try the tutorial again?

--are you having any issues with anything (render wise) in the BehaviorPlayground demo project?

--did you happen to play around with the Gui editor, and/or are you trying any Gui modifications aside from the tutorial in this project?

--can you post the contents of your console.log file?