Game Development Community

T2D component no longer avaliable

by Anachronistic · in Torque X 2D · 07/21/2010 (1:24 am) · 5 replies

i have been working on a platformer in torque x 2d using the psk and have gotten to the stage where i would like to create my own components. i have however come across a problem as when in visual studio and selecting add new item i haven't got the option to create a T2D component as i did before installing the platformer starter kit.

i have tried using a 'game component' instead but have come across a lot of problems with it. is there anyway to bring the t2d option back or is there another method for creating components that i am unware of?

thanks

#1
07/21/2010 (10:20 am)
A game component sounds like it is an XNA component, which is something different from a T2D component. I'm not sure why your T2D option is missing, but if you have to you can simply copy an existing component you've already done and just change it to do the new task/s that are needed.
#2
07/22/2010 (12:17 am)
Try highlighting XNA Game Studio 3.1 on the left side of the dialog, under Categories. Changing the selection there will offer a different set of templates.
#3
07/23/2010 (6:16 am)
thanks for the reply

i have selected xna game studio when creating a new item but the red torque component options still don't appear only the platformer demo and platformer starter.

i have tried copying an existing component but it appears to not translate over some of the key methods that i think are standard to a new t2dcomponent like processtick
#4
07/23/2010 (6:39 am)
to be a little more specific of my problems with using an existing component (the only ones avaliable to me being those built into the engine, found through the tutorial and the platformer kit) and editing i am getting an error:
'StarterGame2D.AssortedDelegates' does not implement interface member 'GarageGames.Torque.Sim.ITickObject.InterpolateTick(float)'

i took this to mean that when you create a t2d component some methods and variables are preset that would mean this error wouldn't occur. its a bummer cos i'm trying to finish the 'so you want to create an arena shooter tutorial' but have gotten stuck at this hurdle.
#5
07/26/2010 (4:14 am)
Uninstalled 3.1.0.1 and installed 3.1.5 and the Torque 2D component is available.