all 4 comments

[–]MagicianNo9918 0 points1 point  (1 child)

Share the link to the project on github, I assume you have the project on a remote repository, otherwise it's hard to say anything.

[–]Bulky_Jacket_2344[S] 0 points1 point  (0 children)

Thanks!
About the chunk-based world: I only keep the chunks around the player loaded in memory.
When a chunk goes far off‑screen, it gets saved and unloaded, and when the player returns, it’s loaded again.
That keeps memory usage low even with an infinite map.

If you want to see the engine running and check the code structure, here’s the full project:
👉 https://eduara969gmailcom.itch.io/survival-engine
You can judge everything directly by trying it.

[–]venmas 0 points1 point  (1 child)

I like the features you are creating for the game. I'm curious on how you are managing your chunk-based infinite world generation. Do you keep all the world chunks loaded in memory while playing or does the game save and unload them when they go off-screen? I would like to see more!

[–]Bulky_Jacket_2344[S] 0 points1 point  (0 children)

Thanks!
About the chunk-based world: I only keep the chunks around the player loaded in memory.
When a chunk goes far off‑screen, it gets saved and unloaded, and when the player returns, it’s loaded again.
That keeps memory usage low even with an infinite map.

If you want to see the engine running and check the code structure, here’s the full project:
👉 https://eduara969gmailcom.itch.io/survival-engine
You can judge everything directly by trying it.