-
Notifications
You must be signed in to change notification settings - Fork 5
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
Animated tiles #82
Comments
Fortunately Chrome (and other browsers using the same engine) has recently gained support for APNG so we can use that instead of mucking about with gif or weird javascript hacks. Unfortunately this is also somewhat complicated to do. First there needs to be a good way of dumping all the frames of an animation for a given block or item (what happens when the block has multiple faces with different animations on each side and different periods for each animation?). Then we'd have to figure out how to place them on a tilesheet (all animations on a given sheet need to have the same period, or would have to be repeated multiple times until the least common multiple of their periods is achieved, which could be a huge waste of space for combinations of primes). We'd also need a Rust crate capable of creating APNG images. If we had #76 then the actual implementation of this issue would be limited to tile dumping mods and |
We could have the tilesheet contain static images of all the frames. For example,
I have no idea what you're saying here. |
I don't know how it would be done but it's something we all sort of wish we had, so might as well put it here to examine it one day. Maybe there'd be another file like
File:Tilesheet AV 16 animated.png
and a way to mark tiles as animated. I don't know but feel free to think about it.The text was updated successfully, but these errors were encountered: