Week 18 Update

More like a few days instead of a week, but last week’s update was late so here’s a quick catch up.  Been working on shop functionality, and giving the UI a slightly new look.  I’m pretty confident in making some great functional UI that’s quick and simple to use, but making it look good is entirely different!  Regardless, here’s the updated screens of the shop and equipment:

Next update should be some skill tree stuff!

Posted in Development Blog | 2 Comments

Week 17 Update

What’s this button do?

Secret areas are now working!  I need to populate the rooms with more hidden stuff including some objects to add to the story, but they are working great with map creation now.  The blue area of the secret room in the minimap won’t be there by default but rather by using certain items or spells.

Also, I don’t know if I was ever up front about an experience system in the sequel but there is definitely one planned.  Something to reward you for all those monsters you’ve defeated time and again.  Here’s a sneak peek at the skill tree in good ol’ pencil and paper format:

Posted in Development Blog | 5 Comments

Week 16 Update

I was a little behind on my weeks so here’s a quick update of just some more screenshots of stuff I’ve been working on!

A shot of the bar / inn where all of the travelers gather and you can find quests to take.

Another shot a little south from there

Spiders and shrooms!

Posted in Development Blog | 2 Comments

PyxelEdit To Tiled Conversion Tool

PyxelEdit is a tool I’m using for tilesets and animations, and Tiled is a map editor I’m using for making some maps in The Enchanted Cave 2.  PyxelEdit’s great for working on the fly at creating new tilesets and maps at the same time, but normally to get the map in the game, I would have to rebuild the map in Tiled from an exported tilesheet.  I noticed that the both have an option to save and write maps as xml files, so I wrote a tool to convert the map data from the xml file PyxelEdit creates to the .tmx file that Tiled reads, and wanted to share it for any other devs that use both tools or were considering it:

You can download the .zip file here.

You can also download the source here if interested: (It uses HaxeFlixel)

Screenshot: 

Not too flashy, but it doesn’t have to be. :)

Instructions are all there in the program, and the .tmx file is saved to the same folder as the .exe.  The name of the output .tmx is automatically set to the same name as the xml file when you select that, but you can name it anything you want.

PyxelEdit doesn’t have the capability to have a different tileset for each layer like Tiled, so if you’re like me and have a separate layer in Tiled for hit detection or objects, you may have to re-do those each time… However a relatively easy workaround for this if the number of tiles in your tileset hasn’t changed since last time is to open your old .tmx file in Notepad++ or whatever (it’s just xml) and manually copy and paste your objects and hit collision layers over to the .tmx the conversion tool spits out.

If the number of tiles in your tileset has changed it’s a bit tricker to copy and paste the layers you need because tiled’s “firstgid” properties on the tilesets will be off.  What you can do is manually adjust these by the difference in number of tiles from last time, and you should be good.

Finally, Tiled’s default format is to compress the data with zlib compression, so if your game uses those files and decompresses them in-game, you’ll just need to open the created .tmx, and set the “Layer Format” under Map -> Map Properties to the zlib compression because it will be set to XML.

I hope this helps some people!

Posted in Development Blog | Leave a comment