User Tag List

Results 1 to 8 of 8

Thread: Question regarding global events

  1. #1
    No Products Registered

    Join Date
    Jul 2006
    Posts
    375
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question regarding global events

    I see that some objects can be set to be a "global object"
    and other objects, like Mooclick, can be imported into the global event editor... When you do this, will these work in a level as long as the object exists in it?

    I am working on a mooclick game where the online code is mostly in the global editor. Is this a good idea? Are there any huge monsterous reasons why I shouldn't do this?


    Thanks in advance!


  2. #2
    Clickteam Clickteam
    Olivier's Avatar
    Join Date
    Jun 2006
    Posts
    3,000
    Mentioned
    9 Post(s)
    Tagged
    1 Thread(s)

    Re: Question regarding global events

    AFAIK Global Events and global objects are two different things. Importing an object in the Global Events won't make it global.
    Making an object global ensures that it will keep its data (properties, values, strings, graphics) in each frame where it is present.

    Code from the Global Events will only be executed if the objects are present in the frame.
    If you have code that is needed on many frames then I think it's a good idea to put it in the Global Events, whether Mooclick is involved or not. Otherwise you might have trouble updating and maintaining your code across the numerous frames.

  3. #3
    Clicker Fusion 2.5

    Join Date
    Nov 2006
    Location
    South America
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Question regarding global events

    Global events are more useful for shortcut keys, for example. I mean, "Upon pressing F9"---> Change to fullscreen.

    The events with objects, for example "Fuelcounter is equal to 0" will only work in the frames where Fuelcounter exists.

    Tutorial:
    Global objects are very useful in MMF 1.5 and previous versions for using more of the 16 global values provided. For example an active object, make it global and use its alterable values. Example: Value A: Player ATK, value B: Player DEF (for a RPG game). Then, copy (not clone) the object to all the levels that need the ATK and DEF values. This way, the values will stay like before even when swithching frames! So TGF and MMF 1 really have more than 16 global values, if you know what to do.

    That's all,
    gsoft

  4. #4
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Nov 2006
    Posts
    696
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Question regarding global events

    The global events editor is a good place to insert a movement engine too

  5. #5
    No Products Registered

    Join Date
    Jul 2006
    Posts
    375
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Question regarding global events

    That's what I did, and THAT seems to work GREAT

  6. #6
    No Products Registered

    Join Date
    Jul 2006
    Posts
    144
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Question regarding global events

    Qualifiers don't work in global events... that's a pretty monstrous reason for me...

  7. #7
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Nov 2006
    Posts
    696
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Question regarding global events

    Oh yeah, well maybe in the next patch or in an extension they could make global qulaifyers.

  8. #8
    No Products Registered

    Join Date
    Jul 2006
    Posts
    375
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Question regarding global events

    Quote Originally Posted by Harvy
    Qualifiers don't work in global events... that's a pretty monstrous reason for me...
    Heh, yeah, I found that out the hard way...

    (hmmm....where is my "group neutral"...? D'oh!)

Similar Threads

  1. Global objects in global events
    By Boba Fonts in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 8th October 2010, 12:12 PM
  2. 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
  3. 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
  4. Global Events
    By Roseweave in forum Multimedia Fusion 2 - Technical Support
    Replies: 15
    Last Post: 12th June 2008, 06:36 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
  •