User Tag List

Results 1 to 3 of 3

Thread: Help me for Active animation and change action

  1. #1
    Clicker

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    pradeep's Avatar
    Join Date
    Dec 2013
    Location
    India
    Posts
    249
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Help me for Active animation and change action

    For android
    active object
    If I click on active object for long time then Active animated
    and click on active object for short time then change events (for example - click on active object for short time then destroy other object or create other object but for long time, other object neither create nor destroy )
    How ?
    Help me

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export 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)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,345
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    *User clicks with left mouse button on Active1.
    -Active1: Set Flag 0 On.

    *Active1: Flag 0 is On
    -Active1: Add 1 to MyTimer // Rename one of Active1's alterable values to MyTimer

    * [Negate] Left Mouse Button is being pressed
    +Active1: Flag 0 is On
    +Active1: MyTimer > 10

    - Active1: Set Flag 0 Off
    - Active1: Set MyTimer to 0
    - Execute Longclick event

    * [Negate] Left Mouse Button is being pressed
    +Active1: Flag 0 is On
    +Active1: MyTimer <= 10

    - Active1: Set Flag 0 Off
    - Active1: Set MyTimer to 0
    - Execute Shortclick event


    That's the basic events!

    About your shortclick event, I am not sure exactly what you want to do. If you want to destroy other objects of the same type of the one clicked, you need to run a fastloop once, and in that fastloop destroy all other objects of that kind. You can let the fastloop ignore the clicked object by setting one of its flags On before executing the loop, and in the onLoop event, check for all objects of that type with that flag turned off.

  3. #3
    Clicker

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    pradeep's Avatar
    Join Date
    Dec 2013
    Location
    India
    Posts
    249
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Thanks Popcorn for solving my problem

Similar Threads

  1. Replies: 6
    Last Post: 8th January 2015, 12:03 AM
  2. Force Animation Frame or Change Animation Sequence?
    By darkmanx_429 in forum Fusion 2.5
    Replies: 4
    Last Post: 2nd April 2014, 02:24 AM
  3. sensor active causing action on corresponding active (example included)
    By cfullerNY in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 30th November 2013, 02:38 PM
  4. REQUEST: Object which can change the image of Active's Animation
    By Gullyking in forum Extension Development
    Replies: 3
    Last Post: 27th June 2012, 11:54 AM
  5. Change Active Animation Based Upon Actives Near It
    By Oreo in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 24th August 2011, 06:01 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
  •