Noob Problem
by Sixty-Ten · in Game Design and Creative Issues · 09/04/2009 (2:37 pm) · 7 replies
Hi, I'm new to Torque so please forgive me: I'm not sure where to post this.
I've been trying some of the tutorials, but none seem to work for me. Right now I'm going through the Fish tutorial. I have a basic grasp of TGB script (I am used to working with Java) but the game seems to not load them. All of the scripts are in the right place, right names and the scripts themselves are all right in line with the tutorials, but when I test the game I can't do anything. The key functions don't work.
What am I doing wrong?
I've been trying some of the tutorials, but none seem to work for me. Right now I'm going through the Fish tutorial. I have a basic grasp of TGB script (I am used to working with Java) but the game seems to not load them. All of the scripts are in the right place, right names and the scripts themselves are all right in line with the tutorials, but when I test the game I can't do anything. The key functions don't work.
What am I doing wrong?
#2
I have done everything exactly, but when I go to test the level, none of the scripts seem to work: none of the scripted keys have any affect. The sprite just sits in the middle of the screen.
I had the same problem with the Brickout tutorial. Instead of the sprite following the left/right mouse movement, the mouse was pinned the the center of the screen. It wouldn't budge.
09/04/2009 (5:30 pm)
I'm using Torque 2d v1.7.4I have done everything exactly, but when I go to test the level, none of the scripts seem to work: none of the scripted keys have any affect. The sprite just sits in the middle of the screen.
I had the same problem with the Brickout tutorial. Instead of the sprite following the left/right mouse movement, the mouse was pinned the the center of the screen. It wouldn't budge.
#3
09/05/2009 (3:39 am)
did you do a recompile or anything. did you recheck your scripts for a error?
#4
09/05/2009 (3:48 am)
The script it fine. Also, seeing as the tutorial mentions nothing about compiling, I assumed it was done automatically when run.
#5
09/07/2009 (10:48 pm)
bring up the console (CTRL+~) after running the game and see if there are any errors
#6
Activation DirectInput...
DirectInput Joystick failed to enable!
All the scrips are there, it's as if the game can't read them.
09/07/2009 (11:41 pm)
OK, no compile errors; however it says I'm missing the player.cs file, which I'm not (its right in the directory) Then it says:Activation DirectInput...
DirectInput Joystick failed to enable!
All the scrips are there, it's as if the game can't read them.
#7
If it says you are missing a file, then it is right. There is a path error in your code. Please check again.
Best bet is to delete the player.cs and player.cso (compiled) files you have and create a new one in the GameScripts directory. Then copy and paste from the tut and run again.
09/09/2009 (2:17 am)
Ignore the Joystick error. You can even comment out that line in the code.If it says you are missing a file, then it is right. There is a path error in your code. Please check again.
Best bet is to delete the player.cs and player.cso (compiled) files you have and create a new one in the GameScripts directory. Then copy and paste from the tut and run again.
Torque 3D Owner Edward