User Tag List

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

Thread: De/Activate group by expression

  1. #1
    Clicker 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)

    Join Date
    Aug 2020
    Location
    Canada
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question De/Activate group by expression

    Hello

    Is it possible to activate a group by expression rather then just the picker it gives you in Fusion 2.5+ ?

    Thank you

  2. #2
    Clicker Fusion 2.5

    Join Date
    Jan 2018
    Posts
    185
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    non je ne croix pas qui y ait cette fonction, il faut la coder manuellement

  3. #3
    Clicker

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCiOS Export ModuleSWF Export ModuleFirefly 3D Module
    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)
    fnkycoldmadeanr's Avatar
    Join Date
    Jul 2017
    Location
    Melbourne, Australia
    Posts
    209
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    Workaround is to put it in a loop then call loop through expression
    on loop deactivate mygroup

  4. #4
    Clicker Fusion 2.5

    Join Date
    Jan 2018
    Posts
    185
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    un petit mfa pour nous montrer peut etre please?

  5. #5
    Clicker

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCiOS Export ModuleSWF Export ModuleFirefly 3D Module
    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)
    fnkycoldmadeanr's Avatar
    Join Date
    Jul 2017
    Location
    Melbourne, Australia
    Posts
    209
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)

    Post Activate group by expression

    Activate group by expression
    ActivateGroupExpression.mfa

  6. #6
    Clicker Fusion 2.5

    Join Date
    Jan 2018
    Posts
    185
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    merci, effectivement il faut le coder, je pense que punchbird voulait savoir si il y avait un option "calcul" un peu comme pour "sauter a une scene"

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleUniversal Windows Platform Export ModuleSWF Export Module

    Join Date
    Jun 2014
    Posts
    50
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Being able to reference groups via expression would be a real game changer. I believe it's a necessary addition considering that activating/deactivating groups is a common optimization strategy for MMF/CTF-made games.

  8. #8
    Clicker 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)

    Join Date
    Aug 2020
    Location
    Canada
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    AH thank you for all the replies. It would indeed be a game changer!

    The MFA is good but not quite what I would want.

    My game is a single frame which has a layer, group of events, and global value corresponding to each screen.

    So global value = "screen one" then events group "screen one" is active and layer "screen one" is visible

    Was hoping to handle the switch with a single line but no biggie, just a few extra lines.

    Clickteam people if you're reading this, it would be great to allow group activation by expression

  9. #9
    Clicker

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCiOS Export ModuleSWF Export ModuleFirefly 3D Module
    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)
    fnkycoldmadeanr's Avatar
    Join Date
    Jul 2017
    Location
    Melbourne, Australia
    Posts
    209
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    To activate with a value change the loop name to
    on loop “Group ” + Str(global value)

    I’ve read activating/deactivating groups is expensive

  10. #10
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleUniversal Windows Platform Export ModuleSWF Export Module

    Join Date
    Jun 2014
    Posts
    50
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by fnkycoldmadeanr View Post
    I’ve read activating/deactivating groups is expensive
    Really? I must say I've not come across that. I'd be interested to know if the action of De/Activating groups is performance-heavy or not. However, your performance can benefit certainly by having redundant/expensive events kept in deactivated groups until needed. I'm thinking mainly about overlap conditions involving "inactive" objects (however your game defines those) & "on loop" events

Page 1 of 2 1 2 LastLast

Similar Threads

  1. activate group every half second or faster
    By anatol in forum Fusion 2.5
    Replies: 6
    Last Post: 7th June 2018, 04:54 PM
  2. Replies: 2
    Last Post: 6th May 2017, 12:54 AM
  3. activate group via expression?
    By oasuke in forum Multimedia Fusion 2 - Technical Support
    Replies: 15
    Last Post: 26th January 2012, 03:11 AM
  4. Activate group {name} with expression?
    By Kingoftaurus in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 27th May 2010, 02:09 AM
  5. 'Activate a Group of Events' causes MMF to CRASH
    By Mico in forum Multimedia Fusion 2 - Technical Support
    Replies: 19
    Last Post: 22nd April 2009, 05:26 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
  •