Online Multiplayer Game Tutorial #6 - Projectiles and Collision
Chris Courses
Shooting projectiles consists of adding an event listener that listens for mouse clicks and calculates a velocity based on each click position. This will be covered in minor detail as I'd like to focus on the main concept of getting projectiles to show and move based on server-side code. Sorry in advance if I messed up on anything!
This lesson's source code: https://github.com/chriscourses/multiplayer-game/commit/4a4e62bddd7f9aea32a030576126bcc7f142d848
00:00 Client-side projectiles 20:06 Transfer to backend projectiles 33:37 Render backend projectiles 46:48 Garbage collection 1:00:52 Projectiles and collision ... https://www.youtube.com/watch?v=f2AgU-Vq5-A
2023-07-22
0.0 LBC
Copyrighted (contact publisher)
379712868 Bytes