RHO Industries C++ Game Engine
- Run cmake on the SFML library. The destination directory doesn't matter, but is used later. Change the following values from their default:
- BUILD_SHARED_LIBS to FALSE
- CMAKE_BUILD_TYPE to "Debug"
- SFML_USE_STATIC_STD_LIBS to TRUE
- Generate and Build SFML. The result should the creation of the following libraries in the lib/ directory of your cmake project folder:
- libsfml-audio-s-d.a
- libsfml-graphics-s-d.a
- libsfml-main-d.a
- libsfml-network-s-d.a
- libsfml-system-s-d.a
- libsfml-window-s-d.a
- Configure the RHOgine project using cmake.
- Make sure sure the SFML_BUILD_DIR points to the location of the folder you told cmake to build your SFML project. This folder must have a lib directory with the above built libraries in it. It defaults to RHOgine/SFML-bin but that may not be the case.
- Also change SFML_EXTERNAL_LIBS_DIR to point to the libs- you are using. It defaults to mingw.
- After Generation, Build the RHOgine project.
- After you build, you should find the following files:
- libsndfile-1.dll
- openal32.dll
- RHOgineTest.exe
- sansation.ttf
- These files need to be in the same directory for the RHOgine game to run.
- The game will look for a main.lua script, load the script, and run any global functions like:
- init()
- update(dt)
- draw(render_target)
- shutdown()
- Look at the included example projects to see to make a game entirley in lua. To run these, simply copy the files mentioned above into the directory with main.lua and run RHOgineTest.exe.
Candy Pong
Simple Pong Game made for the Candy Jam 2014
Link
RGBlaster
Game built at the Games++ 2014 Game Jam:
Link