Open avaer opened 2 years ago
Useful external apps work that would drive this project forward:
Re: animations, all of these currently suffer from foot blending problems, which is common to all items.
diorama system has been implemented. i'll still be going through the items in this ticket and looking for any existing tickets which are attempting to address these points
We now have in place the prerequisites for correct damage tracking across the engine. We simply need to create the source of truth for character damage, and then hook it into the damage interaction points that are already in place.
There are many subsystems involved, but the integration between them is relatively light.
HP system
A good inspiration for the structure of this module might be character-physics.js, an instance of which is owned by the player: https://github.com/webaverse/app/blob/bb1a433734386019575ce6fa7c092726f68e7e95/character-controller.js#L547
Character animations
Diorama system
Vocalization system
totum
based actions. Additionally, we have vocalization support for characters in engine (mouth flaps) when this happens. The hit system should coordinate these vocalizations.Multiplayer
Methods for hits can and should be exposed to metaversefile/totum apps.
UI system
useEffect(/* ... add game listener; return () => { remove game listener } ... */)