Torque3D - Game Engine
Find a file
JeffR c5ae9af0ae Core now spawns a ControlObject directly, with callbacks allowing overriding of values to control what spawns (and what occurs afterwards) to tie several tracking variables to a given client connection.
By default this list of variables would be:
%this.spawnClass = "Camera";
%this.spawnDBType = "CameraData";
%this.spawnDataBlock = "Observer";
%this.playerSpawnGroups = "PlayerSpawnPoints PlayerDropPoints";
%this.spawnPoint = "";
%this.spawnLocation = "0 0 0";

Also adds several callbacks so that these values can be overridden by modules and gamemodes, kicked off from the %client.spawnControlObject(); command :
callOnModules("setSpawnObjectType", "Game", %this);
callGamemodeFunction("setSpawnObjectType", %this);

callOnModules("setSpawnPoint", "Game", %this);
callGamemodeFunction("setSpawnPoint", %this);

callOnModules("onPostSpawn", "Game", %this);
callGamemodeFunction("onPostSpawn", %this);

This is to ensure that a game mode can supersede modules, but even modules can dictate spawn behaviors for minimalist implementations and drop-in interop support
2024-12-21 02:11:35 -06:00
.github only publish test report on push/merge 2024-05-15 07:55:52 +01:00
Engine Updates DecalRoad, MeshRoad and River to be able to write out via persistManager using specialityField functions, similar to ConvexShape 2024-12-15 23:48:16 -06:00
My Projects changed readme 2014-03-19 02:20:35 +01:00
Templates Core now spawns a ControlObject directly, with callbacks allowing overriding of values to control what spawns (and what occurs afterwards) to tie several tracking variables to a given client connection. 2024-12-21 02:11:35 -06:00
Tools Merge pull request #1297 from marauder2k9-torque/matrix-templated 2024-11-07 16:17:38 -06:00
.editorconfig Fix GitHub Workflow 2023-04-08 00:57:03 +02:00
.gitattributes Update gitattributes with some text files for avoid EOF problems with Git. 2014-12-06 01:18:41 +01:00
.gitignore Adds the D3DCompiler_47.dll to ensure it's packed and ready for projects when publishing 2023-11-23 12:46:55 -06:00
.travis.yml travis test whether compilation works on mac and linux 2019-01-10 12:39:27 +01:00
CMakeLists.txt SDL_FILESYSTEM 2023-10-22 00:47:14 +01:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2022-04-16 16:00:34 -05:00
CONTRIBUTING.md forgot to remove section 2020-06-13 09:20:14 -04:00
LICENSE.md Update LICENSE.md 2024-02-21 16:32:29 +00:00
README.md Fix docs link 2024-01-15 16:39:11 +01:00

Torque3D

MIT Licensed Open Source version of Torque3D from GarageGames

GitHub tag GitHub release Github All Releases

Discord IRC

Build Status:

Windows Build

Linux Build

MacOSX Build

More Information

Extras: Torque3D Resources | Awesome Torque3D

Pre-compiled Version

In addition to GitHub we also have a couple of pre-packaged files for you to download if you would prefer to not compile the code yourself. They are available from the Torque3D Binaries repo.

License

All assets and code are under the license