LabyStudio / js-minecraft

A browser sandbox that provides all basic features to understand the render and physics engine of Minecraft.
Other
76 stars 31 forks source link

Completed network protocol, enabled single player saving, and performed merge with kleeat which added blocks and sounds #12

Closed kiliansinger closed 9 months ago

kiliansinger commented 10 months ago

Hi, happy new year!

I performed a merge with https://github.com/Kleeat/js-minecraft/commit/06cba5b264750d45def1af35ba144cea6124e91e which added blocks and changed font handling.

I replaced all sounds and added sound for jumping in water and swimming.

Changed kleeat merge to be compatible with firefox.

The network protocol was completed to allow for changing blocks also on server.

Single player mode allows for saving state in browsers indexdb.

Added example folder on how to use websocket proxy for the use of server.

Also corrected lightning of server provided chunks.

And made torch handling compatible with server behaviour.

Enabled proper meta handling of blocks to allow for different subtypes of blocks.

Added grass .

Best regards Kilian