Creating "templates" for cloning and different levels
by Anonymous · in Torque Game Builder · 06/19/2011 (7:52 am) · 1 replies
Hello,
I just started working with T2D on a platformer for a student project and I noticed that there are some steps involved to setup an object like a character or an enemy. If I want to set a lot of enemies with the same characteristics(graphics, dynamic fields, physics and scripts), I have to do the same work all over again for each of the enemies. Is there a way to save an object with all its properties as a template for easier usage?
The same applies to setting up the player character for every level.
I am the coder in the team and the level designers want to have something like a toolbox where they can pick the desired object and just place it in the scene, tweak it a little and don't spend a lot of time to set up the same characteristics for every object they place.
One particular aspect for the usage of templates is when using projectiles in different levels. I followed the shooter tutorial and repeating these steps for every level seems more like an ordeal without templates that need to be placed and tweaked a little.
With the planed number of levels higher than 20 it involves a lot of repeated work and wasted time that could be used for balancing.
Any suggestion is welcome,
Apolyon
I just started working with T2D on a platformer for a student project and I noticed that there are some steps involved to setup an object like a character or an enemy. If I want to set a lot of enemies with the same characteristics(graphics, dynamic fields, physics and scripts), I have to do the same work all over again for each of the enemies. Is there a way to save an object with all its properties as a template for easier usage?
The same applies to setting up the player character for every level.
I am the coder in the team and the level designers want to have something like a toolbox where they can pick the desired object and just place it in the scene, tweak it a little and don't spend a lot of time to set up the same characteristics for every object they place.
One particular aspect for the usage of templates is when using projectiles in different levels. I followed the shooter tutorial and repeating these steps for every level seems more like an ordeal without templates that need to be placed and tweaked a little.
With the planed number of levels higher than 20 it involves a lot of repeated work and wasted time that could be used for balancing.
Any suggestion is welcome,
Apolyon
Conor O'Kane
cokane.com