I made a new file format

preview_player
Показать описание
Here I talk about the challenges of saving and loading game state along with what I did to solve it.
Рекомендации по теме
Комментарии
Автор

"You often only think about this late into development" not unless you've been through this problem before!

lunkums
Автор

Title: I made a new file format
Thumbnail: AMOGUS

XceptionalBro
Автор

"Json's crap" - *invents json with a different syntax*

therealpeter
Автор

About rewriting the parser on every format change: this is where metaprogramming can come into play. I'm incredibly grateful for libraries like serde in rust that abstract away the need to do this by hand, and you're using C++ so doing that there shouldn't be too hard either

shadamethyst
Автор

Never trust someone who uses a light theme code editor.

dakrazyk_
Автор

A full game like Gmod's LIDAR mode is something that I have wanted to see for a while, keep up the good work

btarg
Автор

Some very interesting ambient noise behind you!

I thought maybe there would be a psychological horror twist somewhere, but instead I just learned something. It kept me engaged.

zebbaukhagen
Автор

1:35 AMONGUS

But in all seriousness, this is was very informative and I'm thankful I stumbled upon this video!

Moonlytee
Автор

"always keep your data as simple as you possibly can" cannot understate this, with doing anything programming-related, not even considering saving and loading for a game, this is an extremely important idea

Templarfreak
Автор

I thought "Well, he's going to create a parser for his structs to know how to read/write in binary format, making it efficient in size, reading and writting"

*Proceeds to save information as raw text*

sr_meia_noite
Автор

Cool idea. I think you could have achieved this with a mixture of binary JSON and distributing those graph files, but great job. I normally am not a fan of when people try and invent new formats, but I understand the value in readability. I just think eventually you realize you can use an existing solution and eliminating you needing to maintain some bespoke format spec, parser, etc.

Keep it up.

valueconomy
Автор

so true about thinking late. a similar thing is when you gotta implement an undo system which needs you to change all the mutations into commands x3

skejeton
Автор

I like the style. The dots make it look satisfying.

dankmemequeen
Автор

i loved the combination of eerie sound effects and just so many blinding transitions (i am watching from a dark room)

camilleon
Автор

This is the most threatening aura I've seen from a video about file formats.

mom
Автор

19 seconds in i said to myself " this is interesting!" and you now have a new sub! :) keep it up bro!

IzzyMann
Автор

this is really cool looking! will you draw the particles that are occluded or drawing particles through walls is intended?

skejeton
Автор

Him: creates a new file format.
Me: creates a folder with hundreds of json files to save properties of each level object.

We are not the same.

_GhostMiner
Автор

I did too! I renamed my .txt file to a .hw2007 file!

hw
Автор

This guy should meet the other guy on YouTube that created reflection in C++ for this purpose

bob_kazamakis