Guias

Make a Multiplayer Trivia Game with Bots








Making multipalyer games is always a challenge so this video hopefully can help you get an idea how you can make a multiplayer trivia game with bots. I am using JavaScript with PixiJS and UrTurn for the multiplayer. But even if your choice of technologies is different the basics would be the same.

Intro: (0:00)
Creating the Map: (0:41)
Texture Packing: (1:32)
Project Setup: (2:01)
PixiJS Setup: (3:01)
Pre-Loading Assets: (3:47)
Displaying Sprites with Pixi JS: (4:22)
Containers: (5:00)
Creating Tiles: (5:59)
Login Client Side: (6:54)
How UrTurn Multiplayer Works: (7:48)
Login Server Side: (9:02)
Client Server Communication: (10:12)
Master Player: (10:19)
Game Content: (10:45)
Star Game: (13:02)
Timers: (13:32)
Handling Unwanted Cases: (13:51)
Creating Bot Answers: (14:19)
Attack Stage: (15:02)
Round Player Turn: (15:30)
Thoughts: (16:38)

Full Project:
Playable Game:
UrTurn Multiplayer:
PixiJS:
Free Text Packer:
Pixel Art:

Link do Vídeo






8 Comentários

  1. I played the game and the base of it was straightforward and worked, which is awesome! Some various feedback on the game itself for improvement:
    1. when battling another player/bot it was unclear what the correct answer was or which player chose which. I had a hard time figuring out what the different colors meant. The solution to this should be a UI fix, but how you actually solve it is up to you, and "hallway testing" here will be very useful.
    2. when entering in a guess for multiple choice, I didn't realize that you have to click twice to actually submit your answer until later! This could be improved by adding a "submit" button, but the solution is up to you (simplicity is the best).
    3. sometimes the timing felt very fast, once I got the hang of it, having a fast timer was nice (this isn't really feedback, just something I thought was interesting).

    Overall, game is great start! Thanks for making the video

  2. What made you choose UrTurn for the backend? And what are the benefits/cons over any other solution? Cool video btw

Comentários estão fechados.