User Tag List

Results 1 to 8 of 8

Thread: Global Objects and Behaviours

  1. #1
    Clicker Fusion 2.5+ DLCMultimedia Fusion 2HTML5 Export Module
    Kentronisk's Avatar
    Join Date
    Nov 2011
    Posts
    211
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Global Objects and Behaviours

    Im just wondering about these two options...

    1: Global Objects: Will the application run slower if I make ALL objects global? I did some testing and saw that I can easily update graphics I use in many frames all within one frame. And I guess the same will work for behaviours I change.

    2: Behaviours: Im almost certain that what Im asking for is exactly why behaviours are included, but I wanna know for sure. If I add behaviours to an enemy I have 10-20ish of in the same frame, it wont run any slower than if I had made them in the event editor? What Im kinda affraid of is if MMF runs so that it stacks up all the behaviours if its multiple of the same objects.. If you know what I mean. If I have two of an object with a behaviour, it wont run any slower than if the behaviour events were in the Event Editor?

  2. #2
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Kentronisk View Post
    Im just wondering about these two options...

    1: Global Objects: Will the application run slower if I make ALL objects global? I did some testing and saw that I can easily update graphics I use in many frames all within one frame. And I guess the same will work for behaviours I change.

    2: Behaviours: Im almost certain that what Im asking for is exactly why behaviours are included, but I wanna know for sure. If I add behaviours to an enemy I have 10-20ish of in the same frame, it wont run any slower than if I had made them in the event editor? What Im kinda affraid of is if MMF runs so that it stacks up all the behaviours if its multiple of the same objects.. If you know what I mean. If I have two of an object with a behaviour, it wont run any slower than if the behaviour events were in the Event Editor?
    Will not run any slower in your case.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export Module
    Skyhunter's Avatar
    Join Date
    Jan 2007
    Location
    Croatia
    Posts
    452
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Though, beware of global objects, i would not suggest this method at all, sometimes global object become notglobal in the editor, i had this issue in my older project where i used the same approach, what happened some objects when i was changing a value or graphics of an object in one frame it would not change it in another, i had big issues with that, and i couldn't just recopy them due to many create events, that was one of the reasons why i abandoned that project. Unfortunately this issue was never fixed.

  4. #4
    Clicker Fusion 2.5+ DLCMultimedia Fusion 2HTML5 Export Module
    Kentronisk's Avatar
    Join Date
    Nov 2011
    Posts
    211
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh my.. really? Have this happened to anyone else? And if so, what is the purpose of Global Objects?

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah, I never touch the global object option. I've had to many MMF2 bugs with those, so I'm not risking it again.

  6. #6
    Clickteam Clickteam
    Danny's Avatar
    Join Date
    Aug 2007
    Location
    United Kingdom
    Posts
    3,016
    Mentioned
    21 Post(s)
    Tagged
    2 Thread(s)
    Global Objects and the Editor would be absolutely perfect for game engine creation as it would save a lot of events per frame. However, it is just not viable especially with qualifiers. Feedback from the dev team suggest it could only be a possibility with MMF3. If they were to implement something like this in MMF2's current state it would bog down performance quite considerably.
    Want to learn Clickteam Fusion 2.5?




  7. #7
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCSWF Export Module
    N64Mario's Avatar
    Join Date
    Nov 2008
    Location
    USA
    Posts
    1,308
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Yea, I've used global objects, and had some problems with the global object becoming non-global even when it was still set to global object. The only thing you can do about this is to make backups of your game before the bug happens. When it happened to me, I think was naming every one all of the object's A-Z alterable values instead of the first few ones I'm using.

    Global objects do help in most cases as of a game engine like format, although I hear they are considerably buggy, even global qualifiers are supposedly buggy. But I read somewhere they're supposedly going to be fixed for MMF3.

  8. #8
    Clicker Fusion 2.5+ DLCMultimedia Fusion 2HTML5 Export Module
    Kentronisk's Avatar
    Join Date
    Nov 2011
    Posts
    211
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hmm.. Ok then, I guess its not working properly at the moment. Thanks for replies Could've saved me for a lot of work :3

Similar Threads

  1. Help with Global Objects
    By YeOldeLuke in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 27th May 2013, 08:18 PM
  2. Sometimes Global Objects
    By Krim in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 16th February 2012, 09:46 AM
  3. 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
  4. Read duplicate objects' variables in behaviours
    By Simon in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 19th March 2009, 02:01 PM
  5. Global Objects
    By Corlen in forum Multimedia Fusion 2 - Technical Support
    Replies: 18
    Last Post: 22nd September 2007, 08:18 AM

Posting Permissions

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