User Tag List

Results 1 to 4 of 4

Thread: Help with a math function

  1. #1
    Clicker Fusion 2.5Fusion 2.5 MacAndroid Export ModuleiOS Export ModuleInstall Creator Pro
    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)
    PlasticCogLiquid's Avatar
    Join Date
    Feb 2015
    Posts
    48
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help with a math function

    I'm trying to make a decreasing function for controlling the players rotation speed, opposite of movement speed. So the faster he goes, the slower the rotation.

    I'm banging my head at the moment.

    Say the top speed is 30.

    If the player speed is 15, then rotation would also be at 15.

    if players speed is 16, then rotation would be 14 and so on.

    Thanks

  2. #2
    Clickteam Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleInstall Creator Pro
    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)
    BartekB's Avatar
    Join Date
    Aug 2013
    Posts
    622
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    15.0/ CURRENTSPEED

    Perhaps this?
    - BartekB, a.k.a Uppernate
    Join the Click Converse Discord! - https://discord.gg/7RNXFrC
    Dungeon Raiders! - Link soon™

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)
    schrodinger's Avatar
    Join Date
    Nov 2014
    Posts
    3,156
    Mentioned
    27 Post(s)
    Tagged
    1 Thread(s)
    if it progresses so linearly
    shouldn't be simply:

    rotation speed = 30 - player speed

    (would stop rotating at full speed)

  4. #4
    Clicker Fusion 2.5Fusion 2.5 MacAndroid Export ModuleiOS Export ModuleInstall Creator Pro
    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)
    PlasticCogLiquid's Avatar
    Join Date
    Feb 2015
    Posts
    48
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah I suppose so, I'll try that. Thanks!

Similar Threads

  1. Dig Dug example - no math
    By Sparckman in forum Guides, Tutorials, Examples, Widgets
    Replies: 3
    Last Post: 15th July 2014, 06:35 PM
  2. Function Eggtimer problem // Power Function for MMF2 Android?
    By ogrgkyle in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 24th May 2013, 04:17 AM
  3. MMF math
    By arfa in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 16th November 2010, 06:04 PM
  4. Math in an RPG
    By Hordolur in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 11th February 2009, 09:15 PM
  5. Need math help
    By LazyCoder in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 20th January 2008, 07:45 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
  •