User Tag List

Results 1 to 2 of 2

Thread: Weird acting from counters

  1. #1
    Clicker Multimedia Fusion 2iOS Export Module

    Join Date
    Apr 2009
    Posts
    157
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Weird acting from counters

    I'm really having some trouble at the moment with MMF2.

    I've got a counter at this moment in time which is working out a percentage based on the number of stars a character has gained (there is 3 in each level) and the maximum total possibility of stars. So, the equation looks like this.


    (Global Value P/(score("Player 1")*3))*100


    So, the score is the level that has been reached. Multiplying the score by 3 gets me the number of total stars the player could have possibly have gotten, considering the level they have reached. So, I just used the normal percentage based equation by dividing the stars gained by the potential amount of stars that can be gained, and then multiplying this result by 100.

    Every single time I get a rubbish answer. It's fine if it is 100%, but anything different get's results which are 100, 1 or something else.

  2. #2
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    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)Firefly 3D Module (Steam)
    Phi's Avatar
    Join Date
    Jan 2010
    Location
    England
    Posts
    1,964
    Mentioned
    25 Post(s)
    Tagged
    0 Thread(s)
    Use .0 at the end of integers to convert them to floats (decimal precision).

Similar Threads

  1. Compare to the number of "x" objects in a zone acting weird?
    By Pixzel in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 2nd February 2013, 04:26 PM
  2. Objects acting weird in the virtual frame
    By Monokkel in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 24th October 2010, 10:41 PM
  3. Mochimedia is acting up
    By Tuna in forum SWF/Flash Export Module Version 2.0
    Replies: 8
    Last Post: 15th September 2010, 05:10 PM
  4. Acting Independently
    By Corlen in forum File Archive
    Replies: 6
    Last Post: 1st August 2009, 12:13 AM
  5. MIDI's in mmf acting weird.
    By SEELE in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 8th July 2008, 07:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •