Game Maker Studio: How to Create a Simple Save & Load.

Channel:
Subscribers:
268
Published on ● Video Link: https://www.youtube.com/watch?v=SdU_o-WExwU



Duration: 10:17
166 views
0


Visit my Search Arena site: https://searcharena.wordpress.com/

GMX File: https://bit.ly/2Y5o5Zf

How to create a score: https://www.youtube.com/watch?v=o8oe1_uO-AQ&t=32s

obj_load, Depth -20

Events:

Left Pressed

Actions:

ini_open("save.ini");
if
ini_read_real("save","room",0) = 0
{
show_message("No save file found.");

ini_close();
exit;

}


room_goto(ini_read_real("save","room",0));
score = ini_read_real("save","score",0);



ini_close();

obj_save_first, same for obj_save_two

Events:

Create

Actions:

ini_open("save.ini");

ini_write_real("save","room",room);
ini_write_real("save","score",score);


ini_close();

Actions:

Destroy the instance, set it to other




Other Videos By MC Designs


2019-08-25Game Maker Studio: (Part 1) How to Master Boss Movements & Two Custom Health Bars.
2019-08-11Game Maker Studio: How to Flip Sprites, Die, & Keyboard, Mouse Press.
2019-08-03Game Maker Studio: How to Create Simple Snow, Rain or Hail, background.
2019-07-28Game Maker Studio: How to Create a Fire Particle Background.
2019-07-21Game Maker Studio: (Part 2) How to Collect & Enter Password, to Move to Next Room.
2019-07-21Game Maker Studio: (Part 1) How to Collect & Enter Password, to Open Door.
2019-07-14Game Maker Studio: (Part 2) How to Gain Health, using a Custom Health bar.
2019-07-13Game Maker Studio: (Part 1) How to Master Custom Health bar.
2019-06-29Game Maker Studio: (Part 2) How to Master Check Point & Lives.
2019-06-23Game Maker Studio: (Part 1) How to Master Check Point.
2019-06-23Game Maker Studio: How to Create a Simple Save & Load.
2019-06-08Game Maker Studio: (Part 2) How to Scroll Left to Right on Screen.
2019-06-07Game Maker Studio: (Part 1) How to Scroll Left to Right on Screen.
2019-05-25Game Maker Studio: How to Make an Object, Play & Stop Sound at a Location.
2019-05-18Game Maker Studio: How to Create Monsters, to Move Randomly Toward Player.
2019-05-04Game Maker Studio: How to Fix a Corrupted GMX File Download.
2019-04-21Game Maker Studio: How to Master Wind, Rain & Object Follow.
2019-04-13Game Maker Studio: How to Create Birds Eye 3D Rain.
2019-04-12Game Maker Studio: How to Create a Sprite Color Change & Instance Change.
2019-04-06Game Maker Studio: How to Create Rotating Planets with Light & Shadow.
2019-03-31Game Maker Studio: How to have Light Follow the Player.



Tags:
android
pc
windows
computer
save
load
simple
create
how
to
learn
show
game
maker
studio
room
score
make
device