Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.
/ harujion Public archive

a lua 2d game engine (or framework?)

Notifications You must be signed in to change notification settings

andyroiiid/harujion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

harujion

a lua 2d game engine (or framework?)

Dependencies

  • fmod (headers and prebuilt binaries included, 64bit msvc only)
  • glad (version 2, source included)
  • glfw
  • glm
  • imgui (source included but not used yet)
  • luajit (headers and prebuilt binaries included, 64bit msvc only)
  • physfs
  • sol2 (source included)
  • spdlog
  • stb (source included)

Build Instructions

  1. Download the release source code from glfw, glm, physfs, spdlog.
  2. Extract them to the dependencies folder.
    • harujion
      • assets
      • dependencies
        • fmod
        • glad
        • glfw
          • CMakeLists.txt
          • ...
        • glm
          • CMakeLists.txt
          • ...
        • imgui
        • luajit
        • physfs
          • CMakeLists.txt
          • ...
        • sol2
        • spdlog
          • CMakeLists.txt
          • ...
        • stb
      • include
      • src
      • ...
  3. You should be able to build the project with cmake.
  4. The fmod.dll and fmodstudio.dll can be found in dependencies/fmod/lib.
  5. The lua51.dll can be found in dependencies/luajit/lib.

Here is a link to the CMake official tutorial.

Sample Game

A sample game (flappy bird) is included in the assets folder.

Run the engine excutable from the project root directory to play the game.