User Tag List

Results 1 to 6 of 6

Thread: Win/Loss Bars, Percentages Problems

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Verbage's Avatar
    Join Date
    Dec 2010
    Location
    Lakewood, CO, USA
    Posts
    233
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Angry Win/Loss Bars, Percentages Problems

    Hello Click Team community.

    I am having issues creating a thing similar to the Like/Dislike bars on YouTube, that instead shows Wins/Losses.

    --------------------
    Current items:
    -Green Bar (counts from left)
    -Red Bar (counts from right)

    Current values:
    -Wins
    -Losses
    -Total Games Played
    --------------------

    I tried using (Wins/Total)*100 on the green bar, and (Losses/Total)*100 on the red bar, but the counters would just go blank.

    Does MMF2 not handle decimals? (For example: 2/3 = 66.667%)

    Thanks in advance.

  2. #2
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleXNA Export Module
    ProdigyX's Avatar
    Join Date
    Jan 2011
    Posts
    1,197
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    A. (Wins/Total)*100.00
    B. Is it supposed to be out of 100%?

  3. #3
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'd make a red backdrop the size of the full red bar, and just put a green counter on top. As the green goes down, it'll reveal more of the red.

  4. #4
    Clicker Multimedia Fusion 2Android Export Module
    Corlen's Avatar
    Join Date
    Mar 2007
    Location
    Your House
    Posts
    848
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    OK do what Jacob suggested and set the value of the counter to the number of wins and set the maximum value to the number of losses+wins. If I did that right in my head it should work.

  5. #5
    Clicker Multimedia Fusion 2Android Export Module
    Corlen's Avatar
    Join Date
    Mar 2007
    Location
    Your House
    Posts
    848
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I tested what I wrote and it works as long as you set the wins/losses counter's maximum value and current value at the same time, with the maximum value being set first of course.

  6. #6
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Verbage's Avatar
    Join Date
    Dec 2010
    Location
    Lakewood, CO, USA
    Posts
    233
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Corlen View Post
    I tested what I wrote and it works as long as you set the wins/losses counter's maximum value and current value at the same time, with the maximum value being set first of course.
    Sorry for the late reply—it worked wonderfully. Thanks to you and Jacob.

Similar Threads

  1. Loss of F2 functionality when running application.
    By ratty in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 12th May 2013, 02:14 AM
  2. Percentages %
    By Hordolur in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 14th April 2009, 07:54 AM
  3. Sonic Styled Ring Loss
    By ToffeeandPebbles in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 23rd January 2009, 09:27 PM
  4. How do I do percentages?
    By Cossin in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 13th September 2008, 11:09 PM
  5. Percentages
    By Strider in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 29th January 2007, 12:31 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
  •