this is a easy wave engine feel free to use my code to help you create wave map (: bye the way press red butten flag then redbutten then flag to reset it
thanks to the @personhumangoober for helping create the trail and the sprites