Month: March, 2011

Presenting the drag and drop level editor for Corona SDK with Inkscape and SVG!

 

Inkscape Level Editor for Corona SDK

I’m working on another cool Corona SDK thing along with the book: a SVG based level editor for Corona SDK!

By just dragging and dropping rectangles in an Inkscape* document you can have game levels with physics bodies deployed instantly.

No more manual physics bodies positioning and tuning! Take the pain out of level creation.

* Free and open source vector graphics editor – http://inkscape.org/

Demonstration and level creation process video

Want to know more?

This is still a work in progress, so if you want to hear more about it when it is ready, you can follow me on Twitter: @KarnakGames and/or signup to my Corona Newsletter:

Karnak Games Corona SDK and Corona SDK book newsletter. Your e-mail:

Disclaimer

This is not intended to be a competitor or replacement to the excellent Lime. Lime is totally based on Tiled. My level editor is based on Inkscape and SVG parsing (which is a XML file). Although I make use of Tiled, I don’t use the Tiled map itself, I just use the IMAGE exported from a Tiled map (File, Save as Image…).

Transition Manager for Corona SDK: Pause, Resume and Manage all transitions in a scene

 

UPDATE: Transition Manager is outdated and lacks features. Instead, I recommend that you check and use this: http://developer.anscamobile.com/code/pausable-timers-and-transitions-speed-adjustment.

Actually to pause a transition in Corona, you have to cancel it. Then to resume it later, you have to keep track of the elapsed time and create the transition again. That means, it still doesn’t have a pause and resume function. For this reason I’ve created the class “TransitionManager” that keeps track of all transitions in a Corona scene and allows you to pause, resume and cancel them all at once.

This totally simplifies dealing with interruptions, pausing and resuming the game or simply moving to another scene. I won’t explain it here, instead, you can watch the following video and download the class and example code from GitHub.