User Tag List

Results 1 to 5 of 5

Thread: ini save and load help

  1. #1
    Clicker Fusion 2.5 Developer

    Join Date
    Aug 2016
    Location
    Utah, USA
    Posts
    79
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question ini save and load help

    Hi Clickers,
    I have cut my game down to a couple of game play frames from 50 to try to solve my problem of how to save and load with ini- specifically
    1) the first time a player saves
    2) when that first player returns and wants to resume that game
    3) If there is a new player ( a second, separate player)
    I can't seem to even get past one player saving and loading with multiple frames. I have been working on this for months and have watched every video out there.
    Obviously I am not a programmer, but hopelessly stubborn and I really want to complete this project.
    If anyone is willing to take a look and give me some pointers as to what I am doing wrong I would really appreciate it.
    Thanks, Cathy
    https://www.dropbox.com/s/6dhdn1bx94...s2018.mfa?dl=0

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export Module
    Janette5's Avatar
    Join Date
    Dec 2014
    Location
    Western Cape, SA
    Posts
    1,159
    Mentioned
    199 Post(s)
    Tagged
    0 Thread(s)
    There are several problems offhand with your ini file - you don't need to specify a path - just a filename. (Specifying a path is optional - leave it out for now.)

    You spell the name differently on different screens - with a space and then without a space - it will create different files.

    You definitely don't want your game writing to the ini file all the time - it takes too much memory. You just want it to read the file as a start of frame event. As things change update a global values and strings and at the end of the frame write that once to the ini files as an end of frame event.

    In some cases your order of things is wrong - you're attempting to read the file a line ahead of telling Fusion what the ini file is.

    Also by saving with "end of application" it will only save when the person quits the application on that frame. You need an "end of frame" event instead so that it also saves when they just go to the next frame.

    It would be easier for me to give you a shell .mfa with an ini file that does what you're trying to achieve than for me to try and figure out your game. Would that help you?

    (The ship controls don't work my side - it only changes the ship's direction but it never moves and I got the impression it was meant to.)

  3. #3
    Clicker Fusion 2.5 Developer

    Join Date
    Aug 2016
    Location
    Utah, USA
    Posts
    79
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh my gosh, I didn't know about all this stuff- so helpful! A mfa shell or example would really help me to be able to study it and learn it. Yes, the ship control works on mine. I would really appreciate a shell if you can spare it. Thanks so much for responding!

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export Module
    Janette5's Avatar
    Join Date
    Dec 2014
    Location
    Western Cape, SA
    Posts
    1,159
    Mentioned
    199 Post(s)
    Tagged
    0 Thread(s)
    I created an example file. I included the menu settings and stuff I generally got stuck with when starting Fusion and had to ask for help. So it's all in 1 example file.

    If anything is confusing, just ask.

    Edit: Because certain features and controls don’t work in Direct 3D 9 in Full Screen Mode, I switch to window mode to change something that won’t work in Full Screen Mode and then switch back to full screen thereafter if necessary. You can remove those codes when you’re working in Standard Mode.
    Standard Mode is only recommended if you have no movement in your game i.e. like a static puzzle or trivia game.
    [Main Game Properties = Runtime options = Display options = Select Display Mode: Direct3D 9]


    (I've also submitted this file to the Tutorials / Examples section.)
    Attached files Attached files

  5. #5
    Clicker Fusion 2.5 Developer

    Join Date
    Aug 2016
    Location
    Utah, USA
    Posts
    79
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You're awesome Janette5! I really appreciate you taking the time to help me. I may not understand it all, but I will study it. Thank you for the offer to ask further questions! It gives me hope that one day I will be able to finish this game. Thanks again,
    Cathy

Similar Threads

  1. INI save/load doesn't save a value
    By neonwarrior in forum Fusion 2.5
    Replies: 2
    Last Post: 5th April 2016, 01:42 PM
  2. Save and Load
    By PimeX in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 16th August 2010, 11:22 AM
  3. Save status of entire game (load / save values)
    By DEKE15 in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 13th September 2009, 10:17 AM
  4. Save load ext
    By scurvy in forum The Games Factory 2 - Technical Support
    Replies: 15
    Last Post: 29th July 2009, 02:05 PM
  5. Save Load
    By Winston in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 1st January 2008, 04:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •