User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 14 of 14

Thread: Automatically Importing code from other frames?

  1. #11
    Clicker Fusion 2.5Fusion 2.5+ DLC
    casleziro's Avatar
    Join Date
    Mar 2013
    United States
    11 Post(s)
    0 Thread(s)
    If any of this sounds out of your league or not worth the time, you could drag all code/groups into a master group that you can collapse and copy/paste quickly. It's not ideal in my opinion (single frame + editor is the best) but it's very simple, and quicker than going through every line and every group to copy and paste them.

    I usually do that even if I don't copy and paste code. My event editor ends up looking something like this (groups in brackets):

    ---[player movement]
    ---[player damage]
    ---[player animation]

    If I would ever want to move my code, i collapse then copy the [Game] group.

  2. #12
    Clicker Fusion 2.5Fusion 2.5 Mac
    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)
    zip2kx's Avatar
    Join Date
    Jun 2015
    16 Post(s)
    0 Thread(s)

  3. #13
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleMac Export Module
    AndyH's Avatar
    Join Date
    Jun 2006
    1 Post(s)
    0 Thread(s)
    The Almighty Zentaco recently come up with a neat way to make a level editor, take a look at this:

    I added a couple of small things to it too:

    Another approach you can take over multiple frames is a combination of Event Behaviors and the global object flag. This approach does have some quirks and limitations, but it allows you to put all your event logic in one place and when you update it, it automatically updates in all other frames.

    One way to use this approach:-

    1. Create an active object and set to invisible (alternatively can apply to existing active objects)
    2. Set it's global flag to TRUE / ticked
    3. Add an event behaviour and create your events. You have to import references to other objects in the frame that you want to interact with.
    4. Drag and drop this active object into every frame where you want to use it.

    Now whenever you update the event behavior in any of the frame, all the other frames that have the active object are updated too. I've successfully used this approach on several games but as stated there are some quirks and limitations, for example you cannot refer to qualifiers (without hacks).
    Andy H @
    Awful Jokes - a new cartoon every day:
    Ovine's games:

  4. #14
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    MEHRDAD's Avatar
    Join Date
    Jan 2009
    0 Post(s)
    0 Thread(s)
    Construct 2 and 3 Have " Include event sheet " feature .It's so useful and you don't need to copy - paste events . I hope Fusion 3 add this feature or similar .
    Anyway Construct haven't native ports .Also required subscribe too and it's awful .

    I prefer stay with Fusion forever

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Replies: 1
    Last Post: 5th February 2017, 07:03 AM
  2. Importing or layering frames
    By QuailStudio in forum Fusion 2.5
    Replies: 0
    Last Post: 14th December 2016, 06:38 AM
  3. Animation Automatically Centering Frames When Playing
    By thehunter006 in forum Fusion 2.5
    Replies: 4
    Last Post: 14th October 2015, 05:06 PM
  4. Importing new anim frames not reflected in-game
    By artician in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 31st May 2008, 06:52 AM
  5. importing multiple frames
    By westray in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 19th March 2008, 11:05 PM

Tags for this Thread

Posting Permissions

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