Log In  
Follow
Ayuorus
Follow

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 "%" 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#76669 2020-05-15 21:49 ( Edited 2020-05-15 21:50)

Cart #hejopibosa-2 | 2019-08-01 | Code ▽ | Embed ▽ | Forks ▽ | License: CC4-BY-NC-SA

P#66301 2019-08-01 22:46 ( Edited 2019-08-01 23:27)

Follow Lexaloffle:        
Generated 2022-10-04 23:33:32 | 0.055s | Q:10