loffiz

joined 1 year ago
[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

Same!

Edit: proved by this comment ;)

[–] [email protected] 4 points 1 year ago

Mostly here for digital games but I wouldn't mind seeing some board games :)

[–] [email protected] 1 points 1 year ago

Thanks, I'll check it out!

[–] [email protected] 1 points 1 year ago

Ooo nice! I've read a bit about it but couldn't tell the difference from protobuf. Thanks for the recommendation!

 

I'm developing my own game from scratch, and up until now I've been using json (nlohmann) for de-/serialization. My game generates a lot of objects procedurally (think of it as Minecraft in size) and objects load/unload pretty slow and occupies a lot of disc space. I've seen lots of people recommend creating your custom serialization instead of using something like protocol buffers, but I cannot find much on the subject in terms of general guidlines and principles.

What I'm looking for:

  • Highly performant (probably a format that translates directly from and to the objects themselves?)
  • Simple to extend existing classes with serialization/deserialization instructions
  • Serialization of objects with nested objects
  • Handling of arrays/vectors and primitive types

I might be thinking wrongly on these wishes, please tell me if so =)

I've been pondering and searching for guidance but not finding anything concrete. I thought that there's probably some of you smart people that have experience with this!

[–] [email protected] 14 points 1 year ago

Agree on all your points! Not trying to sound arrogant here but I think content gets a lot more "bland" with more users, or at least in communities without great passion. It's much more personal here and posts generally puts interesting thoughts in my head as opposed to reddit.

[–] [email protected] 1 points 1 year ago

Using workspaces is great (at least in linux), otherwise lookin into other window managers could be beneficial. I use i3-gaps on my small laptop, and gnome on desktop and I frequently swap and split up everything I do into workspaces.