User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 18

Thread: A workaround suggestion for qualifiers & global events

  1. #1
    Clicker Multimedia Fusion 2

    Join Date
    Dec 2007
    Posts
    91
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    A workaround suggestion for qualifiers & global events

    Back in the Games Factory,or the second gen of Clickteam products, this was a common place feature. It is not actually an extra feature people are asking for, rather one that was effectively removed without much warning from "Higher" versions of the Click platform. Instead of having separate global events and behaviours, you had groups you could tick a box, and the events would be global. I don't remember there being any restrictions on this in terms of qualifiers, and I made several short games this way.

    I don't really know why MMF has this limitation, but the way people "get around it" aside from using level editors seems to be mostly down to copying and pasting code, either from object to object in terms of behaviour or frame to frame.

    The thing is, there's no reason why the old "Global Events" couldn't be restored. Essentially what you can view it as doing, is copy and pasting the same event groups again and again, for every frame, but automatically. It may even be possible just to mess with the pointers so all frame events are pointed to the same frame's code(within a certain group, anyway). If this works - there's no reason why this couldn't be done internally and automatically. There is nothing magical about clicking and dragging, it's all just calling internal functions - so it would take a very short amount of time to implement a function that emulated the 2nd Gen way of doing this. It may cause some issues that are already existent with global objects - but that's already going to happen with copy/pasting.

    I can't see any reason why this couldn't be put in the next version and it would effectively fix this problem for most people and cut down on a lot of waste. I don't think it should be assumed this can't be done, again I don't think enough importance has been assigned to it because most of the people for whom this was an issue gave up long ago and moved on, but a lot of people still know MMF best and could be tempted back with a simple fix like this.

    I'd ask people to at least not make excuses why this "shouldn't" be done or why it's not important - it is important to some people and would benefit many users of the software even if they haven't thought of it yet. Please also understand that if it's possible to make "global" code by manually copy/pasting it's possible to do this internally/automatically.

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCSWF Export Module
    Alonso's Avatar
    Join Date
    Jul 2006
    Posts
    681
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Isn't this just a continuation from the old thread? If you're looking for solutions you can get use now, then it's either global objects with behaviours, or the hacky solution ASD found out (which I linked to in the last thread). If you're not looking for solutions and this is just a commentary, I think François gave you an answer, also in the last thread.

  3. #3
    Clicker Multimedia Fusion 2

    Join Date
    Dec 2007
    Posts
    91
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, the last thread was nuked before i read the end of it. I don't like the solutions presented thus far as they seem inferior to what we had back in the original TGF.

    I don't see why this solution couldn't be implemented. It shouldn't always be up to the users to work around the software when an earlier version was easier in some way.

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCSWF Export Module
    Alonso's Avatar
    Join Date
    Jul 2006
    Posts
    681
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, I agree as well. I've also been frustrated by the program's limitations, but most of the things I'd like to see remedied won't be fixed until MMF3. Once you understand that's the deal, which is not a very good one, you have to start finding workarounds to achieve what you want. It's an unfortunate situation but, in my view, if you want something to work, it doesn't matter how you get it working.

  5. #5
    Clickteam Clickteam
    Danny's Avatar
    Join Date
    Aug 2007
    Location
    United Kingdom
    Posts
    3,015
    Mentioned
    21 Post(s)
    Tagged
    2 Thread(s)
    Roseweave,

    In case you missed it the first time:
    Quote Originally Posted by Francois
    Sorry, I only discovered this thread now.
    Alllowing qualifiers in global and local event would imply a lot of work, because there are some nasty combinations of qualifiers and code that simply do not work.
    This is a lot a work, and it will be integrated into MMF3. (as well as customisable qualifiers) So please be patient.
    This is from Francois himself, I think if you can now accept this and maybe use this thread to conjure a constructive solution either using workarounds or the behaviour/global event method.

    Also, feel free to visit the Open Community Forum further down to discuss MMF3 and possible features.

  6. #6
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Imagine you have a qualifier in frame 1 for an active object. Imagine you have a qualifier in frame 2 for an edit box object.
    Using this qualifier in global event? Which one to use?
    I do not say it is not possible, I say it is a lot of work to make the process fool proof, with modifications in the editor's core routines.

  7. #7
    Clicker Fusion 2.5 DeveloperSWF Export Module
    Strife's Avatar
    Join Date
    Sep 2006
    Location
    Upstate NY
    Posts
    121
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    While I'm not entirely happy with the lack of global qualifier support myself, I support the idea of leaving it out until it's bug free. Back in MMF 1.5, the program was always at risk of crashing at the worst possible time for me, and a lot of times this was caused by modifying global events with qualifiers.

    I just use the Copy-Paste method at the moment. To help speed up the process, I make sure that my "Global" events are all contained in a single group at the top of each frame's event editor, so that all I have to do is flip through the frames while cutting and pasting. If I put some music on, I'm usually done after 1-2 songs.

  8. #8
    Clickteam Clickteam
    Danny's Avatar
    Join Date
    Aug 2007
    Location
    United Kingdom
    Posts
    3,015
    Mentioned
    21 Post(s)
    Tagged
    2 Thread(s)
    Ideally, if you plan to develop a HUGE game that could consist of many frames you should be gearing your development towards a 'one-frame' engine. This way you get complete control, can input/output variables/commands/additional settings all into one frame.

    This way, any updates that are needed to the game engine are only needed for one frame and one frame only, not 265+ frames or whatever your game may hold.

    Alternatively, if you don't wish to pursue the 'one-frame' scenario, then you should make use of global events and behaviours. You can code up all the behaviours for that object and just drag n drop it into every frame it's required, no additional coding! Again, if you want to work with 'groups' of objects, then just integrate the ForEach object in with the behaviours and start grouping your objects together using IDs(Alterable Value) or a 'String' to define which group it belongs to.

  9. #9
    Clicker Multimedia Fusion 2

    Join Date
    Dec 2007
    Posts
    91
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Francois View Post
    Imagine you have a qualifier in frame 1 for an active object. Imagine you have a qualifier in frame 2 for an edit box object.
    Using this qualifier in global event? Which one to use?
    I do not say it is not possible, I say it is a lot of work to make the process fool proof, with modifications in the editor's core routines.
    But isn't this the same problem as when you manually copy/paste anyway?

    You just have to be careful to keep qualifiers to objects of the same type. I don't think there's anything wrong with a potential crash scenario if the end user understands what they're doing wrong. It would be far better to have this functionality than not.

    Again this functionality was stripped from previous versions of the product. I don't see why I should have to pay for new software to put it back in, it doesn't make me very confidence that MMF3 will be worth purchasing in it's own right.

  10. #10
    Clicker Multimedia Fusion 2

    Join Date
    Dec 2007
    Posts
    91
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Strife View Post
    While I'm not entirely happy with the lack of global qualifier support myself, I support the idea of leaving it out until it's bug free. Back in MMF 1.5, the program was always at risk of crashing at the worst possible time for me, and a lot of times this was caused by modifying global events with qualifiers.

    I just use the Copy-Paste method at the moment. To help speed up the process, I make sure that my "Global" events are all contained in a single group at the top of each frame's event editor, so that all I have to do is flip through the frames while cutting and pasting. If I put some music on, I'm usually done after 1-2 songs.
    There's no reason why MMF can't do this for you automatically though. Having to update the game every time I make a minor change is frustrating, as I may have many different level-specific objects for example to check the jumping physics against.

    Quote Originally Posted by Danny View Post
    Alternatively, if you don't wish to pursue the 'one-frame' scenario, then you should make use of global events and behaviours. You can code up all the behaviours for that object and just drag n drop it into every frame it's required, no additional coding! Again, if you want to work with 'groups' of objects, then just integrate the ForEach object in with the behaviours and start grouping your objects together using IDs(Alterable Value) or a 'String' to define which group it belongs to.
    I wasn't aware MMF had this functionality as this was one of the things I tried "back in the day". I'll have to look into this. I'm unsure as to why nobody's suggested this until now.

    Also would it be possible for a third party plug-in to have similar functionality?

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Changing Qualifiers: Most Popular Workaround?
    By TJ in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 2nd January 2011, 02:45 PM
  2. Objects Qualifiers in Global Events
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 23rd December 2008, 10:33 AM
  3. Qualifiers in Global Events
    By Roseweave in forum Multimedia Fusion 2 - Technical Support
    Replies: 22
    Last Post: 30th December 2007, 09:41 AM
  4. Qualifiers In Global Events
    By UnknownMonkeyman in forum Multimedia Fusion 2 - Technical Support
    Replies: 13
    Last Post: 7th July 2007, 07:38 PM
  5. Qualifiers in global events
    By dustingunn in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 20th September 2006, 12:12 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
  •