User Tag List

Results 1 to 4 of 4

Thread: Trying to tie score to currency, can't think of equation

  1. #1
    Clicker Multimedia Fusion 2XNA Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)

    Join Date
    Feb 2009
    Location
    Edmonton, Canada
    Posts
    100
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Trying to tie score to currency, can't think of equation

    So i'm working on a score to currency event. I figure it's probably basic but I can't think of the equation.

    I'm storing pretty much everything in global values.

    What I want to do is "every time global value (playerScore) goes up by 200; add 20 to (playerMoney).

    I can't think of how to make that loop properly. What is a method of making that repeat?

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCHTML5 Export ModuleiOS Export ModuleSWF 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)
    chrilley's Avatar
    Join Date
    Jul 2006
    Posts
    1,013
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    I am not sure of a clever equation but an alternate way of doing it would be to have yet another global value that also adds 1 whenever you add 1 to score. Then when that value reaches 200 it adds 20 to playerMoney and resets while the score counter keeps going.

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ???
    Unless im missunderstanding something here, why not just convert the Score to Currency directly, much like you convert currencies in the real world?

    For example:
    1 GamePoint = 0,765 GBP/ USD/ EUR or what have you

    Event:
    Allwasys -> Set Currecy_ to 'GamePoints_ * 0,765'

  4. #4
    Clicker Multimedia Fusion 2XNA Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)

    Join Date
    Feb 2009
    Location
    Edmonton, Canada
    Posts
    100
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by King_Cool View Post
    ???
    Unless im missunderstanding something here, why not just convert the Score to Currency directly, much like you convert currencies in the real world?

    For example:
    1 GamePoint = 0,765 GBP/ USD/ EUR or what have you

    Event:
    Allwasys -> Set Currecy_ to 'GamePoints_ * 0,765'

    I think this might be what I was looking for I was trying to do it on two seperate event lines. That's why I couldn't do it. Thank you King Cool, you are the coolest. An thank you Chrilley as well.

Similar Threads

  1. Quick Currency Format Help
    By kungsangun in forum Fusion 2.5
    Replies: 0
    Last Post: 11th December 2014, 04:34 AM
  2. Currency Comma Separator
    By Nyc in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 8th November 2013, 04:41 PM
  3. Currency/upgrades for in-game.
    By Squibs in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 11th October 2010, 12:59 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
  •