Simple game engine for C++ 11 / OpenGL 3.x +
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
cmake Update to CMake Jul 15, 2015
include/kick/mesh
libs
src/kick
unittest Fix TestDeleteComponent testcase Jul 12, 2015
CMakeLists.txt
Makefile.js Fix debug value in Makefile.js Nov 30, 2014
README.md
emmake.js

README.md

kick

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

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

Cross platform

  • Desktop OpenGL 3.x and 4.x
  • OpenGL ES 2.0 and 3.x
  • WebGL 1.0 (compiled using Emscripten)

Dependencies

  • SDL 2.x for platform abstraction layer
  • SDL Image 2.x for loading textures
  • GLM 0.9.x (OpenGL Mathematics). Header only library. Included in the build.
  • RapidJSON for JSON parsing. Header only library. Included in the build.
  • TinyTest. Header only library. Included in the build. Only used for unit-testing.

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;
}