Ayuorus [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=33665 [Help] How to sync the tempo? <p>Well, I'm trying to make a rhythm game and I want the enemies to change sprite (To look as they were dancing) and attack following the tempo of the current song. It's my first game and I don't know too much about code or how pico-8 works. I tried to make a T variable that add one to its current value each frame and to use a the &quot;%&quot; operator to sync the frame counter to the beat but it's hard to do it that way and I feel like it doesn't sync too well. Can anyone help me to code it?</p> https://www.lexaloffle.com/bbs/?tid=37976 https://www.lexaloffle.com/bbs/?tid=37976 Fri, 15 May 2020 21:49:27 UTC Untitled <p> <table><tr><td> <a href="/bbs/?pid=66301#p"> <img src="/bbs/thumbs/pico8_hejopibosa-2.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=66301#p"> hejopibosa</a><br><br> by <a href="/bbs/?uid=33665"> Ayuorus</a> <br><br><br> <a href="/bbs/?pid=66301#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=34927 https://www.lexaloffle.com/bbs/?tid=34927 Thu, 01 Aug 2019 22:46:42 UTC