Search found 5 matches

by Leon
Wed Nov 23, 2011 5:38 pm
Forum: Support and Development
Topic: Love2D and LuaXML
Replies: 14
Views: 8886

Re: Love2D and LuaXML

slime wrote:As others have mentioned, you should probably use a pure Lua solution if you really want XML parsing. http://lua-users.org/wiki/LuaXml

Also, Lua is not an acronym. It's Lua, not LUA. ;)
That goes back to my original post, Lua XML isn't working.
by Leon
Wed Nov 23, 2011 5:21 pm
Forum: Support and Development
Topic: Love2D and LuaXML
Replies: 14
Views: 8886

Re: Love2D and LuaXML

Personally I find { name = "bolt", type = "Energy", damage = 50, speed = 800, drain = 8, timeout = 1, mass = 0.1, cooldown = 0.2, ammo = false, autoaim = false, color = {64, 192, 255}, } much, much easier to read than an XML file. Editing XML files in EXCEL or the open office al...
by Leon
Wed Nov 23, 2011 4:20 pm
Forum: Support and Development
Topic: Love2D and LuaXML
Replies: 14
Views: 8886

Re: Love2D and LuaXML

slime wrote:Why not use pure Lua files which just have a table inside them, and then loadstring or love.filesystem.load that?
Because I want end users to be able to stuff just as easy as me. Not everyone knows how to use Lua while a XML table is easy to just look at and edit.
by Leon
Wed Nov 23, 2011 3:55 pm
Forum: Support and Development
Topic: Love2D and LuaXML
Replies: 14
Views: 8886

Re: Love2D and LuaXML

Hi Leon, Why do you need to parse XML in the first place? Storing data in a easily editable file, for the purpose of future modifications. Thh idea is to make it so I could easily put together new spells through the use of XML files which are then read by the parser and put it in a LUA Table. Heres...
by Leon
Wed Nov 23, 2011 5:02 am
Forum: Support and Development
Topic: Love2D and LuaXML
Replies: 14
Views: 8886

Love2D and LuaXML

Hey Guys, New to Love2d and LUA, but things are going swimingly. Currently I am trying to work how I can use LuaXML with Love2D as attempts to use it are throwing errors up in Love. Normally you would add the LuaXML.lua file and LuaXML_lib to your project folder and then just load it via require 'lu...