/dokun

Minimal 2d Video Game Engine Framework

Primary LanguageC++MIT LicenseMIT

dokun logo

Build Status alt text

Dokun is a video game engine framework written in C++ with support for the Lua language.

version: 1.0.0

author           sidtheprince
development date 2015-present
license          MIT

Build requirements

Windows mingw 4.8.4+

All cmake 3.0+

Building dokun

Read src/build.txt for more information on how to build dokun.

...

Definitions

 DOKUN_DEBUG DOKUN_OPENGL DOKUN_VULKAN 

Hello World (example)

-- Lua
require ("dokun")

WINDOW_MODE  = 0
FULL_SCREEN  = 1

window = Window:new()
window:create("Hello World", 800, 600, WINDOW_MODE)
window:show()

while window:is_open() do 
    window:update()
end
// C++
#include <dokun.hpp>

int main()
{
    Window window;
    window.create("Hello World", 800, 600, 0);
    window.show();  
    
	while(window.is_open())
	{
		window.update();      
	}
	return 0;
}

Supported External Libraries

Library name License Used for
lua MIT scripting
libpng zlib/libpng image
zlib zlib/libpng extension
libjpeg BSD image
giflib MIT image
libtiff BSD image
libogg BSD container
libvorbis BSD audio (codec)
libtheora BSD video (codec)
flac BSD audio (codec)
openal (soft) LGPL audio (playback)
freetype FT license (BSD) font
sqlite3 public domain data serialization
box2d zlib/libpng physics
glm MIT mathematics
opengl MIT graphics
glew BSD, MIT extension
vulkan MIT graphics

Powered by

operating systems

Donations

BTC: 14VA6zJ46fdv4pagJEg4WNMYPiFn7RX1xS