Gameplay Question?
by Chris Ickes · in General Discussion · 05/18/2008 (8:19 pm) · 0 replies
Ok so as before I am just getting used to the TGEA engine. I know that the majority if not all of the code I will be writing will be in TorqueScript. The engine has a player class and the main gameplay class' that a game would need. So would I have to make a weapons class heiarchy for my game in TorqueScript if I have many weapons in my game? May seem like a weird question but I am used to the full C++ style of coding and not the torque way yet. I'm used to polymorphism to the extreme when it comes to the gameplay classes. For example you start of with a base object and go down the tree with a weapon and a Actor class derived from that base object class just for example purposes, would have to implement this in TorqueScript or does the engine have all of that already taken care of for me? If the question is confusing I'm sorry but thats best way I can ask it.
About the author