User Tag List

Results 1 to 4 of 4

Thread: How to run game from specific frame?

  1. #1
    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)

    How to run game from specific frame?

    Sorry guys, this is probably no-brainer!

    In my game every room etc. is in its own frame, so if I run a frame with F7 and leave the room, my application closes.
    I have some events I would love to check if they work correctly or not, so I was thinking if there is a way to "start" game from specific frame so I can move between frames.

    If I just click F8 I need to watch opening etc. And later on it would be pain in the ass.

    And yeah I could add event to first frame, by clicking a button I could jump to frame I want. But is there a easier way to do this?

    Thanks!

    - Jesse

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    AyreGuitar's Avatar
    Join Date
    Jan 2011
    Location
    Wales, UK
    Posts
    1,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm not aware of anything like that.
    Perhaps re-ordering your frames so that the frame you want to test is first - but it could cause problems if you're using expressions to calculate which frame to jump to!

    How would you like it to work? Perhaps it's an easy addition for Clickteam to make - EG Ctrl+F7 runs app starting at the current frame, but doesn't quit application when it jumps to a new frame.

  3. #3
    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)
    Quote Originally Posted by AyreGuitar View Post
    I'm not aware of anything like that.
    Perhaps re-ordering your frames so that the frame you want to test is first - but it could cause problems if you're using expressions to calculate which frame to jump to!

    How would you like it to work? Perhaps it's an easy addition for Clickteam to make - EG Ctrl+F7 runs app starting at the current frame, but doesn't quit application when it jumps to a new frame.
    Yeah I'm little worried of re-ordering frames so I won't break any links etc. Should not do that but still.
    And that's exactly what I had in mind, third option to run the game from the frame you are currently at.

    But maybe I'll just toss one extra frame and re-order it to be first one, and assign there every possible frame upon mouse click or something similiar. Should work.

    But thanks for suggestions.

  4. #4
    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)
    Quote Originally Posted by Snail View Post
    I'm not sure how you have your game programmed, but I'm sure there's a good way to code it that would make this easy. Put all of the events in the first frame into a group (this should've already been done). Above the group, use Start of Frame: Jump to the frame you want to test.

    Even better would be never hard-coding frame numbers. As in: Never, ever reference absolute frame numbers/animation frames/layers/anything that's not constant. Something to keep in mind for the future.

    Snail
    Thanks for tips Snail!

    It must be the most common mistake to start with the most ambitious projects right away.
    My code is a little mess, but I think everything else is looking quite good. Gotta develop further, but can't wait to open topic to show what I've been working on.

    Cheers!

    - Jesse

Similar Threads

  1. Scale a specific frame?
    By WhiteEyeDesign in forum Android Export Module Version 2.0
    Replies: 3
    Last Post: 17th April 2013, 11:48 AM
  2. 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
  3. Whole game in 1 frame?
    By camelman in forum Multimedia Fusion 2 - Technical Support
    Replies: 13
    Last Post: 30th November 2008, 01:27 PM
  4. 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
  •