User Tag List

Results 1 to 1 of 1

Thread: MT Random Object Float Bug

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUnicode Add-on
    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)
    AyreGuitar's Avatar
    Join Date
    Jan 2011
    Location
    Wales, UK
    Posts
    1,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    MT Random Object Float Bug

    Came across this bizarre bug in the Mersenne Twister Random Object when doing my solo ClickJam at home.
    When using it to generate a random Float and then using that number for the scale of an active, the Active disappears on iOS device! It actually hung my original app, perhaps because I was using a fast loop at the start of a frame, or because I was using the number directly, rather than in an AltVal, but trying a little test app shows the problem (see attached example)

    Whilst there are workarounds, it would be great to have this fixed (Took me a while to track down the problem!)
    Seems like months since we've had a new Beta (hint, hint!)

    Update - setting the scale to the random float value directly, then reading it back as the Active's scale X, results in 'inf' - so looks like there's a problem with MT random object using floats OR setting scale of Actives on iOS!
    Attached files Attached files

Similar Threads

  1. Random object spawning random y set x
    By Armiferamortalis in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 23rd December 2013, 11:47 AM
  2. Velocity value as Float?
    By danjo in forum Fusion 2.5
    Replies: 2
    Last Post: 26th October 2013, 08:15 AM
  3. Making an Object Float Up?
    By Merrie in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 13th August 2010, 07:03 AM
  4. Global Value Float Bug
    By xerus in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 31st January 2008, 08:43 AM
  5. Float expression?
    By z33z in forum Extension Development
    Replies: 3
    Last Post: 6th March 2007, 07:48 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
  •