trophy 1550
Apr 2021 195 posts
Update 25.10.29 : news/update-25-10-29
trophy 2160
Sep 2021 15 posts
first
trophy 2013
Sep 2021 221 posts
📦
trophy 315
Jul 2023 40 posts
🔥🔥🔥
trophy 0
Jul 2024 18 posts
I would suggest you be sure to have Stream-based APIs for Storage so it integrates well with other .NET APIs and third-party libraries .

You should also have async/coroutine/whatever methods for reading/writing storage, since it looks like the ones you shared are synchronous. If they are called on the game loop thread (I assume any game scripts you write run there by default) with large files, you could get frame drops. Adding async variants will make the calls more complex (you start calling on one frame but finish on another) but developers can use this to minimize stutter.
trophy 1305
Apr 2021 368 posts
OpenRead and OpenWrite give you a stream.

https://sbox.game/api/Sandbox.BaseFileSystem
trophy 755
Aug 2022 58 posts
Happy to see Dark Descent getting a shout out.
trophy 0
Nov 2025 1 post
trophy 230
Dec 2022 13 posts
 
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.