CircuitSoft's Recent Forum Activity

  • I've been trying to use audio analyser to make a background like Super Hexagon. I'm using Construct 2 r180. To preview, I am using Chrome Canary.

    The event is

    System > General > Compare 2 Values > First value: round(Audio.AnalyserRMSLevel("pew", 0)) | Comparison: > Greater than | Second value: -22
    [/code:1g99xkao]
    The action is
    [code:1g99xkao]
    System > Layers & Layout >  Set layer background color > Layer: 0 | Color: rgb(random(255), random(255), random(255))
    [/code:1g99xkao]
    
    I found that Audio.AnalyserRMSLevel("pew", 0) always outputs 0, regardless if the music is off or on.
    Then I used the Audio analyser sample project and imported the same music and changed the play audio action to play my music, and then I imported the code from above, and it worked exactly how I wanted it to.
  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
CircuitSoft's avatar

CircuitSoft

Member since 17 Dec, 2012

None one is following CircuitSoft yet!

Connect with CircuitSoft

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies