Game Development Community

Converting my project to 4.0 with the Platformer starter kit

by John Bura · in Torque X 2D · 02/15/2011 (4:48 am) · 0 replies

Has anybody successfully ported your 3.1 platformer starter kit to 4.0? If so I would love to know how you did it. ;)

One of the problems I have been having is the Garagegames.torque2d.framework2d.dll. I think I have to have them in my project but VS 2010 doesn't seem to like them. Here is the error.

An assembly with the same simple name 'GarageGames.TorqueX.Framework2D, Version=3.1.5.0, Culture=neutral, PublicKeyToken=null has already been imported. Try removing one of the references or sign them to enable side-by-side. c:Program FilesTorqueTorque X Platformer Starter Kit 3.1.5Referencesx86GarageGames.TorqueX.Framework2D.dll


I know that Pino has said that you have to replace Hashtable with Dictionary. Im getting a couple of errors there. They are in the ActorAnimation Manager.
public Dictionary Transitions
            {
                get { return _transitions; }
                set { _transitions = value; }
            }

Error 5 Using the generic type 'System.Collections.Generic.Dictionary<TKey,TValue>' requires 2 type arguments E:My DocumentsTorqueXProjectsSilhouette 4.0Torque X Platformer Demo (3.1.5)1PlatformerFrameworkActorAnimationManager.cs 122 20 PlatFramework


Now I think this is step 1 of 2. Step 2 is being able to deploy to the XBOX. We'll see if that will happen.
As of now my game is playtestable in 3.1 I would like to put it in playtest as soon as possible. However, my technical skills are at an intermediate level and a lot of this stuff is a over my head.

Any help you can give me would be great :)

*EDIT*
So when I get an error it says I should delete it. I do and it keeps coming back. The help file 404d. Does anybody know how I can enable them to side by side?