Support animated tiles in Tiled/tilemap
Is it possible to support tile animations in maps created in Tiled?
http://doc.mapeditor.org/reference/tmx-map-format/#animation
Not at the moment, no. It's already on the feature wish-list, so I'll close this issue off, and it will get addressed as and when it can be.
Will you accept PRs for this functionality?
If it fits in with the new Tilemap shader without compromising it much then of course.
On Wednesday, 10 August 2016, Vaughan Hilts [email protected] wrote:
Will you accept PRs for this functionality?
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/photonstorm/phaser/issues/2623#issuecomment-239029696, or mute the thread https://github.com/notifications/unsubscribe-auth/AAKCfAuM3PZy3n2xH7JKcFVcj7CJL05eks5qelbxgaJpZM4JM39U .
Photon Storm Ltd. http://www.photonstorm.com
Skype: richard.davey Twitter: @photonstorm
Registered in England and Wales. Company ID: 8036404 VAT Number: 136 4333 27
I suppose there's no update on this issue?
I had a feeling this might be a closed issue. :slightly_smiling_face: Fair enough!
Found this:
- ~~https://github.com/englercj/phaser-tiled#why-use-this-plugin~~
(hm, forks a bunch of
Tilemapstuff that might have been improved since then...) - https://github.com/colinvella/phaser-tilemap-plus (still trying to get it hooked in, will report back...)
@bbbmmmlll Progress!
phaser-tilemap-plus is a breeze to set up, once you've figured out that you can't use "Base64 (uncompressed)" as a "Tile Layer Format" in Tiled... 🙄
I opened an issue: https://github.com/colinvella/phaser-tilemap-plus/issues/3 (don't want to muck about in his README myself)
@nemoDreamer it seems to only work with arcade physics.
@maxp-edcast I also encountered issues with modifying tilemaps not leading to updated animations, as the "animation" is a separate system from the "tiles". https://github.com/colinvella/phaser-tilemap-plus/issues/4
This would take quite a lot of work to fix in phaser-tilemap-plus, basically a complete re-architecting.
My hope is that Phaser 3's Tile/TileLayer/Tilemap objects are much more OOP, and are capable of governing their own concerns (like myTileLayer.addTile(x,y,...) and even myTile.remove(), all the way to myTile.animation.start()), instead of everything being controlled via practically static methods on Tilemap. Then updating an animation when a Tile is re~/moved would be much simpler.
But I haven't looked at the new code yet, @photonstorm. You might already be working on all this good stuff!
myTwoCents.end()
Not at the moment, no. It's already on the feature wish-list, so I'll close this issue off, and it will get addressed as and when it can be.
So never ? :-(