Berry - Tiled Loader for Corona SDK


(ldurniat) #1

Hi,

I just let know that I have finished my new project called Berry. It is a simple Tiled loader. May be it will be useful for someone :slight_smile: Berry is based on out of date project Lime. Along project itself I have created example (Sticker-Knight-Platformer game from Ponywolf) and wiki.

Link to github with my work.

List of features:

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

ldurniat


(Thorbjørn Lindeijer) #2

That looks great! Can you tell a bit about the advantages of Berry over ponytiled or Dusk Engine? Is this about features, performance and/or API? Why a new project rather than contributing to an existing one?


(ldurniat) #3

I have created Berry as learning project to improve my Lua and Corona SDK skills as programmer. It is similar to ponytiled and use OOP (Object-Oriented Programming) with 30log module.

Advantages of Berry over ponytiled or Dusk Engine:

  • Supports object animations using Corona sequences,
  • Supports custom collision shapes. Only rectangles and polygons for now,
  • Supports Text object.

I have contributed to ponytiled project but it was not enough for me so I have decided to create my own project.

I’m planning add more functionalities in future. See What’s next section on github page for more information.

ldurniat