User Tag List

Results 1 to 6 of 6

Thread: to add the point in the score LATER 1.000.000.000

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleXNA Export Module
    daniele's Avatar
    Join Date
    Nov 2007
    Location
    italy
    Posts
    413
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    to add the point in the score LATER 1.000.000.000

    it is possible to get the point after the score has overcome 1.000.000.000 ??????

    please, can you write me the string to have this thing?


    to insert the point in the score after the score has overcome 1.000 is written in this way:

    Left$(Str$(score( "Player 1" )), Len(Str$(score( "Player 1" )))-3)+"."+Right$(Str$(score( "Player 1" )), 3)


    to insert the point in the score after the score has overcome 1.000.000 is written in this way:

    Left$(Str$(score( "Player 1" )), Len(Str$(score( "Player 1" )))-6)+"."+Mid$(Str$(score( "Player 1" )), Len(Str$(score( "Player 1" )))-6, 3)+"."+Right$(Str$(score( "Player 1" )), 3)





  2. #2
    No Products Registered

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

    Re: to add the point in the score LATER 1.000.000.000

    Mind you the maximum score MMF can handle is 1.410.065.407

    Left$(Str$(score( "Player 1" )), Len(Str$(score( "Player 1" )))-9)+"."+Mid$(Str$(score( "Player 1" )), Len(Str$(score( "Player 1" )))-9, 3)+"."+Mid$(Str$(score( "Player 1" )), Len(Str$(score( "Player 1" )))-6, 3)+"."+Right$(Str$(score( "Player 1" )), 3)

  3. #3
    No Products Registered

    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    1,141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: to add the point in the score LATER 1.000.000.000

    Max should be 2.147.483.647, if it's stored as a signed integer.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleXNA Export Module
    daniele's Avatar
    Join Date
    Nov 2007
    Location
    italy
    Posts
    413
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: to add the point in the score LATER 1.000.000.000

    thanks a lot, work fine.

  5. #5
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: to add the point in the score LATER 1.000.000.000

    Most values in MMF are dual 32-bit signed integers and either 32-bit single-precision or 64-bit double-precision floating point. MMF can represent numbers of 10 to the power of hundreds, but not with full accuracy.

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUnicode Add-onInstall Creator

    Join Date
    Jul 2006
    Posts
    1,018
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: to add the point in the score LATER 1.000.000.000

    I would recommend to use a loop for converting the number without restrictions, like this way:


    Used Global Strings:
    - [color:#3366FF]Number[/color] > source number as string
    - [color:#33CC00]Number2[/color] > converted number as string


    Your condition
    -->
    Set [color:#3366FF]Number[/color] to Str$( Value )
    Set [color:#33CC00]Number2[/color] to Left$([color:#3366FF]Number[/color], Len([color:#3366FF]Number[/color])-((Len([color:#3366FF]Number[/color])-1)/3)*3)
    Start loop "convert_number" (Len([color:#3366FF]Number[/color])-1)/3 times
    [The converted number now is available from string Number2 ...]

    On loop "convert_number"
    -->
    Set [color:#33CC00]Number2[/color] to [color:#33CC00]Number2[/color]+"."+Mid$([color:#3366FF]Number[/color], Len(Left$([color:#3366FF]Number[/color], Len([color:#3366FF]Number[/color])-((Len([color:#3366FF]Number[/color])-1)/3)*3))+LoopIndex("convert_number")*3, 3)

Similar Threads

  1. Score enligne score classement
    By markymoniom in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 25th January 2013, 12:05 PM
  2. Saving a current score with INI and best score
    By KLiK-iT in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 11th March 2012, 05:21 PM
  3. From point A to a very fast point B?
    By PandaExplosion in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 26th July 2011, 06:35 PM
  4. Showing Score Points when Score is gained?
    By Jacob_Miller in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 19th May 2011, 01:41 AM
  5. Help! - Moving from Point A to Point B - arched.
    By Conno in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 23rd April 2008, 07:15 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
  •