webaverse / app

Web metaverse client
https://app.webaverse.com
MIT License
341 stars 207 forks source link

Hit system #2149

Open avaer opened 2 years ago

avaer commented 2 years ago

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

Multiplayer

Methods for hits can and should be exposed to metaversefile/totum apps.

UI system

avaer commented 2 years ago

Useful external apps work that would drive this project forward:

avaer commented 2 years ago

Re: animations, all of these currently suffer from foot blending problems, which is common to all items.

0reo commented 2 years ago

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