trophy 1575
Apr 2021 217 posts
Update 25.10.29 : news/update-25-10-29
trophy 2401
Sep 2021 16 posts
first
trophy 1988
Sep 2021 248 posts
📦
trophy 325
Jul 2023 50 posts
🔥🔥🔥
trophy 0
Jul 2024 20 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 1375
Apr 2021 383 posts
OpenRead and OpenWrite give you a stream.

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