주 콘텐츠로 건너뛰기

검색

Make a rhythm game?

  • Riandisa

    There is an on-beat signal you can get from a timeline. It is mentioned by Lucid_Stew here: https://feedback.indreams.me/forums/917434-dreams-how-do-i/suggestions/36360667-how-do-i-make-something-glow-on-a-beat

  • hellokojack

    There is also another rhythm game made in Dreams - see if that can be remixed and see how it's done or contact the author for q's

  • Supposer

    There is also a “note on” output for timelines and instruments(?), so maybe you can get something out of that.

  • StankyDino

    Keep in mind that you might be battling against TV latency and that there should be some way to calibrate an offset for visuals and audio if timing is going to be important.

  • Red Jam Spear

    Thanks for the responses to this. Won’t be able to try it out for a couple of days, but I think I know what I’m gonna do now.

    I’ll try using the note on output, (but mute whatever the instrument is), in conjunction with the controller sensor and an AND gate (probably using a wireless transmitter somehow?). It means I can easily vary the rhythm (adding more complex rhythms for later in the game maybe?) and I can have the notes start slightly ahead of the beat and end slightly after the beat, so it can be quite forgiving, and allow for latency issues.

    Can’t wait to finally get stuck in on with this!

  • Red Jam Spear

    Ok, so I have a super basic prototype of the main logic running but I’ve hit a snag.

    On a microchip I have:

    The “is playing” output from a music clip, and the cross button from a controller sensor going into an AND gate.
    At the moment that’s just outputting (for debugging purposes) to a keyframe which is desaturating the screen whenever there’s a note playing from the clip and the X button is being pressed.

    That’s exactly what I wanted it to do, but the issue is that if I hold down X, the AND gate automatically activates whenever a note plays. What I want is for the player to have to press X each time a note plays.

    I can’t figure it out for the life of me.


    Any ideas?

  • StankyDino

    Use a signal manipulator to and set it to Pulse when On. that way, it'll only send a quick signal when the button is first pressed.

  • Red Jam Spear

    That seems to work perfectly, thank you!

댓글을 남기려면 로그인하세요.