Lien de la note Hackmd
Project presentation
- Inspired by The Lab by Vavle
- Castle defense
- Enemy wave
Tool used
- XP interaction toolkit
- Photon Network
- Unity
Player
- Movement
- Room scale
- Teleportation
- Network
- Player avatar spawned on network
- Movement synch with avatar
Bow & arrow
Quiver
- On enter
Bow
- Complex interaction
- Shooting an arrow
- Place arrow on string
- Bow hand and string hand distance for animation and particles
Arrow
- When released
- Force applied
- Check for certain collisions
- Line renderer and particles
Network
- Arrows are spawned on the server
- Forces and positions are synchronized
Ennemies
- 3 different spawns
- Checkpoint system
- Death animation
- For each wave:
- More enemies
- Same health
Map
- Assets were combined to build it
- unity URP is used to make the game look better
- Shadows were used
Multiplayer
- Interactable objects
- Potions
- Shareable equipment
- Arrows
- Bow
Conclusion
- Problems encountered
- Arrow synch
- Objects were not shareable
- Random hand crashing
- Good proof of concept and quite fun
Questions
Commence quand ? Combien de temps ?
Solo rapide a faire, tout casse avec le reseau, beaucoup de temps a fix le multi, a du faire des impasses sur certaines parties du gameplay
Comment faire les particules ?
Package Unity qui gere les particules, suffit d’activer
Client master ?
Celui qui recoit les infos en premier et recoit les trucs en synchro