Hi, everyone!
I am new to LÖVE/Lua, but going through the wiki and API documentation, it's been a pretty easy learning process. I am looking to port my game to LÖVE from Flash/AS3, and I have the majority of functionality I need running, but I have one that I'm unsure of how to approach.
All of the game's dialogue and progression was done through XML. I've found XML parsers for Lua, but I'd rather not add any libraries if I don't have to. And it seems easy enough to write a quick Python script to convert the XML into any format I might need. Lua tables seem perfect for things like inventory, but I'm not so sure about things like level layout, which is also XML. I understand you can put a table inside a table, but that seems like it would get really messy.
Any opinions on XML and XML-like solutions for dialogue trees and level layout? Thanks!
Best Option for Dialogue Trees? XML?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Prole
- Posts: 1
- Joined: Wed Apr 23, 2014 9:41 pm
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Best Option for Dialogue Trees? XML?
Yeah I'd say Lua tables would work fine.
Help us help you: attach a .love.
Who is online
Users browsing this forum: No registered users and 8 guests