Level editor for CORONA with Physic support

Hello guys,

I want to tell you about great tool called LevelHelper for making levels for your games in a few minutes. Check out

http://levelhelper.wordpress.com for a video presentation

Top features:

Create complex levels with physic in just minutes.
Don’t have to write code to load the level.
Generates code for Cocos2d (C++ and Objective C) with/without physics in Box2d
Generates code for CORONA (lua) with/without physics in Box2d
Transform your sprites to suit your levels with size, opacity, angle and many more.
Change the physic properties on one or multiple sprites at once.
Create joints and make complex physic simulations.
Create masks so that you control if one object collide with another.
Duplicate objects easy and with specified offset.
Create tags and control objects in your custom code.
Add your own custom classes to the objects.
Snap to grid to align your sprites better.
Unlimited undo/redo

Best regards
[import]uid: 38119 topic_id: 9668 reply_id: 309668[/import]

o wow… this is awesome… good job. [import]uid: 12455 topic_id: 9668 reply_id: 35195[/import]

Thank you!

I will keep updating on this tool. Version 1.2 should be available in 2-3 days (Apple is reviewing it right now) which brings many new and cool features. Will make a video presentation soon also a complete game tutorial.

Here is the release notes

Added create world boundaries
Added revolute joint
Added ZOrder on sprites and images
Added No Physic as physic property so now you can have both physic enabled and non physic objects in the same time
With ZOrder on images now you can make backgrounds very easy.
Added color on sprite property
Added support for CHIPMUNK (this will be available at a later time - will post message here/website/in app - when it will be available)
Level file now is saved as a PLIST with extension PLHS so that you can double click on it from the Finder.
Now you can put your own unique name to a sprite so you can more easily identify a sprite in code
Added Fixed Rotation on physic properties
Fixed many issues [import]uid: 38119 topic_id: 9668 reply_id: 35196[/import]

I’ve bought this tool and i’m glad to hear that a new version(1.2) is coming in the next couple of days.

I am also glad that you’re making a video presentation and a complete game tutorial.That will be a great JUMP START FOR BEGINNERS!

-Oliver
[import]uid: 37854 topic_id: 9668 reply_id: 35205[/import]

Thank you! I really enjoy CORONA - and i plan to support it all the way!

For examples on how to use the code generated with LH in your CORONA project look inside the file LevelHelperLoader.lua - it contains examples and details on what every function does.

[import]uid: 38119 topic_id: 9668 reply_id: 35207[/import]

looks nice, will give it a try :slight_smile:
dois it work only with SpriteHelper or can i use texture packer? [import]uid: 44010 topic_id: 9668 reply_id: 35212[/import]

It only works with SpriteHelper - that’s because SpriteHelper can also create shapes for box2d on the sprites (shapes the LH uses for physic simulation). An update on SpriteHelper should be available in the next 2 weeks bringing support for convex and concave shapes and many more.

[import]uid: 38119 topic_id: 9668 reply_id: 35213[/import]

This looks really cool! [import]uid: 33866 topic_id: 9668 reply_id: 35214[/import]

Thank you!

I want to point out - that if you guys want some features added - you can post a message here or from within the app (Help menu) and tell me what you need. If its possible i will do it. [import]uid: 38119 topic_id: 9668 reply_id: 35216[/import]

awww… :frowning: will they be an upgrade to use sprites generated by other programs? I already use heavily texture packer and physics editor for my projects and don’t want to change… [import]uid: 44010 topic_id: 9668 reply_id: 35217[/import]

Well - in your project you can still use those apps - but for LevelHelper you need SpriteHelper that’s because information on one sprite is located in a single file and LH knows how to import it. [import]uid: 38119 topic_id: 9668 reply_id: 35218[/import]

I feel a purchase coming on…

How well does Level Helper cope with larger scenes or levels where the objects and/or the level extends beyond the boundaries of the screen? Can we enable an easy scrolling method? i.e just control the groups x/y coordinates.

Off the top of the head requests if there not currently present would be:

  • Multiple scene/level creation in app so you can maintain lots of levels and basic screen constructs all inside your app.
    Was going to suggest more but what I’ve seen in the videos seems great! [import]uid: 33866 topic_id: 9668 reply_id: 35219[/import]

I have tested LH with complex scenes and worked fine. Also with levels that extends beyond screen boundaries. V 1.3 will bring support to import information from other level files - till then what you can do is do a save-as on a done level and just remove what you don’t need. (i think this is what you were asking - not really sure) [import]uid: 38119 topic_id: 9668 reply_id: 35220[/import]

I was thinking along the lines of a Super Mario style platform game where the level extends beyond the screen. Would something like this be possible?
[import]uid: 33866 topic_id: 9668 reply_id: 35222[/import]

Oh yes - for sure - that’s easy to achieve - you just make the camera follow the player. The tutorial im going to make - will do this :slight_smile: [import]uid: 38119 topic_id: 9668 reply_id: 35223[/import]

One thing i want to point out - right now LevelHelper - generates 3 code files - in the version 1.2 that will be available in a few days - it will only generate 1 file (improvement) - so please when you will update remove LevelHelperSprite.lua and LevelHelperJoints.lua from your projects

Regards [import]uid: 38119 topic_id: 9668 reply_id: 35228[/import]

Hello guys,

I’ve updated the site with a CORONA project - so you can get an idea of what you can do with LevelHelper and how to use it.

go to http://levelhelper.wordpress.com its right on the main page at the top

Regards,
Bogdan Vladu [import]uid: 38119 topic_id: 9668 reply_id: 35254[/import]

one question: do you have it tested with director class?
And since your direct concurrent, Lime, has performance issues, have you done something in the code that made the levels created faster, or do you have to limit yourself to small ones? [import]uid: 44010 topic_id: 9668 reply_id: 35263[/import]

Hey,

LevelHelper uses an online repository for the code - so if there are problems with the code i can updated it immediately so you guys don’t have to wait for the next version of LH to be available in the AppStore. (it also has an offline source for the code) - so to answer your questions - i haven’t test it with Director class - but i will do it asap and if there are problems will update the code. - For the performance question - if CORONA can support it, then LH can support it as LH only generates a file (a level file) and then you just read that file with the generated code which creates all the sprites in the CORONA engine - to be able to access all your objects the code provides you with the necessary methods.

Look at the project i have put on the LH website to get an idea of how LH does its stuff and don’t hesitate to contact me with any question you may have.

Best regards,
Bogdan [import]uid: 38119 topic_id: 9668 reply_id: 35272[/import]

I am happy to announce that is working perfectly with Director - i also put a project with Director on LH website (main page - right at the top) [import]uid: 38119 topic_id: 9668 reply_id: 35288[/import]