• 0 Posts
  • 57 Comments
Joined 2 years ago
cake
Cake day: July 7th, 2023

help-circle



  • In C#, when programming save/load in video games, it can be super tedious. I am self taught and i didnt have the best resources, so the only way i could find to ensure its saving the correct variables was to manually input every single variable into a text file. I dont care if its plaintext, if people want to edit their save then more power to them. The issue is that there are potentially tens of hundreds of different variables that need to be saved for the gamestate to be accurately recreated.

    So its really nice that i can just copy/paste my classes into gpt and give it the syntax for a single variable to be saved, then have it do the rest. I do have to browse through and ensure its actually getting all the variables, but it turns a potentially mindnumbing 4 hour long process into maybe a 20 minute one thats relatively engaging.

    Also if you know a better way lmk. I read that you can simply hash the object into a text file and then unhash it, but afaik unhashing something is next to impossible and i could never figure it out anyways.




  • Im curious about the physics of directing waste heat into a beam. You cannot, at all, just stop producing waste heat. So the only way to hide it would be to ensure it goes in a controlled direction. But that would imply prefect infared mirrors which seem unlikely to be possible. Or i suppose you could dump all your waste heat into a heatsink, then periodically eject that sink from the ship. Maybe you could pump all your waste heat from the sink into the exhaust, since when you have your exhaust on there is no stealth anyways? Then when you want to hide it just pumps the heat back into the sink where its stored until next thrust?