Talk:Documentation: StreamingKeepAliveComponent

From Noita Wiki
Jump to navigation Jump to search

Interesting! Thanks for the edit, February. I'm seeing the same thing when testing on the main branch non-dev build. It seems like the component is capable of loading in new chunks, and keeping loaded chunks loaded. Loading new chunks uses the position or hitbox if it exists, and keeping loaded chunks loaded is using the previously used region+256 added to all sides.

Checking if a chunk falls within a region is done inclusively on all sides, which means it "leaks" out a pixel down and to the right, making it effectively a 513x513 region.

Does that make sense and match with your testing? DexterCD (talk) 21:00, 6 November 2023 (UTC)

Hi DexterCD! Thank you for the information. I hadn't done much testing on the entity loading in new chunks. I've checked it now, and I believe the behaviour matches with your testing. I will add this information to the page. February (talk) 02:05, 7 November 2023 (UTC)
Thanks! I've integrated your note and added a couple examples/screenshots. I had a hard time putting everything into words clearly, but I think it's alright now. Corrections/details don't have to be added as a <ref>, feel free to make any changes you think improves the page! DexterCD (talk) 17:05, 7 November 2023 (UTC)
This is a great update! You've really tested the mechanism thoroughly. Thanks a lot! February (talk) 18:38, 7 November 2023 (UTC)