Torque X Book Samples Updated to XNA 3.1 and Torque X 3.1.1
by John Kanalakis · in Torque X 3D · 09/10/2009 (6:04 pm) · 13 replies
Hello,
By popular request, the Torque X Book example code has been updated to the XNA 3.1 and Torque X 3.1.1 releases. To view the sample projects, you will need to install Visual Studio 2008 Express or Professional, the XNA 3.1 Framework, and the latest Torque X 3.1.1 release.
You can download the installer, which includes all chapter code from here:
www.envygames.com/content/index.php/torque-x-book
As always, if you have any questions or comments, please post here or email me.
John K.
www.envygames.com
By popular request, the Torque X Book example code has been updated to the XNA 3.1 and Torque X 3.1.1 releases. To view the sample projects, you will need to install Visual Studio 2008 Express or Professional, the XNA 3.1 Framework, and the latest Torque X 3.1.1 release.
You can download the installer, which includes all chapter code from here:
www.envygames.com/content/index.php/torque-x-book
As always, if you have any questions or comments, please post here or email me.
John K.
www.envygames.com
About the author
John Kanalakis is the owner of EnvyGames, an independent game development studio in Silicon Valley that produces games and tools for Xbox 360, Windows, and the Web.
#2
09/12/2009 (10:34 am)
Looks like examples for 12 and 13 are missing sky textures.
#3
John K.
www.envygames.com
09/12/2009 (1:05 pm)
I don't think so. When you open the project in Visual Studio, go to the Solution Explorer. Then, expand the Content(data) node and then the skies node. You should see 6 files there that compose the skybox. And when you run the game, you should see a tan/blue skybox. Please let me know of you do not see those file there. John K.
www.envygames.com
#4
When I attempt to build I get this: "Error 1 Missing asset "C:\Torque X Book Sample Code\Chapter12\MyXnaFPS\MyXnaFPS\Game\data\skies\back.jpg". C:\Torque X Book Sample Code\Chapter12\MyXnaFPS\MyXnaFPS\Game\data\skies\back.jpg Game"
When I navigate to the directory using windows explorer, I find ...\data\skies empty.
I copied over some textures from the FPS demo, and the next error I got was: "Error 1 Missing asset "C:\Torque X Book Sample Code\Chapter12\MyXnaFPS\MyXnaFPS\Game\data\shapes\boombot\blue_ID1.jpg". C:\Torque X Book Sample Code\Chapter12\MyXnaFPS\MyXnaFPS\Game\data\shapes\boombot\blue_ID1.jpg Game"
Browsing the project in Visual Studio, it looks like the 7 jpg's needed are all missing. Nothing else is showing the yellow and black exclamation point.
Thank you for your prompt response.
09/13/2009 (12:41 am)
Following your instructions, I do indeed see 6 files ( in visual studio ), each one with a yellow and black exclamation point. When I attempt to build I get this: "Error 1 Missing asset "C:\Torque X Book Sample Code\Chapter12\MyXnaFPS\MyXnaFPS\Game\data\skies\back.jpg". C:\Torque X Book Sample Code\Chapter12\MyXnaFPS\MyXnaFPS\Game\data\skies\back.jpg Game"
When I navigate to the directory using windows explorer, I find ...\data\skies empty.
I copied over some textures from the FPS demo, and the next error I got was: "Error 1 Missing asset "C:\Torque X Book Sample Code\Chapter12\MyXnaFPS\MyXnaFPS\Game\data\shapes\boombot\blue_ID1.jpg". C:\Torque X Book Sample Code\Chapter12\MyXnaFPS\MyXnaFPS\Game\data\shapes\boombot\blue_ID1.jpg Game"
Browsing the project in Visual Studio, it looks like the 7 jpg's needed are all missing. Nothing else is showing the yellow and black exclamation point.
Thank you for your prompt response.
#5
09/13/2009 (8:14 am)
Great John! Will check it out later today.
#6
12/07/2009 (11:30 am)
I download Torque X 3D 3.1.4.0 Trial, with vs 2008 and XNA 3.1, but your chapter 2 and all others don't work. Please updated and send me news.
#7
12/07/2009 (1:58 pm)
I bought the book and it should be arriving soon, but I'm into TX2D right now -- since you posted this bit of news in the TX3D forum, I assume there's nothing new for TX2D? Just wondering. Cheers.
#8
01/11/2010 (2:57 am)
I bought the book and downloaded the code. As I am following along I noticed that there are models that did not come with the code and images as well. Do you have a complete Content pack available for this?
#9
01/11/2010 (11:11 pm)
what models are you missing?
#10
I went back and forth for about an hour..this is something simple.
step 1).Select Your Project create, copy for xbox
step 2).Check/Modify Build Config for Projects and dependancies
step 3).Debug/X386 Release / console
This is where I would like Enlightemment.
Please..
tried different combos / 10 times..no dice..
my computer..builds and runs fine..
baffled...
02/03/2010 (6:55 am)
John..I can not get my project to my xbox....I followed the book..pge 371 and I am not getting that message "Shared source code"..my new xbox project refernces are broken..and when I try to create them..xna says there circular..and theres a new choice..dual build..I went back and forth for about an hour..this is something simple.
step 1).Select Your Project create, copy for xbox
step 2).Check/Modify Build Config for Projects and dependancies
step 3).Debug/X386 Release / console
This is where I would like Enlightemment.
Please..
tried different combos / 10 times..no dice..
my computer..builds and runs fine..
baffled...
#11
02/03/2010 (2:07 pm)
You need to create xbox projects for 1: your project, 2: Torque 3D and 3: Torque Core. Then you have to make certain you fix all the references. Then go into configuration manager and fix everything there so that all your configs compile correctly. I know that it is explained step by step somewhere in these forums.
#12
Solution 'MyXnaFPS'-->Game-->Content (data)-->skies
Are these files available for download somewhere? I realize this thread is almost a year old, but does anyone know where these files are available for download?
Thanks in advance

09/04/2010 (12:54 am)
Referring to posts #2, #3 and #4, I am experiencing the exact same thing as Kyle mentioned. In Solution Explorer, the .jpg files referenced all have exclamation marks by them and they don't exist in the hard drive directories where they are expected to be:Solution 'MyXnaFPS'-->Game-->Content (data)-->skies
Are these files available for download somewhere? I realize this thread is almost a year old, but does anyone know where these files are available for download?
Thanks in advance
Here is what Solution Explorer in VC#Express shows:

Here is the directory structure where the files should be but aren't:
#13
09/14/2010 (1:32 am)
@Neil: I guess those are the Torque 3D stock assets ;)
Eric McQuiggan