mortennobel / kick

Simple game engine for C++ 11 / OpenGL 3.x +
51 stars 8 forks source link
cpp game-engine opengl

kick

Simple game engine for C++ 11 / OpenGL 3.x +.

Note: kick is no longer actively maintained. Instead checkout :

Cross platform

Dependencies

Build

Using premake4 for creating make files or other project files. For more info see: http://industriousone.com/premake

Online docs

http://mortennobel.github.io/kick/

Example usage

#include "kick/kick.h"

using namespace kick;

int main(int argc, char * argv[])
{
    Engine::init(argc, argv);
    auto scene = Engine::activeScene();
    auto camera = scene->createPerspectiveCamera();
    camera->gameObject()->transform()->setLocalPosition({0,0,10});
    scene->createSphere();
    scene->createDirectionalLight();
    Engine::startMainLoop();

    return 0;
}