User Tag List

Results 1 to 7 of 7

Thread: Android Load and Save State

  1. #1
    Clicker Fusion 2.5
    Gigatron's Avatar
    Join Date
    Jun 2020
    Location
    France
    Posts
    340
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Android Load and Save State

    Hi,
    I am working on a new extension called save state; The goal is saving all object state on the frame like;

    Position x,y size x,y angle ... then Load button restore saved state...

    After some test all working well , the saved file use internal storage and can only readable by your application no need permission.

    Trying to include save integer and string variables of each objects variables. Maybe include each object (Flags are binary) on off on on on on = 47

    Be patient ;

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    VBEinc's Avatar
    Join Date
    Oct 2015
    Posts
    894
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Gigatron View Post
    Hi,
    I am working on a new extension called save state; The goal is saving all object state on the frame like;

    Position x,y size x,y angle ... then Load button restore saved state...

    After some test all working well , the saved file use internal storage and can only readable by your application no need permission.

    Trying to include save integer and string variables of each objects variables. Maybe include each object (Flags are binary) on off on on on on = 47

    Be patient ;
    AWESOME! This will be an amazing add on!

  3. #3
    Clicker Fusion 2.5
    Gigatron's Avatar
    Join Date
    Jun 2020
    Location
    France
    Posts
    340
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Nice , so let's try to save all objects data and restore it after load state;

    Save what ? x,y size x,y, flags of objects (All objects on frame) save Global integer and String variables. Save Scores and lives[0-3]
    It's working like ini object with many loops (for i=0;i<xx;i++) .

    An example is included ... if it's working i will try to save all of objects data on the screen;
    Attached files Attached files

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    VBEinc's Avatar
    Join Date
    Oct 2015
    Posts
    894
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    I can verify it works perfectly on my LG STYLO 5. I changed the graphic that rotates as it is easier to see when you save, the direction is saved too.
    I didn't bother testing it on my VERIZON Samsung Devices.

    Awesome work bud! This is Groundbreaking for Saving to Android with ease.


    Screenshot_20230207-154839.jpg

  5. #5
    Clicker Fusion 2.5
    Gigatron's Avatar
    Join Date
    Jun 2020
    Location
    France
    Posts
    340
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    Updated the 'Load and Save" state extension for android , this time trying to save Counters objects values; Integer, Double, String and so on , just integer values was tested;

    The example .mfa show values, save and restore the initial values of counters when load button is clicked;


    Regards
    Attached files Attached files

  6. #6
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Sloxone's Avatar
    Join Date
    Nov 2011
    Location
    France
    Posts
    590
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Nice Work

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    VBEinc's Avatar
    Join Date
    Oct 2015
    Posts
    894
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Gigatron View Post
    Hi,

    Updated the 'Load and Save" state extension for android , this time trying to save Counters objects values; Integer, Double, String and so on , just integer values was tested;

    The example .mfa show values, save and restore the initial values of counters when load button is clicked;


    Regards
    Flawless!. Excellent work!

Similar Threads

  1. Android Save and Load State
    By Gigatron in forum Android Export Module 2.5
    Replies: 2
    Last Post: 6th January 2023, 11:56 PM
  2. How Do I Save The Entire Frame State For Android?
    By DokieMaster in forum Android Export Module 2.5
    Replies: 0
    Last Post: 8th April 2017, 05:22 PM
  3. How Do I Save The Entire Frame State For Android?
    By DokieMaster in forum Fusion 2.5
    Replies: 0
    Last Post: 5th April 2017, 06:41 AM
  4. Load and Save for Android Help
    By FrostyHorde in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 9th February 2014, 08:24 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
  •