How to Save/Load Data with Text File (1/2) - Java Extra 15

preview_player
Показать описание

On this video, I'll explain how to save/load your game by using a text file, BufferedReader and FileReader.

Java Extra Playlist:

#programming #gamedev #java
Рекомендации по теме
Комментарии
Автор

Uploaded another save/load tutorial recently.

RyiSnow
Автор

Look, I'm trying to save/load the adventure game with multiple classes that you made most recently, but I'm having problems when doing the loadGame, because I'm not able to validate the currentWeapon of the player class, it's giving me an error. Can you help me?

thamiryssmbraga
Автор

Not is bettrer use the class Properties?

EwersonFranco
Автор

hello RyiSnow I just went though this video trying to load the data that is written on the save file into the variables like player.hp and player.currentWeapon.name and it is not working I am trying to use your modularized(multiple class) text adventure game as a model but I cannot figure out what is happening may I please have your guidance

redstar-zfqr
Автор

Hey RyiSnow, I have followed everything correctly yet when i try load both my integers just say 0 and my strings(eg. weapon) are blank. Been looking for a while i can't pin point the location.

henrywitt
Автор

huhu I'm just using notepad and command prompt after all

rvecicane
visit shbcf.ru