Closed Freshmilkymilk closed 4 years ago
Components:
Requirements:
Sponge will have a schematic format built in. Not sure if this is targetting api 4.x (1.8.9) or if it'll be in later versions
Something light-weight - json would probably be fine.
Would contain:
Support different types of animation:
Should support looping and playing in reverse
Triggers should be location specific, and would be linked to one or more animations.
When a user is within x range of a trigger, the animation should be loaded from disk and stored in memory ready to play, until no users are within range.
Need to also consider how a trigger behaves when fired during an actively playing animation - ie is it ignored, does it stop the animation, does it reset the animation etc
Would be a waist of memory to keep all animations loaded all the time. Should consider loading, caching, and then removing animations as needed - don't want to overly rely on io though
sendBlockChange(..)
method. These changes are client-side only (don't actually get saved), so it shouldn't be a problem if an animation is interrupted by a crash/restartThis has been completed:
https://github.com/dags-/StopMotion https://github.com/ArdaCraft/DoorsOfDurin
Allow for animation of a set of blocks such as doors, boats, etc.