Online Multiplayer Game Tutorial #8 - Unique Usernames
Chris Courses
Here we'll learn how to identify our players with user inputted names instead of referencing a randomized string of characters (user IDs). To achieve this effect, we'll use a combination of HTML forms, JavaScript event listeners, and backend integration.
GitHub Gist: https://gist.github.com/christopher4lis/40f4386e0b62907187fd51d6cd34aefa
Source code for this lesson: https://github.com/chriscourses/multiplayer-game/commit/60d410079a68c79034d05df3c113d7d520f5d8d6
0:00 Insert username input boilerplate 2:28 Add event listener to form and input 7:58 Submit and process input on backend 16:07 Hide / show interface ... https://www.youtube.com/watch?v=qlF50eQJQRo
2023-07-25
0.0 LBC
Copyrighted (contact publisher)
159703799 Bytes