Beginner from Unity - Where can I find tutorials ? Game samples?

A little while back I made a VERY simple multiplayer boilerplate with babylon.js and colyseus. All it does is communicate each person’s position to every client, but could be expanded to include anything. For physics, you could fake client prediction by communicating each player’s angular and linear velocity.

moveworks.zip (272.5 KB)

Here is a zip of the boilerplate

2 Likes

Right it doesn’t require reviews for now except the chapter on post-processes, the « HDRRenredingPipeline » has been removed. This is the only breaking change we have in that book.

2 Likes

I implemented the simplest multiplayer using WebSockets (package ws - npm) and Node.js. I send keyboard input to the server, which relays it to other clients. Used by WebGL 1.0, glMatrix and OimoPhysics. Extracted original models, textures and animations using RE1MV. Created a non-skinned skeletal animation using the Blender Python API. Skinning is expensive in terms of resources and is not needed for the models in this game, in which all parts of the animation models are separate objects.
multiplayer

All extracted animations for Jill and Barry. Rotate the camera with the mouse wheel pressed. Moving the camera with the right mouse button:

jill-animations-webgl-js

barry-animations-webgl-js

animation

I tried to use Colyseus but deploying was failed, I had a problem with CORS: Discord I didn’t solve this problem. I rewrote my demo using ws package.The movements are smoother than on the Colyseus SDK. Demo in browser I understand that it is offtop. Sorry about it.

I implemented the third person controller:

image

And the first person controller:

image

multiplayer-short