Request for Scripting assitance
by RAHUL THAKUR · in Technical Issues · 03/05/2008 (9:37 pm) · 2 replies
I am using Torque Game Builder v1.7.2.
I am making a small side scrolling shooter game but, I cant figure out how to code the enemy formation (specifically using a set of enemy objects under one name). I have spent two weeks on this.
Can you help me out for this?
I am making a small side scrolling shooter game but, I cant figure out how to code the enemy formation (specifically using a set of enemy objects under one name). I have spent two weeks on this.
Can you help me out for this?
About the author
#2
I am a new user of torque game builder scripting. I have found information for simgroup but, can't understand how to use it for what I want to do.
I'm creating a side-scrolling shooter game, and am currently trying to write code for the enemies.
Basically, I want to dynamically (at run time) create a formation of objects, and move the formation through the screen from right to left.
The formation will have a "leader" object, and all other objects of the formation will be "followers".
The leader will follow a pre-defined path through the screen.
The followers will follow the path taken by the leader (and will stay in the shape of the formation at all times).
How do I do this?
03/06/2008 (1:14 am)
Thank You for your reply.I am a new user of torque game builder scripting. I have found information for simgroup but, can't understand how to use it for what I want to do.
I'm creating a side-scrolling shooter game, and am currently trying to write code for the enemies.
Basically, I want to dynamically (at run time) create a formation of objects, and move the formation through the screen from right to left.
The formation will have a "leader" object, and all other objects of the formation will be "followers".
The leader will follow a pre-defined path through the screen.
The followers will follow the path taken by the leader (and will stay in the shape of the formation at all times).
How do I do this?
Torque Owner Cinder Games
SimGroup.getObject(1).doSomething