User Tag List

Results 1 to 3 of 3

Thread: Reorganize Common Events into Global Events

  1. #1
    Clicker Fusion 2.5 DeveloperiOS Export Module
    FinalSpecimen's Avatar
    Join Date
    Oct 2011
    Location
    Boston, MA
    Posts
    123
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Reorganize Common Events into Global Events

    This is probably a no-brainer, but I (over many years of basically teaching myself this software through trial and error) have many events that repeat in every frame - i.e. the movement engine for the player. To clean up everything and get a little more professional about this whole process, it is worth it to put all the events common to every frame into one group in Global Events that will then filter to all the levels? Does this make a big difference in disk space/performance? Sorry if this is common knowledge, I don't have a programming background.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    happygreenfrog's Avatar
    Join Date
    May 2011
    Location
    I.L.T.D.O.I.R (I.L.T.D.O.I.R's Location: The Dimension Of Infinite Recursion)
    Posts
    4,303
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Well, if you aren't using qualifiers, then it may be a good idea to use global events. If you are, then, even if it would technically be a good idea, it's impossible to use both at the same time (due to the way they were implemented, they were very buggy when used at the same time, so it's impossible to do so as of now, if you're using a semi-recent version of CF2.5). If you are using qualifiers, and you want a better way to manage code, try using something like this to save your levels externally, and try having all your code in one frame, loading levels as you need them (if you have no idea how you would do that, or it otherwise sounds confusing, well, then it may just be best to wait for future projects to do something like that): http://community.clickteam.com/threads/84185-Array-Level-Builder-for-Fusion-2-5-(variation-on-Shawn-s-example-of-the-same-name)

  3. #3
    Clicker Fusion 2.5 Developer
    PBarwick's Avatar
    Join Date
    Jul 2014
    Posts
    390
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    For code that needs to be reused across frames, it's definitely worth making it global as it is so much easier to maintain and update.

    As HGF says, unfortunately qualifiers do not work in global events, so you can't use those. If you don't need qualifiers in the global code, then go for it, it can make things a lot easier!

Similar Threads

  1. Global events or Frame events first?
    By Digitalic in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 25th June 2010, 08:18 PM
  2. Group of events & global events - performance?
    By Leander in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 9th June 2010, 03:00 PM
  3. Global Events
    By Angelfox in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 18th January 2009, 02:01 AM
  4. Global Events
    By Bruto in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 22nd November 2006, 10:14 PM
  5. Global Events
    By Nick in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 18th November 2006, 01:21 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
  •