Open ivanpopelyshev opened 8 years ago
Is there any news ?
I've created one, and I'll give it to you later. ( after issue 18 , 19 & 20 are solved )
Does that mean pixi-tilemap work with tiled map?
People use it with tiled, because pixi-tilemap does not enforce any of formats, its just low-level plugin for renderer. I dont have tiled demo yet but i saw them :)
I dont have tiled demo yet but i saw them :)
@ivanpopelyshev Where should such a demo be put? Would it be part of https://github.com/pixijs/examples?
@winniehell I'm going to create separated pixi-examples with all those plugins: spine, layers, tilemap, projection, heaven.
the title of the issue here implies that we can now render tiled files. If so, what is the best tiled parser to use here? Do we have to write one from scratch?
I know several projects that made their own tiled parsers.
Also, there's a tiled parser that doesnt use pixi-tilemap: https://github.com/riebel/pixi-tiledmap
Some of the Gdevelop devs are interested in adopting this, as a lot of people are requesting tiled support and GD uses pixijs for rendering. We are wondering what the best approach would be to implement it in GDevelop5
@ivanpopelyshev on the readme, it says that tiled is on the "TODO". Does that mean that pixi-tilemap developers are planning to add built in support for parsing tiled files? This would really help projects like gdevelop in adopting it, as it will reduce the number of dependencies for the feature. Reading tiled files is a key reason we want to use pixi-tilemap, as well as the fact it is under the official pixijs git repo
Having one official tiled file parser under the pixijs team would really help us too. There are several on npm, but none are official and might become dead links in a few years
Check out our trello board - it is the most requested feature atm: https://trello.com/c/vJacNvXq/65-support-for-tilemaps-objects-tilesets-and-tiled-files-gdevelop-5-html5-games
It means that I'm still didnt use Tiled for any of my games => i didnt make a parser, but i saw several people do it.
Its not like its something difficult. pixi-tilemap is focused on low-level stuff, it doesnt care about parsing, it does work on graphics optimizations.
If you know general tilemap algoritms, you can use any, and pixi-tilemap provides a way to store tiles in a buffer and render them statically if clear()
wasnt called. Imagine it as an alternative to PIXI.Graphics
but with texture and without extra objects per tile.
wow, first time i see that app. I'll try it next month, i dont have time for it, sorry :)
I'm afraid I still cannot find a working demo using pixi.js v5 and Tiled files (a png tileset image and a json map file containing one tileset and layers of zlib base64 data). Looking forward to seeing some progress on this issue.
Choose some Tiled maps and try to show them with that renderer.