Zylann / voxelgame

Voxel world prototype made with Godot Engine
Other
554 stars 89 forks source link

Multiplayer Entities And Player Storage Systems #103

Open WithinAmnesia opened 7 months ago

WithinAmnesia commented 7 months ago

How can entities and player storage work for this demo? Are there any examples or prototypes?

Goal: Minecraft style entity and player storage system. Bonus account system

How can entities and storage system like chests stored in chunk data like minecraft? Bonus for account linked storage like M.M.O. player inventory and banks / minecraft player account inventory with shulker boxes.

WithinAmnesia commented 7 months ago

https://github.com/Zylann/godot_voxel/issues/478 + https://github.com/Zylann/godot_voxel/issues/411 + https://github.com/Zylann/godot_voxel/issues/98 Hmmmm yet how can it be done with storing in chunk data and work for multiplayer and online user account type data too?

WithinAmnesia commented 7 months ago

https://minecraft.fandom.com/wiki/Java_Edition_Indev_0.31 The Blockygame open source forever free demonstration needs this kind of update / patch / addition. This is from the 2000's and it added entities with NPCs and storage with chests and crafting with crafting blocks and materials even. How do we do this but 2 decades later in the 2020's? There must be a way. How can this be done on Godot 4.2.1.NET+ and working with multiplayer?

WithinAmnesia commented 7 months ago

So I'm trying to add a new block to the blockly demo for testing the chest but like I'm a bit lost.

WithinAmnesia commented 7 months ago

Big update: Here is a working Godot 4.2.1.NET+ full demonstration of DevLogLogan's Godot 4 - RPG Inventory System From Scratch https://www.youtube.com/watch?v=V79YabQZC1s !

I had to code all of this by hand to create the exact version for anyone to learn and test from. It took myself several days to code all of this and now it all works. The next step is trying to get this to work with the Blockygame multiplayer demonstration successfully lol. This is a great tutorial to learn how to code in Godot 4. I learned so much in such a relatively short period of time. The video tutorial is so amazing. I wish all the Godot 4 documentation was that amazing at teaching how to do so much amazing work and get a working demonstration at the end to boot! All feedback is welcome.

Does anyone have any free time to look at the code for this RPG Inventory from scratch tutorial and see how it can be translated / implemented with the Blockygame multiplayer demonstration? What should be done? What are your thoughts and suggestions? All feedback is welcome. https://github.com/devloglogan/MultiplayerFPSTutorial/issues/13 https://github.com/WithinAmnesia/ARPG/blob/ARPG-Infinite-Worlds/DevLogLogan%20RPG%20Inventory.zip Here is the Blockygame demo too it needs the Godot_Voxel engine module to work: https://github.com/WithinAmnesia/ARPG/blob/ARPG-Infinite-Worlds/Infinite_Worlds_V.000.006.1.zip