Game Development Community

Torque X 2.0 Platformer Starter Kit

by John Kanalakis · in Torque X Platformer Kit · 06/16/2008 (1:58 pm) · 29 replies

The Torque X 2.0 Platformer Starter Kit is now available in the Game Store and downloadable from your accounts page. Big thanks to all the Beta testers that helped pull together the testing feedback. This version of the Platformer Kit is fully compatible with the latest Torque X 2.0 Game Engine.

John K.

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.

Page«First 1 2 Next»
#21
07/01/2008 (11:57 am)
I think you haven't created a Xbox 360 copy of Platform Framework. You should have four projects in the solution. 2 for PC and 2 for 360.
#22
07/01/2008 (12:33 pm)
Ah Ha! Looks like I only had 2 for the PC and 1 for the 360 and needed to do the same for the windows "PlatformerFramework" as I did for the windows "Game". (Right click, "Create Copy of Project for Xbox 360")

Thanks!
#23
07/12/2008 (11:16 am)
I keep getting ContentNodeGenerator.exe has stoped working errors when I try to save a scene, and the level will error when I try to deploy to the Xbox360.

What is causing this error?

My OS is Vista.
#24
07/12/2008 (1:47 pm)
Has the installer error been fixed when looking for the express versions, or is it still there?
#25
07/12/2008 (2:22 pm)
OK, this is frustrating.

I need step by step instruction to make a 360 version I guess. The directions in the User Guide do not work. After searching I finally found the Xbox Project Generator it says to run, and after all that effort the program just says its already a 360 project.

So please, how do I convert a basic PlatformerDemo or PlatformerStarterGame to Xbox 360 correctly?

I was creating a using Create Copy to Xbox 360 Project on the Framework and Game projects, then setting them to the correct order and start settings.

I've gotten it to run once, but only after removing all kinds of stuff because I'm getting errors all over the place. I have to remove the references to System.Data, and the demo scene in the levels. Then I got it to compile and run on the Xbox360, finnaly.

So I open TXB, create a new scene, just like the instructions say, and of course that errors with the ContentNodeGenerator.exe error I posted about when I try to save. (BTW I've tried this without making any 360 chages - as a PC game, and still get this error everytime) And now, my solution is screwed. If I open it up and build it gets all new errors now and the I get "PlatformerDemo has stoped working" in Studio Express. And I get the lovely error:


C:\Windows\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(3109,13): error MSB3073: The command ""D:\Documents\Visual Studio 2005\Projects\johnDemo1\johnDemo1\Game\bin\Xbox 360\Debug\Game.exe" -exportschema "D:\Documents\Visual Studio 2005\Projects\johnDemo1\johnDemo1\Game\myschema.txschema"" exited with code -532459699.


What gives? Is this Starter Pack even functional for 360 use? I ask this because Everything seems to be fine with Studio and TXB if I just use a regular Torque X 2D project and not the Platformer Starter Kits.

Please let me know what I can do to get this going. Thanks for you help in advance!
#26
07/16/2008 (1:15 pm)
I did get that error. There's tons of errors. Just try closing everything. Open up the VS platform project and compile it again. It should work eventually!!
#27
07/16/2008 (5:52 pm)
Thank you Vishal. That helped.

Here's where I'm at now...

I got the PC version to compile with you sugestion of going in and out of VS until it worked.

To get the X360 version working I had to do a few extra steps:

1. Make the Xbox 360 copies of the Framework and Game
2. Fix the reference to System.Data by removing it and then re-adding it.
3. Had to add the platform image by hand because it TXB didn't do it for me.
4. Had to add my level by hand because the TXB didn't do it for me.
5. Had to add the reference to the 360 copy of the PlatformFramework project to Game project.
6. Exit and start a few times :(
7. It finally built and I could deploy to X360 and play my own test level. :)

Now, if I used Rebuild on the PC version it works well, but if I use Rebuild on the X360 version, I get the "PlatformerDemo has stoped working" and 1 errors and 2 warnings:

Warning 1 Project item 'levels\level_01.txscene' was not built with the XNA Framework Content Pipeline. Set its Build Action property to Compile to build it. Xbox 360 Copy (2) of Game
Warning 2 Project item 'levels\my_level_01.txscene' was not built with the XNA Framework Content Pipeline. Set its Build Action property to Compile to build it. Xbox 360 Copy (2) of Game
Error 3 The command ""D:\Documents\Visual Studio 2005\Projects\PTest\PTest\Game\bin\Xbox 360\Debug\Game.exe" -exportschema "D:\Documents\Visual Studio 2005\Projects\PTest\PTest\Game\myschema.txschema"" exited with code -532459699. Xbox 360 Copy (2) of Game

But, using a build seemed to work. Any clue why?

But in the end, its working! I'm happy. :)

Thanks for your help!
#28
07/17/2008 (2:47 pm)
Don't worry about the warnings, on the properties for the level file, just set the 'Build Action' to None and they will disappear.
#29
08/06/2008 (3:01 pm)
I started to work with the PlatformerStarterGame Template and had two issues described in this thread.

Problem: It ran unbearably slow.
Solution: Copy-and-paste the code listed below into the torqueSettings.xml file.
<UseInterpolation>false</UseInterpolation>
Problem: The camera doesn't move with the character.
Solution: Replace the first code line listed below with the second line in the PlayerActorComponent.cs file.
T2DSceneCamera camera = SceneObject.SceneGraph.Camera as T2DSceneCamera;
T2DSceneCamera camera = TorqueObjectDatabase.Instance.FindObject<T2DSceneCamera>("Camera");
I hope this helps others.
Page«First 1 2 Next»