SkyShadowHero / Dodge-the-Creepers

A mini game inspired by Minecraft ,just move to dodge the creepers!!!
12 stars 0 forks source link

Can this work for Godot 4+ games with multiplayer and open world chunks? #1

Open WithinAmnesia opened 9 months ago

WithinAmnesia commented 9 months ago

Test chunks link: https://github.com/WithinAmnesia/ARPG/discussions/15

I'm trying to find a way to seamless load and unload chunks for a 2D multiplayer game project to make an open world with a working server using Godot 4.2.1.NET.

How can this work for multiplayer and what is needed for this to potentially work? What options can be used for chunk loading and unloading seamlessly in Godot 4.2.1.NET? Please give feedback.

SkyShadowHero commented 9 months ago

it's just godot3.5 teching project and only has very simple logic.But your thought maybe you can refer to this article to see if it is helpful. https://dennissmuda.com/blog/godot-chunking-tutorial

WithinAmnesia commented 9 months ago

Here is an update since I last posted. https://jonathaneeckhout.itch.io/jdungeon For the goal right now it is easy to play this but imagine it has seamless chunk loading and unloading. As instead of the black world boundary a new chunk loads in seamlessly. What are your suggestions and thoughts?

Update: https://github.com/WithinAmnesia/ARPG/tree/ARPG-Infinite-Worlds Here is the 128x128 with 32x32 pixel tile chunk to test.

My initial testing seems to feel even faster combat with the 128x128 chunk. This 128x128 chunk has the same amount of entities as the 256x256 chunk. For I moved all of the entities over into the 128x128 chunk. This 128x128 chunk is a good test for using the Infinite-Worlds using the BinarySerializer for Godot 4.2+ from Theraot: https://gist.github.com/theraot/31515e28e2d8bfea33f6c6d5bcd852f6 . There needs to be some testing how to make the chunks seamlessly load and unload. https://gamedev.stackexchange.com/questions/209002/looking-for-help-godot-4-multiplayer-seamless-open-world-chunks

WithinAmnesia commented 9 months ago

it's just godot3.5 teching project and only has very simple logic.But your thought maybe you can refer to this article to see if it is helpful. https://dennissmuda.com/blog/godot-chunking-tutorial

Well any thoughts and feedback is helping too. Its not easy to find skilled people who can have any little insights on this puzzle. I have a test demo and like any help is welcome. It'll probably take a community solve this puzzle but once its solved everyone wins. Any feedback is welcome.