User Tag List

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

Thread: Please someone with a working brain explain this!

  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)

    Please someone with a working brain explain this!

    Ok.... i am wanting to rotate an object between 50 and 130 but the rotation is like in reverse.. well it goes 50 to 360 to 130 if you understand me! which is why its making it very hard to do what i want to do!

    I want to control the angle between to lower values like 0 to 30 but STILL have the angles above!

    So.. 0 value would set the angle at 50 (min)
    and.. 30 value would set the angle at 130 (max)
    and then .. if the value was at 15 the angle would be in the middle of 50 - 130 (bearing it mind it goes from 50 to 360 then down to 130)

    How can i do this???

    Thanks
    Andy

  2. #2
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS 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)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Please someone with a working brain explain th

    I don't understand you, but you might want to do something like: angle = 50 + ( value * 2.666667 )
    .:::.Joshtek.:::.

  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: Please someone with a working brain explain th

    Ok, what does that do then?

    Cheers
    Andy

  4. #4
    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: Please someone with a working brain explain th

    ok, i see what it does, but to get it to move the range i want it to, i have had to *9 but! that then litrally only gives me like 30 points of angle!

    how can i keep it smooth so when rotating its not 30 leaps! but a nice smooth rotation 1 angle at a time?

    Cheers
    Andy

  5. #5
    No Products Registered

    Join Date
    Jan 2008
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Please someone with a working brain explain th

    Well...excuse my not-knowing-ness, but my understanding of this is that you want something, basically, to go 1->3->2. If my understanding is correct, then you might want to make an event that, "when alterable value = 1, rotate "(object)" to (degree) degrees. Then, make the angle change from 1->3, and set the value to 1 when it's completed. Basically, "active"->rotate 180 degrees->set alterable value 1 to "1"-> which triggers the event, "rotate "active" -90 degrees. I hope this helps, if not, I'm technologically inept. :crazy:

    Cheers.
    _Sabata_

  6. #6
    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: Please someone with a working brain explain th

    Well, ive managed to make it now so if for instance i press the up button it takes the angle from my min to max!

    But to do this ive had to do angle = 50+(counter*9) then the up and down key just ads 1 or subtracts 1 from the counter from 0 to 30! and that works! BUT because im *9 it rotates in large steps! infact.... its moving at like 9 angles in 1 change!

    So 1 up press rotates it now 9 angles in 1

    What im trying to achieve is like it is now so i control the angle 50 > 360 > 130 from the value range of 0 to 30 but still have seemless rotation! So somhow it works out the angles in in between! So instead of jumping 9 angles at a time it still moves at 1!

    I think ill have to make an example as it seems its little hard to explain and understand!

    Cheers
    Gib

  7. #7
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS 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)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Please someone with a working brain explain th

    instead of creating an example just list the inputs and outputs
    .:::.Joshtek.:::.

  8. #8
    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: Please someone with a working brain explain th

    Ok..

    Its a dial, imagine a speedo on a car! Its like that!

    So the needle when at 0mph is down towards the bottom left! (angle = 50)

    It goes right round to bottom right (angle 130)

    BUT it goes up around which means the angles go 50,49,48,47..ETC to 360 then 359,358,357.. down to 130 then back again!

    so theres actually 280 angles ( 50+(360-130) = 280 ) But i want to keep them amount of angles but control them using a counter with a range of 0 to 30.

    so (counter=0 ,angle=50) and (counter=30, angle=130)

    When i press the up key it ADDS 1 to counter but sets the angle accordingly.

    I do currently have it working like this by simply:

    Key up pressed > at 1 to counter
    Key down pressed > subtract 1 from counter
    Allways set angle of object to 50+(counter val*9)

    This then moves the needle from 0mph to max mph and back again, but its moving the needle in steps of 9 angles at a time because i am *9! i still want it to move smoothly, not in big steps?

    hope this helps
    Cheers
    Andy

  9. #9
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS 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)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Please someone with a working brain explain th

    For 0...30:
    50 down to 0
    Instead of -1 jump to 359
    359 down to 130
    Instead of 129 jump to 50

    ?
    .:::.Joshtek.:::.

  10. #10
    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: Please someone with a working brain explain th

    Hmm not really understanding the above? but ill explain it differently!

    This is how it is: I have a value coming into my mmf2 app from a third party source. It varies from 0 to 1.5 but the increments are 0.01,0.02,0.03 ETC so when it gets to 1.5 in total there are 150 increments in total!

    I need them 150 increments to correspond to the angles i am trying to get! so angle 50 is min and 130 in max, bareing in mind it goes from 0 > 360 > 130 and likewise in reverse!

    so theres 150 increments and 280 angles! (not enough incremnts but that cant be changed!!)

    Do you understand my problem?

    Thanks
    Andy

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Can someone please explain this
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 15
    Last Post: 12th September 2013, 07:19 PM
  2. Can someone explain the Display options choices?
    By TheDigitalAlchemist in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 19th June 2012, 04:35 PM
  3. Could somebody explain this...?
    By camelman in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 22nd September 2009, 03:56 PM
  4. Please Explain [High Score]
    By Rich in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 30th August 2008, 01:19 PM
  5. memory issue - can anyone explain this?
    By TDA in forum Multimedia Fusion 2 - Technical Support
    Replies: 19
    Last Post: 20th July 2006, 04:46 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
  •