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