name: Level 3

wave turtleDown:
  spawner:
    - entity: ships/turtle.yaml 
      components:
        physics: 
            position: [520, -40]
    - entity: ships/turtle.yaml
      components:
        physics: 
            position: [280, -40]
    - entity: ships/turtle.yaml
      components:
        physics: 
            position: [400, -20]

wave turtleRight:
  spawner:
    - entity: ships/turtle.yaml
      components:
        physics: 
            position: [-50, -30]
        dumbScript: dumbscripts/toright.yaml

wave turtleLeft:
  spawner:
    - entity: ships/turtle.yaml
      components:
        physics: 
            position: [850, 30]
        dumbScript: dumbscripts/toleft.yaml

wave jetDown:
  spawner:
    - entity: ships/jet.yaml
      components:
        physics: 
          position: [450, -48]
    - entity: ships/jet.yaml
      components:
        physics: 
          position: [550, -16]
    - entity: ships/jet.yaml
      components:
        physics: 
          position: [350, -16]

wave jetRight:
  spawner:
    - entity: ships/jet.yaml
      components:
        physics: 
            position: [100, -120]
        dumbScript: dumbscripts/toright.yaml
    - entity: ships/jet.yaml
      components:
        physics: 
            position: [100, -30]
        dumbScript: dumbscripts/toright.yaml
    - entity: ships/jet.yaml
      components:
        physics: 
            position: [100, -210]
        dumbScript: dumbscripts/toright.yaml

wave jetLeft:
  spawner:
    - entity: ships/jet.yaml
      components:
        physics: 
            position: [700, -128]
        dumbScript: dumbscripts/toleft.yaml
    - entity: ships/jet.yaml
      components:
        physics: 
            position: [700, -30]
        dumbScript: dumbscripts/toleft.yaml
    - entity: ships/jet.yaml
      components:
        physics: 
            position: [700, -210]
        dumbScript: dumbscripts/toleft.yaml

wave tritonSides:
  spawner:
    - entity: ships/triton.yaml
      components:
        physics: 
            position: [600, -90]
    - entity: ships/triton.yaml
      components:
        physics: 
            position: [200, -90]

wave tritonMiddle:
  spawner:
    - entity: ships/triton.yaml
      components:
        physics: 
            position: [400, -30]

wave arrowMiddle:
  spawner:
    - entity: ships/arrow.yaml
      components:
        physics: 
            position: [256, -30]

wave diamond:
  spawner:
    - entity: ships/diamondShooter.yaml
      components:
        physics: 
            position: [0, -20]
        dumbScript: dumbscripts/moveFire.yaml

wave diamondUpperSides:
  spawner:
    - entity: ships/diamondShooter.yaml
      components:
        physics: 
            position: [800.0, -20.0]
        dumbScript: dumbscripts/upperRightToRight.yaml
    - entity: ships/diamondShooter.yaml
      components:
        physics: 
            position: [0, -20.0]
        dumbScript: dumbscripts/upperLeftToLeft.yaml

wave kamikaze:
  spawner:
    - entity: ships/kamikaze.yaml
      components:
        physics: 
            position: [0.0, -50.0]

