Rune Engine  Version 0.2.7-alpha
Documentation for how to make games using the Rune Engine.
Entry Point

In order to start a new project, you have to create an entry point for the game and then load in the scenes you want to use.

Once you have created your entry point, go ahead and create some GameScenes to load into the rune::GameApplication.

//Add this pragma comment to disable the console if you haven't already done so.
#pragma comment(linker, "/SUBSYSTEM:windows /ENTRY:mainCRTStartup")
//You should include your scene headers and the RuneEngine header.
#include <RuneEngine.h>
#include "firstLevel.h"
#include <iostream>
int main(void)
{
//Initialize our game application to have a really awesome title.
GameApplication* mainApplication = mainApplication->getApplication();
getGameInstance()->getWindow()->setWindowTitle("My Game Title");
//Load the first level into the game application
FirstLevel* firstLevel = new FirstLevel();
mainApplication->loadScene("First Level", firstLevel);
//Start the game
mainApplication->run();
//Command line output
std::cout << "Returned code: " << mainApplication->m_errorCode << std::endl;
//Once the game has ended, clean up
delete mainApplication;
delete firstLevel;
return 0;
}

To see how to create your own rune::GameScene, check out that programming guide.