iOS Question Load TMX files

ilan

Expert
Licensed User
Longtime User
hi

i am looking for a way to load tmx files for b4i iSpritekit.
i found this: http://tilemapkit.com/downloads/tilemapkit-objc-source-code/

is this something we could use in b4i?
will it require a lot work to wrap it so we can load full maps to our b4i projects?

there is a free trial version. maybe a objc profi could have a look at it?

thank you
 

JanPRO

Well-Known Member
Licensed User
Longtime User
Hi,

as it's a paid library, it's a bit difficult to share a wrap.
However with iOS 10, Apple introduces a new object called SKTileMapNode. But this object does't allow to load tmx files. As a workaround there exists some parser, for example https://github.com/kyouko-taiga/SKTiledParser.

Another solution would be https://github.com/slycrel/JSTileMap wich doesn't depend on the new SKTileMapNode.

Currently I am not at home, so can't test which solution is the best. But am planning to add this feature in a new version (which also fixes the bugs).

Jan
 
Upvote 0

ilan

Expert
Licensed User
Longtime User

great thanx. it would be awesome to be able to use tiled with iSpritekit.
i am currently working on a much complex iSpritekit game.

if you have time could you maybe have a look at the issues i have posted in iSpritekit thread.

thank you
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…