game-framework icon indicating copy to clipboard operation
game-framework copied to clipboard

Planimeter Game Framework - LuaJIT FFI-based game development framework for Lua

Planimeter Game Framework

LuaJIT FFI-based game development framework for Lua
(Formerly lgf)

Gitter Discord

Install

Windows

Microsoft Visual C++ Redistributable for Visual Studio 2017
https://go.microsoft.com/fwlink/?LinkId=746572

02/13/2018 - CEF 3.3282.1733.g9091548 / Chromium 64.0.3282.119
http://opensource.spotify.com/cefbuilds/index.html

macOS

brew install luajit physfs sdl2 devil freetype sdl_sound chipmunk assimp enet opus

Run

./lgf

Features

  • SDL2 for window creation, OpenGL function loading, and event handling
  • Modern OpenGL (OpenGL 3.3/4.0+ Core Profile)
  • PhysicsFS for abstracting access to various archives
  • DevIL for loading a wide variety of image formats
  • FreeType for rendering text
  • SDL_sound for decoding several popular sound file formats
  • OpenAL for rendering 3D sound
  • Chipmunk for 2-dimensional real-time rigid body physics
  • Assimp for loading various 3D file formats
  • glTF 2.0 physically-based rendering reference shaders
  • Chromium Embedded Framework for UI
  • ENet for online multi-player support
  • Opus for in-game chat
  • Lua Lanes for multithreading
  • LuaSocket for network support
  • LuaSec for secure connections
  • Drop-in LÖVE 11.3 support

Libraries

  • lphysicsfs
    LuaJIT FFI bindings for PhysicsFS
  • lsdl
    LuaJIT FFI bindings for SDL 2.0
  • lopengl
    LuaJIT FFI bindings for OpenGL
  • lkazmath
    LuaJIT FFI bindings for kazmath
  • lclass
    Lua with Classes
  • ldevil
    LuaJIT FFI bindings for DevIL
  • lfreetype
    LuaJIT FFI bindings for FreeType
  • lsdl_sound
    LuaJIT FFI bindings for SDL_sound
  • lopenal
    LuaJIT FFI bindings for OpenAL
  • lchipmunk
    LuaJIT FFI bindings for Chipmunk
  • lassimp
    LuaJIT FFI bindings for Assimp
  • lcef
    LuaJIT FFI bindings for Chromium Embedded Framework
  • lenet
    LuaJIT FFI bindings for ENet
  • lopus
    LuaJIT FFI bindings for Opus

License

MIT License

Copyright (c) 2022 Planimeter

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.