The actual code is based on goniometric calculations, 1 for X, 1 for Y, in which the number before the cos/sin is slightly increased each frame. It was based on some of my previously written code which i made in Flash, which can be found here. I didnt port it all that well, i guess. I might make a shmup by myself soon,…