Latest version:
Tramway SDK 0.0.9
Github
Quick links
Home
Get Started

Template Component


This EntityComponent is a template. You can copy it to quickly create new components.

Programming in C++


#include <components/template.h>
API documentation page.

You probably don't want to use this component directly. Just copy the files components/template.h and components/template.cpp, rename them to mycomponent.h and mycomponent.cpp respectively and inside of these new files replace each instance of TemplateComponent with MyComponent.

Other frameworks have fancy commandline scripts to let you quickly create new components. We do not have any fancy scripts. You will need to create your components manually.

Scripting in Lua


For scripting there will be a scripting component. That you will be able to use. But it's not fully implemented yet.