mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-06 14:00:39 +00:00
Adds some example components, game objects and the tools and scripts to utilize them.
This commit is contained in:
parent
7bf49f0670
commit
6fe0b1789d
32 changed files with 1812 additions and 0 deletions
|
|
@ -58,3 +58,23 @@ exec("./turret.cs");
|
|||
// Load our gametypes
|
||||
exec("./gameCore.cs"); // This is the 'core' of the gametype functionality.
|
||||
exec("./gameDM.cs"); // Overrides GameCore with DeathMatch functionality.
|
||||
|
||||
//Entity/Component stuff
|
||||
if(isFile("./components/game/camera.cs"))
|
||||
exec("./components/game/camera.cs");
|
||||
if(isFile("./components/game/controlObject.cs"))
|
||||
exec("./components/game/controlObject.cs");
|
||||
if(isFile("./components/game/itemRotate.cs"))
|
||||
exec("./components/game/itemRotate.cs");
|
||||
if(isFile("./components/game/playerSpawner.cs"))
|
||||
exec("./components/game/playerSpawner.cs");
|
||||
if(isFile("./components/input/fpsControls.cs"))
|
||||
exec("./components/input/fpsControls.cs");
|
||||
if(isFile("./components/input/inputManager.cs"))
|
||||
exec("./components/input/inputManager.cs");
|
||||
|
||||
if(isFile("./gameObjects/GameObjectManager.cs"))
|
||||
{
|
||||
exec("./gameObjects/GameObjectManager.cs");
|
||||
execGameObjects();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue