Advertisement
Wolfrost

GML Example code

Jun 2nd, 2016
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if (keyboard_check_pressed(ord('X'))
  2. {
  3.     var played = false;
  4.     ini_open("NomeFile.ini");
  5.     played = ini_read_real("Section", "Key", false);
  6.     ini_close();
  7.     if (!played)
  8.     {
  9.         // Riproduci il tutorial
  10.     }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement