Comments (26)
Here is how to save.
(
echo %variable%
echo %variable%
)>filename.(txt,dlb,sav etc.)
And to load it is a little different
(
set /p variable name=
)<filename to load from
How this works is you echo a variable to each line of a file and then get input from every line of the file.
(Say I put money to save on line 1 then I have to load the same variable on line one)
Pretty disappointed it didn't cover save mechanics (because I really, for some reason, felt like this was focusing somewhat on text-based batch RPGs).
when i open the batch file, it opens for a split second, and then crashes
Well , you can learn batch easily almost everywhere...
Making a tutorial of batch inside batch is easy too...
nothing too special
I already knew everything in this tutorial, except for pause>nul (I think that was it), but you did a great job making a tutorial for a batch game, in a batch game. It makes me wonder why I couldn't have done that. GG
This game will teach you how to program in Batch! Batch is a great way to get into programming! I am also working on Batch RPG Tutorial!
#other