Wednesday, April 19, 2017

Equation difference

beam_y = ship_y + 40 * sin(.45 *(beam_x += 20)) + 16;
                               ^ this number has a verticle shift
the .45 after sin handles the frequency
the third number after beam_x effects the starting position
the last number effects the horizontal shift