Game Development Community

[solved]Platformer Kit doesn't work

by GxG6(Mark-Anthony) · in Torque X 2D · 04/09/2010 (6:36 pm) · 5 replies

Ok so I bought the TorqueX 2D platformer kit today. installed the version 3.1.0.1
went to build the game and encountered an error.
using GarageGames.Torque.Core;
using GarageGames.Torque.Core.Xml;
using GarageGames.Torque.SceneGraph;
using GarageGames.Torque.Sim;
using GarageGames.Torque.GameUtil;
using GarageGames.Torque.GUI;
using GarageGames.Torque.T2D;
using GarageGames.Torque.Platform;
using GarageGames.Torque.Util;
using GarageGames.Torque.XNA;

using GarageGames.Torque.PlatformerFramework;

every last one of these garagegames refs are producing errors....

at first it was just a reference error and i tried adding the torque refs but i ended up with this error
protected override void SetupEngineComponent()
        {
            base.SetupEngineComponent();

            // register the platformer framework with the engine component, so that we can load its types from XML
            base._engineComponent.RegisterAssembly(typeof(PlatformerData).Assembly);
        }
the line pointing to the assembly "PlatformerData" is giving the error. at that point i am stuck :/

i had checked the forums before had and saw other peple had this error then I saw that this lastest version had fixed it so i went ahead and bought it. but the problem still occurs.. what can possibly be wrong? and fix to this?

#1
04/09/2010 (7:05 pm)
You must have an issue with your VS install or something, I know I have run through these setups a number of times. Did you install VS2008 or VSexpress. install that first, if you are using VS2008 you absolutely need to update to SP1. www.microsoft.com/downloads/details.aspx?FamilyId=FBEE1648-7106-44A7-9649-6D9F6D...

Then run it to make certain its all there, then install XNA framework, run it to make certain you can make an XNA project. Then install the GG stuff.

You were able to purchase platformer kit with the CC club? about a month ago people were complaining they couldn't buy it without a source license.

Good luck and just ask if you need any help

#2
04/09/2010 (7:17 pm)
In VS click the references under game. Make certain that you have both GarageGames.TorqueX.Framework and GarageGames.TorqueX.Framework2D

If you don't or one or both have a yellow triangle you need to add the references.

if they have a yellow triangle remove them.

right click on References. Select Add Reference. Click the Browse tab. navigate to c:/program files/common files/garagegames/x86. it will be in program files(x86) if you are running a 64 bit OS. Select both framework dll's

Do the same for the Platformer Framework in it's refernces section.

That should do it.
#3
04/10/2010 (6:43 am)
well i installed vs2008 through XNA creator club, I wasn't aware of a service pack though. maybe its that? but i have made a game using XNA only before and it ran with no problem :/ i will try reinstalling vs2008 with the service pack and see what happens. i'll post the results tonight when i get home.
#4
04/10/2010 (2:18 pm)
The free VS? That is the express edition, no need for service pack. Check the references.
#5
04/10/2010 (3:10 pm)
oh man thanks again henry you are a life saver i was pointing to the wrong references.