User Tag List

Results 1 to 4 of 4

Thread: Floats in alterable values on iOS?

  1. #1
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleInstall Creator
    SirEatAlot's Avatar
    Join Date
    Oct 2010
    Location
    Stockholm, Sweden
    Posts
    405
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)

    Exclamation Floats in alterable values on iOS?

    having trouble settings alt values as floats.. this calculation will not be a float when running on an iphone 4 (pc, android is fine):

    ((alt val b( "ship" )*1.0)+(alt value c( "ship" )/10.0)) mod 360

    Ive tried setting the mod value to 360.0 but there's no difference.

    Is this a known problem / bug on iOS? This is preventing my already complete game from working on iOS so I really need a fix for this!

  2. #2
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleInstall Creator
    SirEatAlot's Avatar
    Join Date
    Oct 2010
    Location
    Stockholm, Sweden
    Posts
    405
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    I got it to work by using "add to alt. value" instead of "set value".. but there's still no reason why the above shouldnt be a float when thats the behaviour on both pc and android

  3. #3
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleInstall Creator
    SirEatAlot's Avatar
    Join Date
    Oct 2010
    Location
    Stockholm, Sweden
    Posts
    405
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Im getting a similar issue with global values.. global values gets correctly set as floats on PC and android runtimes but are integers on iOS.. Surely this must be a bug?

  4. #4
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)
    What happens if you remove the 'mod' part? I have to take a look at it but maybe the 'mod' operator only works on integers.

Similar Threads

  1. Global Values & Alterable Values with same names
    By Gustav in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 7th November 2012, 06:15 PM
  2. Alterable Strings as Alterable Values?
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 27th March 2012, 07:14 PM
  3. Make alterable values into floats
    By dudeman129 in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 30th August 2010, 11:39 PM
  4. Display values on screen from Alterable Values
    By mikeh in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 13th May 2008, 01:59 PM
  5. Alterable Strings and Alterable Values limit :(
    By Pedro Almeida in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 13th October 2006, 06:38 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
  •