Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
WithinAmnesia opened this issue Feb 16, 2024 · 3 comments

Comments

@WithinAmnesia
Copy link

Test chunks link: WithinAmnesia/ARPG#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
Copy link
Owner

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
Copy link
Author

WithinAmnesia commented Feb 17, 2024

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants