Hi everone ı saw some tutorial tiled map editor implemantation on Corona sdk but it’s a little bit confusing.Eneyone help me How can use map tmx and json file?
We’re releasing some videos to explain how to use Tiled and CoronaSDK together with this library… Soon, I hope
https://github.com/ponywolf/ponytiled
There are other libs out there as well.
I look forward to your videos,thanks you) :blink:
I look forward to
@Micheal, I keep trying to run the example ponytiled code that is up on GitHub, (https://github.com/ponywolf/ponytiled) but it fails to run.
It gives this error:
ERROR: Runtime error/Users/Graham/Downloads/ponytiled-master/com/ponywolf/ponytiled.lua:98: bad argument #1 to 'pairs' (table expected, got nil) stack traceback: [C]: in function 'pairs' /Users/Graham/Downloads/ponytiled-master/com/ponywolf/ponytiled.lua:98: in function 'findLast' /Users/Graham/Downloads/ponytiled-master/com/ponywolf/ponytiled.lua:119: in function 'gidLookup' /Users/Graham/Downloads/ponytiled-master/com/ponywolf/ponytiled.lua:151: in function 'new' /Users/Graham/Downloads/ponytiled-master/main.lua:22: in main chunk 2017-01-14 16:01:32.617 Corona Simulator[11660:400045] Corona Simulator: Goodbye
I’ve tried it in multiple versions of the simulator. Am I missing something?
Thanks.
Nope! It was my bad… I had pushed a fix for object layers and I didn’t know that it would effect tile layers as well.
Grab the github ZIP again and it should work fine.
Sorry about that!
We’re releasing some videos to explain how to use Tiled and CoronaSDK together with this library… Soon, I hope
https://github.com/ponywolf/ponytiled
There are other libs out there as well.
I look forward to your videos,thanks you) :blink:
I look forward to
@Micheal, I keep trying to run the example ponytiled code that is up on GitHub, (https://github.com/ponywolf/ponytiled) but it fails to run.
It gives this error:
ERROR: Runtime error/Users/Graham/Downloads/ponytiled-master/com/ponywolf/ponytiled.lua:98: bad argument #1 to 'pairs' (table expected, got nil) stack traceback: [C]: in function 'pairs' /Users/Graham/Downloads/ponytiled-master/com/ponywolf/ponytiled.lua:98: in function 'findLast' /Users/Graham/Downloads/ponytiled-master/com/ponywolf/ponytiled.lua:119: in function 'gidLookup' /Users/Graham/Downloads/ponytiled-master/com/ponywolf/ponytiled.lua:151: in function 'new' /Users/Graham/Downloads/ponytiled-master/main.lua:22: in main chunk 2017-01-14 16:01:32.617 Corona Simulator[11660:400045] Corona Simulator: Goodbye
I’ve tried it in multiple versions of the simulator. Am I missing something?
Thanks.
Nope! It was my bad… I had pushed a fix for object layers and I didn’t know that it would effect tile layers as well.
Grab the github ZIP again and it should work fine.
Sorry about that!