Skip to content

OpenGL game framework with support for runtime reloading of c game code. Uses OpenGL 3.

Notifications You must be signed in to change notification settings

martinscheffler/hotreloadgame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A minimal game engine/framework capable of hot-loading game code written in C. Code is mostly from this blog post: http://timothylottes.blogspot.de/2013/01/run-time-binary-reload-detailed.html

I also added some hello world code for OpenGL 3.0. The X window is kept open between reloads.

Tested on SUSE 12.2.

Usage:

  • First compile the hotloader with ./buildhotloader
  • Then start the compile process with ./recompile
  • Finally start the game with ./hotloader. A simple 3d scene with a bright background color should appear. Try changing some code in game.c, for example the clear color. As soon as you save, the background color in the running game should change.

About

OpenGL game framework with support for runtime reloading of c game code. Uses OpenGL 3.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published