Hello
Guest
Home
Help
Search
Login
Register
2D Toolkit Forum
»
2D Toolkit
»
Support
»
General question probably not 2dtk related...lol?
« previous
next »
Print
Pages: [
1
]
Author
Topic: General question probably not 2dtk related...lol? (Read 4400 times)
flexation
2D Toolkit
Newbie
Posts: 9
General question probably not 2dtk related...lol?
«
on:
August 17, 2013, 04:27:48 pm »
Wondering if anyone has a nice way to load tiles from a mapfile? So users can create their own maps with tiled... and load those dynamically within unity game... so as users connect to game, they would download the mapfile and then load the tiles?
Logged
unikronsoftware
Administrator
Hero Member
Posts: 9709
Re: General question probably not 2dtk related...lol?
«
Reply #1 on:
August 17, 2013, 06:23:12 pm »
There is sample code to load tilemaps from TMX files. This isn't enabled at runtime as it depends on the XML libraries (adds a significant overhead) and an external ZLib library. The code is in tk2dTileMapImporter and its pretty straightforward if you want to port it to work at runtime.
Logged
Print
Pages: [
1
]
« previous
next »
2D Toolkit Forum
»
2D Toolkit
»
Support
»
General question probably not 2dtk related...lol?