User Tag List

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

Thread: how many times has an active rotated?

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module

    Join Date
    Sep 2006
    Location
    UK
    Posts
    842
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how many times has an active rotated?

    Hi, i have a active rotating using the:

    set angle : Get active angle + var "A"

    and var A is controlled from anything between 1 to 50?

    I want to know how i can the set a counter to how many full rotations the object has done?

    Thanks
    Andy

  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)

    Re: how many times has an active rotated?

    Maybe set the counter to var A.

    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 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module

    Join Date
    Sep 2006
    Location
    UK
    Posts
    842
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how many times has an active rotated?

    hmmm nooo cuz that would just show the multiplier of which im setting the speed.

    Var A is a speed setting?? from 1 - 50. So if it is set at 10, the active will set the angle to "own angle +10" therfore rotate in steps of 10....


  4. #4
    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)

    Re: how many times has an active rotated?

    Sorry, I thought Var A set the number of rotations.

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

  5. #5
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module

    Join Date
    Sep 2006
    Location
    UK
    Posts
    842
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how many times has an active rotated?

    no probs... Anyone else?

  6. #6
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how many times has an active rotated?

    *Angle("Object")>= 359 //that might not work if Var A is set to certain values - try 350?
    +Only one action when event loops
    -Add 1 to Counter

  7. #7
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module

    Join Date
    Sep 2006
    Location
    UK
    Posts
    842
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how many times has an active rotated?

    Sort of tryed that.. but you end up with the problem like you do with collisions.. my first attempt was:

    *Angle("object")=1
    +Add 1 to counter

    Thats ok, when the rotations speep up, and the angle steps are bigger, it misses the angle 1.. for example speed = 10, it will go 355 > 5. As you probably know...

    So i then tryed:

    *Angle("object")>=350
    +Add 1 to counter

    but when the speed (or angle step) is at say 1... it will add 10 to the counter, for every step (not rotation)...

    Thanks
    Andy

  8. #8
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how many times has an active rotated?

    +Only one action when event loops

  9. #9
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module

    Join Date
    Sep 2006
    Location
    UK
    Posts
    842
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how many times has an active rotated?

    tryed that, its the same thing? its:

    +Only one action when event loops

    not whats tricking your mind into thinking its :

    +Only one action when object rotates

    every loop is every loop of the runtimie app.


  10. #10
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how many times has an active rotated?

    It should work. Try putting it on top?

    Anyways I have to go. The only other idea I have is to have an alterable value equal to the angle, and then if the alterable value is greater than 350 set it to 350 and add one to counter. and put that event on top. That should work...?

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Smooth Filtering for rotated Active Picture?
    By AyreGuitar in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 13th April 2012, 03:36 PM
  2. how to calculate rotated hotspot?
    By BrashMonkey in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 8th July 2011, 08:45 PM
  3. [help] calculate point on rotated active as if....
    By nightofgrim in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 23rd January 2008, 05:30 PM
  4. [Possible Bug] Add backdrop w/ rotated object????
    By LazyCoder in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 5th March 2007, 09:44 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
  •