https://github.com/mortennobel/kick
Simple game engine for C++ 11 / OpenGL 3.x +
https://github.com/mortennobel/kick
cpp game-engine opengl
Last synced: 4 days ago
JSON representation
Simple game engine for C++ 11 / OpenGL 3.x +
- Host: GitHub
- URL: https://github.com/mortennobel/kick
- Owner: mortennobel
- Created: 2014-05-04T20:06:00.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2018-04-04T15:23:21.000Z (about 7 years ago)
- Last Synced: 2025-04-24T00:05:02.613Z (4 days ago)
- Topics: cpp, game-engine, opengl
- Language: C++
- Size: 14.6 MB
- Stars: 54
- Watchers: 10
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
kick
====Simple game engine for C++ 11 / OpenGL 3.x +.
Note: kick is no longer actively maintained. Instead checkout :
- https://github.com/mortennobel/SimpleRenderEngine
## 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;
}