Can't Save INI Files Across Frames? (EXAMPLE)

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hi!

    I'm creating a game with a simple character creation screen: you enter a name, you chose your character's gender, and then start playing. The problem comes when I try to use INI files to save your character's name and gender. For some reason, it just isn't saving, no matter what I try.

    I think the problem is that I need the information to load on a different frame than it saved on. Is there a way to accomplish this successfully? I've attached an MFA file that shows what my problem is.

    Please login to see this attachment.

  • You need to declare a name for you ini file - on each frame

    Start of frame
    Click below the ini folder - set current file.

    Right now its not saving anything because it doesn't have a filename.

    By the way, buttons and edit boxes don't work in all environments - for example they won't work in "proper" full screen with Direct 3D.

    Also keep in mind that sometimes players don't bother to enter names - and as long as its okay that you have blanks you can carry on. Else you need to set the names to global strings - test that there is one, and write one if there isn't one.

    Casual games: Please login to see this link.

  • You need to declare a name for you ini file - on each frame

    Start of frame
    Click below the ini folder - set current file.

    Right now its not saving anything because it doesn't have a filename.

    By the way, buttons and edit boxes don't work in all environments - for example they won't work in "proper" full screen with Direct 3D.

    Also keep in mind that sometimes players don't bother to enter names - and as long as its okay that you have blanks you can carry on. Else you need to set the names to global strings - test that there is one, and write one if there isn't one.

    That's what I'm missing! Thank you!

    And yes, I know about the edit boxes/buttons. The example I showed was a quick mockup, it isn't the actual game I'm working on.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!