Tfe

Ongi etorri tfe-ren webgunera...

Old stuff/old_sites/threejs/18/readme.md

(Deskargatu)
# Three.js

## 18 ?
- switch weapon!
- assets loader

## 17 weapon attachment
- attach weapon to a bone
- ennemy drop  potions when die
- drinking potion increase life
- add dynamic damage:
    * is hit depending on weapon_hit_chance
    * hit_damage is ( 0.5 + random(0.5) - target defense) * max target damage
- display text for each hit / heal
- search for collisions when droping items to avoid placing them in places not reachable 
by the player


## 16 game improvement
- Fix hover some keys (position y=1)
- add stamina bar
- Ennemy patrol pathes: round or between mazes with path find
- New weight animation update only if needed, compatible with more than 2 animations