Home | Features | Roadmap | Learn | Documentation | ||
Latest version: Tramway SDK 0.0.9 Github Quick links Home Get Started |
CoreThis is the main system of the framework. It keeps track of the main loop, provides ID number generation services and keeps track of the framework version. Key conceptsFrameEach cycle of the main loop is called a frame. It is called that because during each loop you render a single frame of graphics. TickThere are 60 ticks in a second. If you have a 60hz monitor and you have turned on vsync or a frame limiter, then a tick will be the same as a frame. This concept allows you to create applications as if they were always run at 60 frames per second. Programming in C++
Every application created with the framework needs to initialize and update the core system.
Core::Init();
That was very simple.
id_t id = GenerateID();
After the previous bit of code is executed:
|
|
|