function ShootShape(spawnX, spawnY, v, angle, num, bside, graphic, delay) {
     ascent(i in 0..num) {
          let sx = spawnX+cos(angle+i*360/num);
            let sy = spawnY+sin(angle+i*360/num);
            let sxN = spawnX+cos(angle+(i+1)*360/num);
          let syN = spawnY+sin(angle+(i+1)*360/num);
          CreateShotA1(spawnX, spawnY, v*(((sx-spawnX)^2+(sy-spawnY)^2)^0.5), atan2(sy-spawnY,sx-spawnX), graphic, delay);
           ascent(j in 0..bside) {
               let toAngle = atan2(syN-sy,sxN-sx);
               let toDist = (((sxN-sx)^2+(syN-sy)^2)^0.5);
                        let sx2 = sx+toDist/bside*j*cos(toAngle);
               let sy2 = sy+toDist/bside*j*sin(toAngle);
                CreateShotA1(spawnX, spawnY, v*(((sx2-spawnX)^2+(sy2-spawnY)^2)^0.5), atan2(sy2-spawnY,sx2-spawnX), graphic, delay);
          }
     }
} 
