vaughantay / roguelove Goto Github PK
View Code? Open in Web Editor NEWRoguelike engine written in Lua. Designed to be used with the LÖVE game framework (http://love2d.org)
License: Other
Roguelike engine written in Lua. Designed to be used with the LÖVE game framework (http://love2d.org)
License: Other
Just wondering about the status of this project. Is it complete or at least useable? If not complete, what is outstanding that a dev would need to know about before using this framework?
It's would be cool to have modding system similar to Cataclysm DDA game:
So I suggest to move data files into it's own mod (there will be no data folder, so make global variables for all data) and during mod load each supported file in each mod will merge it's return with global variable.
Like
-- Global data table
data = {achievements = {}}
-- Load mod with name 'name'
local function load_mod(name)
-- List of file names to load from mod (all filenames that now in data folder)
local files = {'achievements'}
-- Load each file
for _, part in ipairs(files)
local path = 'mods/' .. name .. '/' .. part
if love.filesystem.exists(path) then
-- Get returned table from mod file
local mod_data = require('mods/' .. name .. '/' .. part)
for k, v in pairs(mod_data) do
data[part][k] = v
end
end
end
end
So core data as other mods will have same structure and loading will be simplified (because of unification), And it will be possible to delete core data because global variables for data containment will be created not in data files.
I can do PR for this but idk if there will be changes to data.
Got this error when played, attacked the enemy.
I was unable to copy error (Ctrl + C or tap didn't worked) so I wrote some part of it by hand (to copy and navigate to main error functions) and attached the screenshot
Error
data/ai.lua:464: attempt to index field 'target' (a nil value)
Traceback
[love "callbacks.lua"]:228: in function 'handler'
data/ai.lua:464: in function 'moveAlongPath'
data/ai.lua:140: in function 'basic'
classes/creature.lua:937: in function 'advance'
Would love to give it a try, especially with 7drl coming. Any plans to make some docs or implement ldoc or something?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.