Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(+2)

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))

end


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 :)