Event ( RRANDOM ) issue wih 295.8 and 295.9 and Volume control of samples

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • New issue noticed.

    Using ...

    Code
    [COLOR=#0000ff]RRandom[/COLOR][B](0, value( "Counter" ))[/B]


    ...does nothing now.

    Example:
    User adjusts counter to 100
    Code would be RRANDOM (0,100)
    100 being the counter value.

    Prior to 295.8, it worked perfectly fine on Android.

    Code was being used for Random Volume levels of Samples prior.
    Now the Samples just stay at 100% volume Regardless.

    I also noticed a counter showing -1, when the counter itself was set to 0-99999999 ( No Negative numbers )

    Could this be Memory Related as this app is now 110mb?

    Thanks in advance

    Edited 2 times, last by VBEinc (November 4, 2023 at 5:49 PM).

  • Why do you use RRandom(0,Counter) if starting from 0? You could simply use Random(Counter) it will give the same result, unless there is some special tricks i don't know.

    Habit for years.

    I will try RRandom ( Counter ) to see if it still has issues adjusting the audio. Thanks!

    The 0 is for silence on occasion

    Edited 3 times, last by VBEinc (November 11, 2023 at 4:01 AM).

  • This code works fine for me with the latest build:

    * Start of Frame
    Sound : Play sample snd_manual_convert_extracted 0 times

    * User clicks with left button
    Sound : Set volume of sample snd_manual_convert_extracted to RRandom(0, 100)

    You should post an example that doesn't work.

  • This code works fine for me with the latest build:

    * Start of Frame
    Sound : Play sample snd_manual_convert_extracted 0 times

    * User clicks with left button
    Sound : Set volume of sample snd_manual_convert_extracted to RRandom(0, 100)

    You should post an example that doesn't work.

    Honestly, it might be the size of the frame.
    I have 1350 lines of code running and I noticed the issue around 1000 lines.
    However, I also updated to the latest Fusion around that time too.
    So if it is working for you. It might just be to much code in one frame that causes it.
    Users reported it being the same on their devices too.

    While I just assumed it was my old LG Phone it turns out it is any Android Device that no longer Runs the RRANDOM ( 0,100)
    Again, most likely because this one frame is huge with tons of code.

    No biggie though as I removed the RRANDOM ( 0,100) and Replaced it with a counter.
    Work fine now!

    Please login to see this media element.

    Edited 2 times, last by VBEinc (November 13, 2023 at 3:31 AM).

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!