Building an online multiplayer snowball throwing game (vanilla js, node, socket.io)
Web Dev Cody
28551
852
This video was a paid promotional video for Agora.io.
Agora:
Agora:
Sprites:
Code:
💬 Discord
🔔 Newsletter
📁. GitHub
00:00 – Intro
01:05 – Agora
02:03 – Setup express + socket.io
09:59 – Drawing the map
39:15 – Players and Movements
54:19 – Camera focus
01:00:38 – Throwing snowballs
01:17:10 – Draw tree map
01:29:47 – Collide with trees
01:38:57 – walk sound effect
01:44:18 – Agora.io voice chat
02:02:05 – Voice icon
02:07:35 – Proximity voice volume
02:23:30 – Good enough!
02:24:31 – Deploying
02:26:31 – End
02:27:17 – Just being dumb
My VSCode Extensions:
– theme: material community high contrast
– fonts: Menlo, Monaco, ‘Courier New’, monospace
– errors: Error Lens
– extra git help: Git Lens
– tailwind css intellisense
– indent rainbow
– material icon theme
– prettier & eslint
– ES7+ React Snippets
05.05.2024