phaser icon indicating copy to clipboard operation
phaser copied to clipboard

Support animated tiles in Tiled/tilemap

Open bbbmmmlll opened this issue 10 years ago • 10 comments

Is it possible to support tile animations in maps created in Tiled?

http://doc.mapeditor.org/reference/tmx-map-format/#animation

bbbmmmlll avatar Jul 14 '16 21:07 bbbmmmlll

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.

photonstorm avatar Jul 17 '16 10:07 photonstorm

Will you accept PRs for this functionality?

hilts-vaughan avatar Aug 10 '16 22:08 hilts-vaughan

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

photonstorm avatar Aug 11 '16 08:08 photonstorm

I suppose there's no update on this issue?

clessg avatar Oct 17 '16 21:10 clessg

I had a feeling this might be a closed issue. :slightly_smiling_face: Fair enough!

hexus avatar Feb 11 '17 00:02 hexus

Found this:

  • ~~https://github.com/englercj/phaser-tiled#why-use-this-plugin~~ (hm, forks a bunch of Tilemap stuff that might have been improved since then...)
  • https://github.com/colinvella/phaser-tilemap-plus (still trying to get it hooked in, will report back...)

nemoDreamer avatar Dec 07 '17 20:12 nemoDreamer

@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 avatar Dec 08 '17 03:12 nemoDreamer

@nemoDreamer it seems to only work with arcade physics.

maxp-edcast avatar Dec 23 '17 22:12 maxp-edcast

@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()

nemoDreamer avatar Jan 02 '18 16:01 nemoDreamer

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 ? :-(

ghost avatar Sep 30 '19 14:09 ghost