Level design

I also have designed my own level editor after realizing nothing out there was a good as what I could simply make myself.

I am interested in your visual editor on the iPad. Would you be willing to share the code? It just sounds intresting. [import]uid: 104852 topic_id: 22131 reply_id: 97515[/import]

@ chandler767,

I could share some of my LevelEditor code, but it probably wouldn’t be that useful because so much is customized for my game and the data that it needs. Maybe the FTP routines would be of some interest? Does your own custom level editor run in Corona, or in a desktop environment? The reason I opted for an iPad-based editor is so I could design my levels visually without being at my computer (I’m there too much already, with all the coding of my game :slight_smile: ). The FTP functionality allows me to send the locally-saved files (saved to the app’s Documents directory) onward to my web server, where I can then retrieve them and insert the data into my actual game levels.

Personally, it wasn’t so much that none of the 3rd-party options were “good enough”, but rather that they couldn’t output the data that I needed without an excessive amount of cherry-picking and string parsing and then re-assembling that data into the format I need (my game reads level data from text files and then assembles it into Lua code on the fly). Gumbo was the best among those 3rd-party options, but it was fairly limited in scope and better suited to lay out one static, non-scrolling screen. LevelHelper was good in many ways, but trying to extract the particular data that I needed would have been more effort than building my own custom level editor!

And so I built my own, like you did. I would consider making it a standalone app and offering it to other Corona users, but Ansca is well ahead of me on their own level editor… so it seems pointless for me to revamp my iPad level editor for the few people who would prefer using that in favor of the other options. :slight_smile:

Brent
[import]uid: 9747 topic_id: 22131 reply_id: 97559[/import]