User Tag List

Results 1 to 6 of 6

Thread: how to save data between frames

  1. #1
    Clicker Fusion 2.5 (Steam)

    Join Date
    Aug 2019
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how to save data between frames

    So far example, i got to one frame and kill and enemy and then come back later to that same frame and the enemy is still dead,
    can some advice me on this?

    thanks

  2. #2
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,730
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Hi willycush. Use a global value. This carries over frames. Global Value A=0 the enemy is alive. When you kill the enemy set the global value to 1.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  3. #3
    Clicker Fusion 2.5 (Steam)

    Join Date
    Aug 2019
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i'll give it a go thank you!

  4. #4
    Clicker Fusion 2.5 (Steam)

    Join Date
    Aug 2019
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    one side question, i had an animation play on one frame, for example an npc fell over from a custom animation i put in and remains fallen over while im in the frame, but when i go back the animation is reset and i dont want it to be, can i apply what you've told me to this?, or do i need something else?

  5. #5
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    aenever's Avatar
    Join Date
    Jun 2013
    Posts
    1,436
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    Do something like if animation fall over is playing and it’s up to the last fame of the animation set global value to 1. If global value equals 1 set animation to fall over and set frame to whatever the last frame number is in that animation.

  6. #6
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    aenever's Avatar
    Join Date
    Jun 2013
    Posts
    1,436
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)

    Here's a quick example

    A global value works by storing a value that can be used across frames.

    Global Value controlling animation example.mfa

Similar Threads

  1. Transferring list data to other frames
    By DannyGrey in forum Fusion 2.5
    Replies: 2
    Last Post: 9th April 2018, 07:18 PM
  2. Saving a sub applications data across frames?
    By TypicalCactus in forum Fusion 2.5
    Replies: 3
    Last Post: 30th November 2016, 09:17 PM
  3. How to Save data across frames.
    By TheSketchySide in forum Multimedia Fusion 2 - Technical Support
    Replies: 15
    Last Post: 23rd November 2013, 10:52 PM
  4. Storing data over several frames
    By Jason in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 9th November 2010, 10:18 PM
  5. Transferring data between frames
    By Melvin in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 25th April 2007, 04:26 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
  •