Tutorial Bug
by Zachary Buckholz · in iTorque 2D · 02/25/2011 (9:57 pm) · 3 replies
Currently working thru the Rainy Day Tutorial
TorqueiTorque 2D 1.4documentationOfficial Documentation.html
The tutorial neglected to mention 'Edit level datablocks' which seems to be required to have the sprites show up when running the game. I got past this from knowledge of a previous tutorial I worked on.
But I am stuck on the 'behaviour' code. The instructions said to save the code to a file named 'MovementBehavior.cs'. The path mentioned in the tutorial didn't exist, my code base appears under 'C:Program FilesTorqueiTorque 2D 1.4MyProjectsRainyDayTutorialprojectFiles'.
Regardless, I saved the bahaviour code to a file named 'MovementBehavior.cs' in every sub-directory, and clicked 'Reload Project' after each save then looked for the new behaviour in the gui and it never appeared.
Can anyone provide the correct location where this .cs file should be saved? As I mentioned I saved it to each sub-directory hoping eventually I would find the correct location. There is no 'Behaviors' sub-directory as the tutorial mentions, I even created a new directory called 'behaviors' under 'C:Program FilesTorqueiTorque 2D 1.4MyProjectsRainyDayTutorialprojectFilesgame'. Still no luck.
Thanks
TorqueiTorque 2D 1.4documentationOfficial Documentation.html
The tutorial neglected to mention 'Edit level datablocks' which seems to be required to have the sprites show up when running the game. I got past this from knowledge of a previous tutorial I worked on.
But I am stuck on the 'behaviour' code. The instructions said to save the code to a file named 'MovementBehavior.cs'. The path mentioned in the tutorial didn't exist, my code base appears under 'C:Program FilesTorqueiTorque 2D 1.4MyProjectsRainyDayTutorialprojectFiles'.
Regardless, I saved the bahaviour code to a file named 'MovementBehavior.cs' in every sub-directory, and clicked 'Reload Project' after each save then looked for the new behaviour in the gui and it never appeared.
Can anyone provide the correct location where this .cs file should be saved? As I mentioned I saved it to each sub-directory hoping eventually I would find the correct location. There is no 'Behaviors' sub-directory as the tutorial mentions, I even created a new directory called 'behaviors' under 'C:Program FilesTorqueiTorque 2D 1.4MyProjectsRainyDayTutorialprojectFilesgame'. Still no luck.
Thanks
About the author
Linux admin currently on contract for large multi-national company that provides payment solutions for business's and individuals. Looking forward to mastering this iTorque 2D technology, and creating really cool games with my 10 year old son.
Torque 3D Owner Ronny Bangsund
Torque Cheerleaders
Put your behaviours inside "game/scripts/behaviors/".