calminthenight's Recent Forum Activity

  • I might get around to doing a proper tutorial one day but a bit too busy at the moment. I'm sure if you keep exploring you will work it out :)

  • use "set layout scale" layoutscale+0.2 or -0.2.

    You can also add a condition that sets your max or min zoom levels.

    so

    On Mousewheel Up

    Layoutscale>0.4

    - Set layout scale - layoutscale-0.2

    On Mousewheel Down

    Layoutscale<1.6

    - Set layout scale - layoutscale+0.2

  • As do I. You can create a tag management system using arrays that will achieve some of the things you want from multiple tags. If you want to look into that there are a few threads on these forums that have some good info.

  • Have a look at the array tutorials and examples, they will teach you everything you need to know. Then you need to do the math to determine all of the beat intervals in your song. You can do this by following the same math that I have inside of the previous example. You will need to do it for each section of your song if there are tempo changes.

    Then create an array with the sizes, X:as many as you need, Y:1, Z:1.

    and populate the array with your data - you can also look at loading JSON data into an array examples to get the hang of that.

  • Unfortunately there is no "master channel" that you can add effects to and you cannot add multiple tags to audio.

  • Use the "on Mouse Wheel" condition in the mouse object and then depending on your preference, use either set layout/layer scale or set layer Z Elevation.

  • Setting up a BPM detector using the analyser is possible but it would be quite complex. If you are creating the music and you know the BPM and when it varies, I would suggest that a better option is to use an array that is populated with the 'Beat Intervals' for each song and then use that in combination with the timer behaviour to trigger your spawns.

    e.g.

    Array(Beat Intervals):

    .44

    .44

    .44

    .44

    .52

    .52

    .52

    etc.

    On Music Playing - Trigger Once:

    - Start timer "beat" for Array.Front (once only)

    - "Array" Pop Front on X axis

    On Timer "beat"

    - Start timer "beat" for Array.Front (once only)

    - "Array" Pop Front on X axis

  • Hi sejal you might get a better response from the scripting forum construct.net/en/forum/construct-3/scripting-51

  • If you know the BPM of the music you are playing and that it remains constant throughout the song, you can use a timer set at the beat interval to trigger any actions you like.

    of course, if the song has unmetered intros etc this will throw this approach off, but if you are making the music yourself or at least have the files you could determine if this method will work.

    Have a look at this example: 1drv.ms/u/s!AkmrWgxeuxlKhId_MEP6deyfTNJfRw

    Otherwise, you should be able to use the analyser as you have been and trigger spawns on beats directly, or use the analyser to determine the BPM as a song is playing and then use that result.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The function method that I posted works as you want it to. I'm not sure what else you're doing but it works correctly for me.

  • If that works then set speed to speed+random(-20,20) is what you want.

  • If that's no good I guess it's a choice of using the spritefont or switching to a less blocky font that will render more clearly. Good luck

calminthenight's avatar

calminthenight

Member since 28 Jan, 2018

Twitter
calminthenight has 6 followers

Trophy Case

  • 6-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

11/44
How to earn trophies