Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Support animations from non-adjacent tiles #432

Open
evaogbe opened this issue May 27, 2023 · 3 comments
Open

Feature request: Support animations from non-adjacent tiles #432

evaogbe opened this issue May 27, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@evaogbe
Copy link

evaogbe commented May 27, 2023

I'm using this library with Tiled editor. Its animations are more flexible. It can choose from non-adjacent tiles and set a different duration for each frame. If it's not too much trouble, this might be a nice thing to add to this library. The duration limitation is easier to workaround than the adjacent tile limitation. This is a really excellent library that could benefit from a little more flexibility with animations.

@StarArawn
Copy link
Owner

This is already doable by creating your own tile animation system. Only GPU animations are limited to adjacent tiles. This could be improved but might require supporting storage buffers which webgl 2 doesn't support.

@StarArawn StarArawn added the enhancement New feature or request label Jul 7, 2023
@evaogbe
Copy link
Author

evaogbe commented Jul 10, 2023

I'm still pretty new to Rust and Bevy and game dev. I'm not sure where I'd start to create my own tile animation system. I was looking at the animation code in this repository and I could not understand anything that was going on.

@MisterSzled
Copy link

I'd like to second this request.
Being able to do this would really simplify what has to be manually managed between the sprite sheet(s) and the code to bring large maps to life.

Additionally could simplify what can be seamlessly generated through auto-building level builders like LDTK - with bevy_ecs_ldtk.

Apologies - I don't know enough to help / implement this myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants