Entrance Chat Gallery Guilds Search Everyone Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining the forum??
August 31, 2025 - @130.72 (what is this?)
Activity rating: Three Stars Posts & Arts: 45/1k.beats ~ Boop! The forum will close in 870.beats! Unread Topics | Unread Replies | My Stuff | Random Topic | Recent Posts Start New Topic  Submit Art
News: :eyes: ~ Inconvenience is counterculture ~ :eyes: Super News: Upload a banner! (or else!)

+  MelonLand Forum
|-+  Virtual Worlds
| |-+  ❤︎ ∙ World Building
| | |-+  Implementing a save feature scares me


« previous next »
Pages: [1] Print
Author Topic: Implementing a save feature scares me  (Read 44 times)
MediocreMetastasis
Jr. Member ⚓︎
**


Personal Text

⛺︎ My Room
Itch.io: My Games

View Profile WWWArt

Joined 2025!
« on: August 30, 2025 @278.14 »

This isn't a cry for help. I wanted to talk about how scary save features are. You can't just pause the game until the user wants to play the game again (Well I guess you can under extreme circumstances) so you have to find a way to save the current state to the hard drive. How do you do that? Save everything as a variable and write it to a text file.

For example, Half life 2 lets you save the game anywhere. Which means it needs to make the player's,enemies',all physic objects', projectile's position, rotation, velocity, torque, and ai state as well as ammo, current sound playing and it's current playback position all as variables just to write it to a text file.
Logged

Pages: [1] Print 
« previous next »
 

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021 | Privacy Notice | ~ Send Feedback ~ Forum Guide | Rules | RSS | WAP | Mobile


MelonLand Badges and Other Melon Sites!

MelonLand Project! Visit the MelonLand Forum! Support the Forum
Visit Melonking.Net! Visit the Gif Gallery! Pixel Sea TamaNOTchi