User Tag List

Results 1 to 2 of 2

Thread: Is in specific frame, jump to another frame, return to that specific frame

  1. #1
    No Products Registered

    Join Date
    Jul 2015
    Posts
    110
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Is in specific frame, jump to another frame, return to that specific frame

    Sorry for the long title,
    So, (sounds like i'm making 9 games at once, but not really, i'm just really excitted i can make games now) i'm making an game where you play in a house, as a guy who needs to stay awake the whole night. he has to stay awake from sunday to saturday. (not daytime). He has to do things to make him stay awake (such as drinking water). In case the player sleeps, he is brought to a "Nightmare". (It's random which nightmare he goes to). If he gets away from the nightmare and wakes up, he returns to the game.

    So let's say i'm playing the game at the friday. i sleep and have a nightmare, i succesfully beat the nightmare, but how do i return to the exact day he was?

    Here's an example:

    Frame 1 - Gameplay, sunday
    Frame 2 - Gameplay, monday
    Frame 3 - Nightmare 1
    Frame 4 - Nightmare 2

    So i sleep in frame 2, and go to the nightmare 1. When i beat it, how do i make sure the game KNOWS to return to where i was?
    i'm bad with these values and stuff things.

  2. #2
    Clicker

    Fusion 2.5 Developer
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    J3sseM's Avatar
    Join Date
    Feb 2013
    Location
    Finland
    Posts
    868
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    You can use global values for that.

    There are many ways to do it, but you could create a global value and name it accordingly.
    Lets make one and call it for example "place", you could add an event "end of frame -> Set place to: X". (If you are in frame 1 for example set it to 1.)

    Then, once you finish your current frame, you could add an event "End of frame + place = 1 -> Jump to Frame 1". (Here you can check which frame to go)

    Add multiple events,
    End of frame + place = 1 -> Jump to Frame 1
    End of frame + place = 2 -> Jump to Frame 2
    End of frame + place = 3 -> Jump to Frame 3

    Etc.

    Hope this helps.

Similar Threads

  1. How to run game from specific frame?
    By J3sseM in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 11th July 2013, 07:40 AM
  2. Scale a specific frame?
    By WhiteEyeDesign in forum Android Export Module Version 2.0
    Replies: 3
    Last Post: 17th April 2013, 11:48 AM
  3. [BUG] X Right Frame expression return X Left Frame position
    By mobichan in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 18th October 2012, 02:08 PM
  4. Goto specific frame when player leaves area
    By Worf in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 4th December 2009, 01:07 PM
  5. specific animation has played a specific frame?
    By mobichan in forum Multimedia Fusion 2 - Technical Support
    Replies: 15
    Last Post: 22nd April 2008, 04:34 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
  •