level:
  !!pairs

  - music: music/level/Thy Steel Consumed.ogg
  - effect text:
      text: 42
      font: default 
      fontSize: 512
      color: rgbaFF000001
      time: 1.0      

  - effect lines:
      minWidth: 0.6
      maxWidth: 1.0
      minLength: 12.0
      maxLength: 18.0
      verticalScrollingSpeed: 1200.0
      linesPerPixel: 0.000002
      detailLevel: 7
      color: rgbaF8E8D150

  - effect lines:
      minWidth: 0.3
      maxWidth: 1.0
      minLength: 4.0
      maxLength: 14.0
      verticalScrollingSpeed: 250.0
      linesPerPixel: 0.001
      detailLevel: 6
      color: rgbaC8C8FF23

  - effect lines:
      minWidth: 0.3
      maxWidth: 1.0
      minLength: 4.0
      maxLength: 16.0
      verticalScrollingSpeed: 275.0
      linesPerPixel: 0.001
      detailLevel: 6
      color: rgbaC8CEA530

  - effect lines:
      minWidth: 0.225
      maxWidth: 0.7
      minLength: 3.0
      maxLength: 12.0
      verticalScrollingSpeed: 285.0
      linesPerPixel: 0.0015
      detailLevel: 5
      color: rgbaE8DEB219
  - effect lines:
      minWidth: 0.15
      maxWidth: 0.6
      minLength: 2.0
      maxLength: 8.0
      verticalScrollingSpeed: 300.0
      linesPerPixel: 0.002
      detailLevel: 4
      color: rgbaD8AD7C21

  - effect lines:
      minWidth: 0.1
      maxWidth: 0.4
      minLength: 1.0
      maxLength: 4.0
      verticalScrollingSpeed: 250.0
      linesPerPixel: 0.003
      detailLevel: 3
      color: rgbaD8D8FF29
  - effect lines:
      minWidth: 30.0
      maxWidth: 40.0
      minLength: 1000.0
      maxLength: 2000.0
      verticalScrollingSpeed: 220.0
      linesPerPixel: 0.0001
      detailLevel: 5
      color: rgba2008A001

  - wave: tritonMiddle
  - wave: tritonSides
  - wait: 2.2
  - wave: turtleLeft
  - wait: 0.2
  - wave: turtleLeft
  - wait: 0.2
  - wave: turtleLeft
  - wait: 1
  - wave: turtleRight
  - wait: 0.2
  - wave: turtleRight
  - wait: 0.2
  - wave: turtleRight
  - wait: 2
  - wave: turtleLeft
  - wait: 0.2
  - wave: turtleLeft
  - wait: 0.2
  - wave: turtleLeft
  - wait: 2.5
  - wave: [diamond, [200.0, 0.0]]
  - wave: [diamond, [600.0, 0.0]]
  - wait: 4.0
  - wave: turtleDown
  - wait: 3.5
  - wave: tritonMiddle
  - wait: 0.5
  - wave: tritonSides
  - wait: 3.0
  - wave: tritonMiddle
  - wait: 0.5
  - wave: tritonSides
  - wait: 3.0
  - wave: turtleLeft
  - wait: 0.2
  - wave: turtleRight
  - wait: 2.0
  - wave: [diamond, [200.0, 0.0]]
  - wave: [diamond, [600.0, 0.0]]
  - wait: 3.5
  - wave: turtleLeft
  - wait: 0.2
  - wave: turtleRight
  - wait: 0.2
  - wave: turtleLeft
  - wait: 0.2
  - wave: turtleRight
  - wait: 0.2
  - wave: turtleLeft
  - wait: 1.0
  - wave: [turtleLeft,  [-100.0, 128.0]]
  - wait: 0.2
  - wave: [turtleRight, [100.0,  128.0]]
  - wait: 0.6
  - wave: jetDown
  - wait: 4.0
  - wave: turtleDown
  - wait: 3.0
  - wave: tritonMiddle
  - wave: [diamond, [200.0, 0.0]]
  - wave: [diamond, [650.0, 0.0]]
  - wait: 3.5
  - wave: turtleLeft
  - wait: 0.2
  - wave: turtleRight
  - wait: 0.2
  - wave: [turtleLeft,  [-100.0, 128.0]]
  - wait: 0.2
  - wave: [turtleRight, [100.0,  128.0]]
  - wait: 0.6
  - wave: jetDown
  - wait: 3.5
  - wave: jetRight
  - wait: 5
  - wave: jetLeft
  - wait: 5
  - wave: tritonMiddle
  - wait: 3.5
  - wave: [jetRight, [-50.0, 0.0]]
  - wait: 0.25
  - wave: jetLeft
  - wait: 4.5
  - wave: tritonSides
  - wait: 3.0
  - wave: [turtleRight, [100.0,  64.0]]
  - wave: [turtleLeft,  [-100.0, 64.0]]
  - wait: 0.5
  - wave: [diamond, [150.0, 0.0]]
  - wave: [diamond, [400.0, 0.0]]
  - wait: 3.5
  - wave: tritonMiddle
  - wait: 5.0
  - wave: turtleRight
  - wait: 0.2
  - wave: turtleLeft
  - wait: 1.0  
  - wave: tritonMiddle
  - wave: tritonSides
  - wait: 3.5
  - wave: [arrowMiddle, [0.0, 0.0]]
  - wait: 1
  - wave: [arrowMiddle, [0.0, 0.0]]
  - wait: 1
  - wave: [arrowMiddle, [24.0, 0.0]]
  - wait: 1
  - wave: [arrowMiddle, [-24.0, 0.0]]
  - wait: 3
  - wave: turtleLeft
  - wait: 0.2
  - wave: turtleLeft
  - wait: 0.2
  - wave: turtleRight
  - wait: 0.2
  - wave: turtleRight
  - wait: 2
  - wave: [arrowMiddle, [0.0, 0.0]]
  - wait: 1
  - wave: [arrowMiddle, [0.0, 0.0]]
  - wait: 3
  - wave: [turtleRight, [100.0,  64.0]]
  - wave: [turtleLeft,  [-100.0, 64.0]]
  - wait: 1.5
  - wave: turtleLeft
  - wait: 0.2
  - wave: turtleLeft
  - wait: 0.2
  - wave: turtleLeft
  - wait: 1
  - wave: turtleRight
  - wait: 0.2
  - wave: turtleRight
  - wait: 0.2
  - wave: turtleRight
  - wait: 2
  - wave: [diamond, [150.0, 0.0]]
  - wave: [diamond, [400.0, 0.0]]
  - wait: 4.5
  - wave: tritonSides
  - wait: 0.4
  - wave: [diamond, [400.0, 0.0]]
  - wait: 4
  - wave: [turtleRight, [100.0,  64.0]]
  - wave: [turtleLeft,  [-100.0, 64.0]]
  - wait: 3.5
  - wave: [kamikaze, [150.0, 0.0]]
  - wait: 1.0
  - wave: [kamikaze, [480.0, 0.0]]
  - wait: 1.0
  - wave: [kamikaze, [300.0, 0.0]]
  - wait: 1.0
  - wave: [kamikaze, [740.0, 0.0]]
  - wave: [kamikaze, [590.0, 0.0]]
  - wait: 1.0
  - wave: [kamikaze, [650.0, 0.0]]
  - wave: [kamikaze, [70.0, 0.0]]
  - wait: 1.0
  - wave: [kamikaze, [500.0, 0.0]]
  - wave: [kamikaze, [330.0, 0.0]]
  - wait: 1.0
  - wave: [kamikaze, [50.0, 0.0]]
  - wave: [kamikaze, [710.0, 0.0]]
  - wave: [kamikaze, [400.0, 0.0]]
  - wait: 1.0
  - wave: [kamikaze, [300.0, 0.0]]
  - wave: [kamikaze, [600.0, 0.0]]
  - wave: [kamikaze, [100.0, 0.0]]
  - wait: 1.0
  - wave: [kamikaze, [150.0, 0.0]]
  - wave: [kamikaze, [300.0, 0.0]]
  - wave: [kamikaze, [500.0, 0.0]]
  - wave: [kamikaze, [650.0, 0.0]]
  - wait: 1.0
  - wave: [kamikaze, [100.0, 0.0]]
  - wave: [kamikaze, [200.0, 0.0]]
  - wave: [kamikaze, [400.0, 0.0]]
  - wave: [kamikaze, [500.0, 0.0]]
  - wave: [kamikaze, [700.0, 0.0]]
  - wait: 5.0
