Topic:   Writing and opening files in SilverCreator2.0b5   (Read 2543 times)


0 Members and 1 Guest are viewing this topic.

Johna100


  • GMG-er

  • **


  • Posts: 173

  • lalala
Writing and opening files in SilverCreator2.0b5
« on: May 05, 2020, 02:15:09 PM »
Im making an adventure game and I want to be able to save variables and open variables to use within the game Im making. This is for a save game and open game feature. If anyone can provide code examples on how to do this i would be happy. Also explanations on what the code does would be nice also. Thanks.  ;)
« Last Edit: May 05, 2020, 02:30:55 PM by Johna100 »

Johna100


  • GMG-er

  • **


  • Posts: 173

  • lalala
Re: Writing and opening files in SilverCreator2.0b5
« Reply #1 on: May 05, 2020, 07:49:33 PM »
I think it will be hard to save all the variables I want in my game. So I don't need to know how to write files anymore. ;D

GMG Mike


  • Administrator

  • GMG-er

  • *****

  • no avatar

  • Posts: 536
    • mikerichardson.name
Re: Writing and opening files in SilverCreator2.0b5
« Reply #2 on: May 23, 2020, 05:00:20 AM »
SilverCreator Runtime is being used to make GM Cocoaizer so you can play the old GM games on a modern Mac.

One of the features of GameMaker games is the easy saving and loading of save games.

So I have to code this for the old GM games to work, which means SC games will also be able to use this. It will reload all of the variables for you, and also setup the sprites in the exact way that they were.

Johna100


  • GMG-er

  • **


  • Posts: 173

  • lalala
Re: Writing and opening files in SilverCreator2.0b5
« Reply #3 on: August 15, 2020, 03:02:33 PM »
Found it, Got some things to work from this information.
This link shows how to deal with files in Game Maker but later on it shows how to in Silver Creator.
http://gamemakersgarage.com/forum/index.php?topic=29.msg289#msg289

« Last Edit: August 15, 2020, 03:05:42 PM by Johna100 »

Johna100


  • GMG-er

  • **


  • Posts: 173

  • lalala