Level editor for CORONA with Physic support

I have a problem with spritesWithTag
code:

Loader = LevelHelperLoader:initWithContentOfFile("level1.lhs")  
  
  
Loader:instantiateObjects(physics)  
  
local floor = Loader:spritesWithTag(LevelHelper\_TAG.SUELONORTE)  
 for i = 1, #floor do  
 floor[i].x = 100  
 floor[i].y = 100  
 end  

With 3 sprites tagged SUELONORTE in levelhelper, dont work and (for example) floor[1] returns NIL. [import]uid: 55808 topic_id: 9668 reply_id: 36051[/import]

Hey Jose,

I think this is a problem in the code of LevelHelper 1.1 - could you please try with

local floor = Loader:spritesWithTag(1)

where 1 is the number assigned to LevelHelper_TAG.SUELONORTE

Keep me posted,
Bogdan [import]uid: 38119 topic_id: 9668 reply_id: 36055[/import]

Thx for fast reply.

It works now !!. [import]uid: 55808 topic_id: 9668 reply_id: 36056[/import]

Hey!

I just wanted to say that this tool looks really great. I even bought it from the Mac Store. Not that I know when I’ll use it, since I use Gumbo most of the time, but I’m sure it’ll come in handy. At 10 dollars it’s a steal.

How will it work for us who bought it from the Mac Store? Are you going to mail us the license? Can I ask why you’re moving from Mac Store? [import]uid: 13180 topic_id: 9668 reply_id: 36058[/import]

Hey - yes - you will get a license key - not really sure how i will achieve that - the tools will still be on AppStore - but there the update will be slower. Im moving away because i want to update the tools more frequently and i can’t do that with Apple taking so long on a review.

Thank you for the nice words [import]uid: 38119 topic_id: 9668 reply_id: 36059[/import]

Im using levelHelper and Director class, but when i do this:

loader:instantiateObjectsInGroup(physics, localGroup)  

returns nil !

Also i see in your “Director with LevelHelper” tutorial that LevelHelperLoader.lua is bigger than default generated by LevelHelper 1.1 (File > Generate Code for > Corona)

In LevelHelperLoader.lua dont exist instantiateObjectsInGroup function

So, 1.1 dont work for Director Class at the moment?

[import]uid: 55808 topic_id: 9668 reply_id: 36065[/import]

Hey Jose,

In LevelHelper 1.1 that method doesnt exist thats why you get nil

This was done in LevelHelper 1.2 - I’m sorry for this - this is one of the issue i want to move to license based - in order to bring updates faster to the community.

Kind regards,
Bogdan [import]uid: 38119 topic_id: 9668 reply_id: 36070[/import]

When will be 1.2 available ? any ETA ?.

Also, any fix to create groups with actual 1.1 ? [import]uid: 55808 topic_id: 9668 reply_id: 36072[/import]

Hey,

Well - LevelHelper 1.2 is in review (in actual review - not waiting review) for almost 2 weeks so it should be long now.
The code for 1.1 is not mentain anymore as LevelHelper 1.2 comes with drastic changes.

Thank you for the understanding,
Bogdan
[import]uid: 38119 topic_id: 9668 reply_id: 36073[/import]

I just find out that SpriteHelper name has been steeled.

In order for you to not get tricked into buying the wrong software - the correct websites are this:

http://spritehelper.wordpress.com
and
http://levelhelper.wordpress.com

Thank you! [import]uid: 38119 topic_id: 9668 reply_id: 36046[/import]

Re: Shimmering is a drawing issue of pixel gaps and/or texturing.
Thanks cl-apps and .vladu.bogdan. Don’t worry about the update, I am just trying to understand, and the responses did that. Thanks. [import]uid: 47723 topic_id: 9668 reply_id: 36099[/import]

Hello! I just bought both of your products I have a question and a thought.

  1. For bringing it off the app store and doing the license issue. I can say those of us who are paranoid :o) the app store is a “safe” place to download these type of tools. This is the main reason I never bought the other 3rd party tools. So maybe you can keep posting to both the app store and this other method somehow.

  2. Does this tool support universal apps for the images? If the tutorials show this please forgive me for asking. Thanks. [import]uid: 33104 topic_id: 9668 reply_id: 36109[/import]

Dont worry - i will still keep it on the AppStore - i will just put it on another store also - and if you buy it from the AppStore you will get a license for the same app that will be updated much faster. The AppStore version will also be updated but in a speed that match Apple.

I dont understand question number 2. It supports all image files types that has alpha on them.

Kind regards,
Bogdan
[import]uid: 38119 topic_id: 9668 reply_id: 36111[/import]

I was wondering what the workflow would be for having the different sized images for ipad vs. iphone, etc. I am a newb, so sorry if its straight forward. Thanks! [import]uid: 33104 topic_id: 9668 reply_id: 36113[/import]

Hey - just run the example from the LevelHelper website and change the simulator type to see how it behaves. As for the current version you can only have one image - there is a way to change the image size - but its not very user friendly - the best thing to do right now is to have a image at a size that you are comfortable with for the biggest screen size - but i will introduce multiple image size support in a future update.

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

Sounds good. I am thinking we could have different versions of the level and have director manage which version gets created as a work around. Thanks again. I cant wait for 1.2 to be posted to the app store, so I can get started. [import]uid: 33104 topic_id: 9668 reply_id: 36120[/import]

GREAT NEWS!

LevelHelper 1.2 should go live in a few hours - it may be that its live right now. Go download it :slight_smile: [import]uid: 38119 topic_id: 9668 reply_id: 36194[/import]

Hey Vladu,

Here are a couple of suggestions for the tools.

SpriteHelper:

* Allow user to create multiple shapes per sprite. A lot of time, eight points just isn’t enough.

* Perhaps you could trace the alpha of the sprites, much like that other tool does.

LevelHelper:

* Ability to nudge the position of placed sprites using the arrow keys. Single pixel nudge would be sufficient, unless you wanted to add Shift+arrow = 10 pixel nudge.

* Ability to pan the viewport. I find myself unable to zoom into areas I need using just the mouse wheel.

* Ability to define a parent group for sprites, that would allow you to create the objects and add them automatically to the correct display group on creation. You can leave the management of the display groups to the user.

* Support for Retina displays (display.newImageRect() instead of display.newImage()) if it isn’t already in there.

Thanks for the great tools.

Mike Hovland
Blue Rocket Labs [import]uid: 5317 topic_id: 9668 reply_id: 36335[/import]

Hey Mike,

SpriteHelper 1.5 should be available soon with concave shape and many more - you will not be disappointed - check out the director example to see a little peek :slight_smile:

You can pan the scene in LevelHelper by holding down Control key and dragging with your mouse

Nudge 1px/10px is in plan for LevelHelper 1.3

I think i use newImageRect - has to check that out - anyway Retina display support will come for sure

Group sounds like a good idea - i will do it for sure.

Kind regards,
Bogdan

PS Thank you for the suggestions and feedback - keep them coming, Tell me what you need guys, i will listen to your request and together will make a great tool :slight_smile: [import]uid: 38119 topic_id: 9668 reply_id: 36337[/import]

Great to hear Vladu!

One last question at the moment. Is there a way to define a transparent color for a sprite sheet? Much like your demo texture has the bright pink background, can we define an R,G,B value to be treated as transparent when the sprite sheet layout is created?

M [import]uid: 5317 topic_id: 9668 reply_id: 36338[/import]