Back then i was making a text adventure game but i forgot that i needed like a save/load option so that theuser can start back where he left off, but the thing is i couldn't find one.
I'm watching tutorials that are compatible with RPG, it goes like this:
@echo off
set hp=2
set money=10
:home
echo YOUR HP IS %hp% AND YOUR MONEY IS %money%
pause
(
set /p hp=
set /p money=
)<savefile.dbl
goto home
and then use ">savefile.dbl" to load the game file
Instead of being a variable save, how can i save it so that when the savefile loads, it loads the user backonto the area where he left off?
I would really appreciate it if someone could help me here, thanks!
I'm watching tutorials that are compatible with RPG, it goes like this:
@echo off
set hp=2
set money=10
:home
echo YOUR HP IS %hp% AND YOUR MONEY IS %money%
pause
(
set /p hp=
set /p money=
)<savefile.dbl
goto home
and then use ">savefile.dbl" to load the game file
Instead of being a variable save, how can i save it so that when the savefile loads, it loads the user backonto the area where he left off?
I would really appreciate it if someone could help me here, thanks!