the game looks laggy.
This is a little song I wrote along with a visualizer inspired by the Synthwave genre. I made the visualizer first just for fun, then decided to look into the music genre associated with that visual aesthetic, and liked it enough that I wanted to try to write my own music in a similar style. I hope you enjoy it!
Click download now to get access to the following files:
Log in with itch.io to leave a comment.
May I ask – how did you get the lines to flow out from the centre like that? I’m having so much difficulty wrapping my head around the maths needed to get that particular movement… Any help would be appreciated.
Also, regarding the music… just WOW. Love the exaggerated side-chain effect.
The method I used is actually really simple. I draw the horizontal lines with a for loop, and the y coordinate of the lines is divided by the iterator. Then to animate them, just have another variable constantly looping from 0 to 1 to use as an offset. So it would be something like:
anim-=0.03 -- animate lines
anim%=1 -- loop it between 0 and 1
for i=1,10 do
-- the key is to divide by i+anim
line(0, 100/(i+anim), 127, 100/(i+anim))
The vertical lines don't move, but the way they intersect with the moving lines gives it that 3D effect.
Hope that made sense. Glad you enjoyed the music too :)
Cool! Didn’t realise it was Pico-8 at first. That means you made a good pallete choice.