A
Anton Provid
Guest
hi, i'm doing the survival project with using GM:S 1.4. In my project, i have trouble when saving and loading the project that mean's i want to building the object (house) then click save and when i loaded the game, the object (house) is not exist. Any help?
Saving:
loading game:
Sorry I'm just newbie so I don't know my coding is correct or not.
Saving:
Code:
ini_open("saveData.ini");
ini_write_real("house", "obj_house.x", obj_house.x);
ini_write_real("house", "obj_house.y", obj_house.y);
ini_close();
Code:
ini_open("saveData.ini");
obj_house.x= ini_read_real("house","obj_house.x",obj_house.x);
obj_house.y= ini_read_real("house","obj_house.y",obj_house.y);
ini_close();