LFG (Lua Flare Game) library is an engine around the Flare Game art and game assets
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
flare-game Merge commit 'f2445c0a5e78d2aa03b50249ac762bb31813c459' as 'flare-game' Apr 2, 2018
img
sti
.gitignore
CREDITS.txt
LICENSE.txt
README.md Fix images Apr 3, 2018
anim8.lua
bump.lua
conf.lua
inifile.lua
lfg.lua
lume.lua
main.lua
map_lfg_demo.lua
map_lfg_demo.tmx
map_oasis.lua
serpent.lua
world.dat

README.md

LFG (Lua Flare Game) library

LFG is a Lua (and Love 2D) library on top of the fantastic art and game assets in Flare Game by Clint Bellanger and others. This project builds a game engine around the amazing work in Flare Game using the Love 2D game engine as a base. This engine is built with multiplayer pvp in mind and a subset of functionality from Flare Game is supported.

running around random mobs

Demo

To see a demo of the engine you can create a main.lua file similar to: (WARNING: "demo" is a stretch, more of a test bed at the moment)

-- lfg demo

local lfg = require "lfg"

function love.load()
    assert(lfg.init({map_file="map_oasis.lua"}))

    local minotaur = lfg.get_character("Minotaur")
    local player = lfg.Entity:new("Player foo", minotaur, 100, 100, 0, 0, 0, true)
end


function love.update(dt)
    lfg.update(dt)
end

function love.draw()
    lfg.draw()
end

Or you can execute the demo directly with Love 2D:

# ****WARNINGS****
# this repo is *large*, don't download over mobile


# Clone the repo using git:
$ git clone https://github.com/chewbranca/lfg.git

# Or to get a zip file:
# $ wget https://github.com/chewbranca/lfg/archive/master.zip

# Download a love_0.10.2* release of your preference from:
# https://bitbucket.org/rude/love/downloads/

# Run the demo!
$ love .