Berry - new Tiled Loader. What do you think about it?

Hi,

after about two months of work I uploaded my new project Berry on github. It is a simple Tiled Loader for Corona SDK. I need advises/suggestions/opinions to improve it:) Project is based on lime project. Any help would be greatly appreciated :slight_smile:

 

DbHD6EL.png

List of features:

  •  Loads .JSON export from www.mapeditor.org
  •  Adds basic properties from Tiled including physics
  •  Supports object layers and tile layers
  •  Supports collections of images and tileset images
  •  Supports object x/y flipping and re-centering of anchorX/anchorY for Corona
  •  Supports object animations using Corona sequences
  •  Rectangle shape with fillColor and strokeColor support
  •  Supports custom collision shapes. Only rectangles and polygons for now
  •  Supports Text object

 

If you use ponytiled or lime modules you find that berry is similar :slight_smile:

 

Link to page with project on github.

 

ldurniat

Does this work with external tilesets? That seems to be a rather frustrating point for most people trying to use modern versions of Tiled with many of the Corona based Tiled engines.

Rob

Hey ldurniat,

Original creator of Lime here, many years ago, and just wanted to reply here to say how cool it is to see that it’s still of use to someone :slight_smile:

Graham

p.s. please don’t hate me for my bad code :slight_smile:

No but I’m planning add it since it is not difficult:) 

From githubpage:

What’s next:

  •  Support for isometric maps
  •  Support for hex maps
  •  Collision filter
  •  Parallax effect
  •  Camera effect
  •  Support for external tilesets
  •  Support for custom object types
  •  Support for multi-element bodies

Your code is not so bad. Mine is worst but I’m working to improve it:) I have learnt a lot analyzing code of lime. Good work:)

Haha, I may have to look through the code again to believe you, I haven’t seen it in years, possibly scared/embarrassed to look :slight_smile: Hopefully my more recent stuff is better.

Anyway, sorry to hijack this so I’ll let you get back to the topic. It’s really great to see more Tiled based tools, one day I’ll actually get around to using one to make a game.

Where can I find your code to learn from it?

My newest publicly released code is Puggle - https://forums.coronalabs.com/topic/70253-the-puggle-framework/

Looks Super Cooooooool!!

Quick Question, What Can I Use This For ?

But in all seriousness, nice work!

Please avoid using non-standard text. We like to maintain a somewhat professional decorum here. Please see our forum rules:

https://coronalabs.com/forum-rules

Rule #12 covers this topic.

Thanks

Rob

Ah my bad I will comply with the rules :wink:

By the way you might want to replace the Stan Lee quote on that page.

He apparently did some… lets say… not responsible things recently if you read the news.

Just an opinion.

and sorry for changing the subject.

But seriously @Rob consider it.

Does this work with external tilesets? That seems to be a rather frustrating point for most people trying to use modern versions of Tiled with many of the Corona based Tiled engines.

Rob

Hey ldurniat,

Original creator of Lime here, many years ago, and just wanted to reply here to say how cool it is to see that it’s still of use to someone :slight_smile:

Graham

p.s. please don’t hate me for my bad code :slight_smile:

No but I’m planning add it since it is not difficult:) 

From githubpage:

What’s next:

  •  Support for isometric maps
  •  Support for hex maps
  •  Collision filter
  •  Parallax effect
  •  Camera effect
  •  Support for external tilesets
  •  Support for custom object types
  •  Support for multi-element bodies

Your code is not so bad. Mine is worst but I’m working to improve it:) I have learnt a lot analyzing code of lime. Good work:)

Haha, I may have to look through the code again to believe you, I haven’t seen it in years, possibly scared/embarrassed to look :slight_smile: Hopefully my more recent stuff is better.

Anyway, sorry to hijack this so I’ll let you get back to the topic. It’s really great to see more Tiled based tools, one day I’ll actually get around to using one to make a game.

Where can I find your code to learn from it?

My newest publicly released code is Puggle - https://forums.coronalabs.com/topic/70253-the-puggle-framework/

Looks Super Cooooooool!!

Quick Question, What Can I Use This For ?

But in all seriousness, nice work!

Please avoid using non-standard text. We like to maintain a somewhat professional decorum here. Please see our forum rules:

https://coronalabs.com/forum-rules

Rule #12 covers this topic.

Thanks

Rob

Ah my bad I will comply with the rules :wink:

By the way you might want to replace the Stan Lee quote on that page.

He apparently did some… lets say… not responsible things recently if you read the news.

Just an opinion.