Update 25.10.29

Started by matt · 11 months ago · 8 replies · 524 views

#1
matt
Facepunch
JoinedApr 2021 Posts266 Score2,045
Update 25.10.29 : news/update-25-10-29
#2
piC0peek
Member
JoinedSep 2021 Posts21 Score3,826
first
#3
Titanovsky
Member
JoinedSep 2021 Posts326 Score3,973
📦
#4
K3rhos
Member
JoinedJul 2023 Posts58 Score680
🔥🔥🔥
#5
The MAZZTer
Member
JoinedJul 2024 Posts21 Score0
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.
#6
garry
Facepunch
JoinedApr 2021 Posts436 Score2,270
OpenRead and OpenWrite give you a stream.

https://sbox.game/api/Sandbox.BaseFileSystem
#7
Aleph
Member
JoinedAug 2022 Posts59 Score755
Happy to see Dark Descent getting a shout out.
#8
elwiz24
Member
JoinedNov 2025 Posts1 Score0
#9
Web_Artur
Member
JoinedDec 2022 Posts14 Score245
 
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.