Repeller- and AttractorComponent @ PlatformerKit
by Zilla · in Torque X 2D · 07/15/2007 (6:31 am) · 2 replies
(I'm not sure but I will post in this forum...)
I was trying to implement the Repeller- and AttractorComponent (and the AI) for the Microbes from the Torque X Tutorial into the Platformer Kit, so that the player can push the enemies (drills) around (and groups of drills stay close together). But I don't succeed because the game already crashes after it was loaded. Before posting more details, how would YOU implement such a behaviour for the drills? Is it a good idea to modify the mentioned components or should I start from scratch?
I was trying to implement the Repeller- and AttractorComponent (and the AI) for the Microbes from the Torque X Tutorial into the Platformer Kit, so that the player can push the enemies (drills) around (and groups of drills stay close together). But I don't succeed because the game already crashes after it was loaded. Before posting more details, how would YOU implement such a behaviour for the drills? Is it a good idea to modify the mentioned components or should I start from scratch?
#2
but i have solved this particular problem, because i attached the components to the wrong objects. i am still a bit confused about puppets, spawners, mounted objects etc. ;-) but i'm learning...
i still cannot push the drills in the PlatformerDEMO around, but when i create a level based on the PlatformerSTARTERGAME, then i am able to move the spawned templates, though they do not behave like in the DEMO, because of the missing components. if i add an actorcomponent to the drill, then i cannot push it anymore. i have to analyze it...
07/16/2007 (2:13 pm)
Quote:Was it complaining about anything specific?no, it just crashed.
but i have solved this particular problem, because i attached the components to the wrong objects. i am still a bit confused about puppets, spawners, mounted objects etc. ;-) but i'm learning...
i still cannot push the drills in the PlatformerDEMO around, but when i create a level based on the PlatformerSTARTERGAME, then i am able to move the spawned templates, though they do not behave like in the DEMO, because of the missing components. if i add an actorcomponent to the drill, then i cannot push it anymore. i have to analyze it...
Torque Owner Dan Maruschak