Snapshots in QB64?
#7
(02-16-2023, 01:50 AM)bplus Wrote: Aside from the player data, I am wondering how you could reconstruct the scene so you can pickup from where you left off.

This is a mighty ambitious item on the wish list!

I would use a gathering subroutine when saving a game and then a populating subroutine when loading a saved game.

SUB GatherSavedValues() ' place all saved game values into their UDTs

SUB PopulateValues(FileName AS STRING) ' get UDT data from save file and populate game variables from UDTs

Or something along these lines, just spit-balling here.
Software and cathedrals are much the same — first we build them, then we pray.
QB64 Tutorial
Reply


Messages In This Thread
Snapshots in QB64? - by 40wattstudio - 02-15-2023, 03:03 AM
RE: Snapshots in QB64? - by TerryRitchie - 02-15-2023, 03:51 AM
RE: Snapshots in QB64? - by 40wattstudio - 02-15-2023, 02:48 PM
RE: Snapshots in QB64? - by TerryRitchie - 02-15-2023, 06:35 PM
RE: Snapshots in QB64? - by bplus - 02-16-2023, 01:50 AM
RE: Snapshots in QB64? - by 40wattstudio - 02-16-2023, 02:24 AM
RE: Snapshots in QB64? - by TerryRitchie - 02-16-2023, 03:24 AM
RE: Snapshots in QB64? - by SMcNeill - 02-16-2023, 04:17 AM
RE: Snapshots in QB64? - by 40wattstudio - 02-16-2023, 10:57 AM
RE: Snapshots in QB64? - by mnrvovrfc - 02-16-2023, 01:38 PM
RE: Snapshots in QB64? - by SpriggsySpriggs - 02-17-2023, 05:38 PM
RE: Snapshots in QB64? - by TempodiBasic - 02-19-2023, 10:38 PM



Users browsing this thread: 5 Guest(s)