name: Level 4

wave turtleJKP:
  spawner:
    - entity: ships/turtle.yaml
      components:
        physics: 
            position: [250, -30]
        dumbScript: dumbscripts/justKillPlayer.yaml
    - entity: ships/turtle.yaml
      components:
        physics: 
            position: [550, -30]
        dumbScript: dumbscripts/justKillPlayer.yaml

wave stoper:
  spawner:
    - entity: ships/stoper.yaml
      components:
        physics: 
            position: [200, -40]
        dumbScript: dumbscripts/zigzag3.yaml

wave plasmaFighterJKP:
  spawner:
    - entity: ships/plasmaFighter.yaml
      components:
        physics: 
            position: [130, -45]
        dumbScript: dumbscripts/justKillPlayer.yaml
    - entity: ships/plasmaFighter.yaml
      components:
        physics: 
            position: [680, -60]
        dumbScript: dumbscripts/justKillPlayer.yaml
    - entity: ships/plasmaFighter.yaml
      components:
        physics: 
            position: [384, -17]
        dumbScript: dumbscripts/justKillPlayer.yaml

wave DiamondShooterSidesJKP:
  spawner:
    - entity: ships/diamondShooter.yaml
      components:
        physics: 
            position: [682, -47]
        dumbScript: dumbscripts/justKillPlayer.yaml
    - entity: ships/diamondShooter.yaml
      components:
        physics: 
            position: [87, -52]
        dumbScript: dumbscripts/justKillPlayer.yaml

wave StarShip2times:
  spawner:
    - entity: ships/starShip.yaml
      components:
        physics: 
            position: [104, -50]
        dumbScript: dumbscripts/starFire1.yaml
    - entity: ships/starShip.yaml
      components:
        physics: 
            position: [584, -93]
        dumbScript: dumbscripts/starFire2.yaml

wave turtleAttacks:
  spawner:
    - entity: ships/turtle.yaml
      components:
        physics: 
            position: [238, -10]
        dumbScript: dumbscripts/movingAndFiring.yaml
    - entity: ships/turtle.yaml
      components:
        physics: 
            position: [467, -70]
        dumbScript: dumbscripts/dontGetHit.yaml
    - entity: ships/turtle.yaml
      components:
        physics: 
            position: [654, -100]
        dumbScript: dumbscripts/justKillPlayer.yaml

wave plasmaFighterAttacks:
  spawner:
    - entity: ships/plasmaFighter.yaml
      components:
        physics: 
            position: [38, -28]
        dumbScript: dumbscripts/movingAndFiring.yaml
    - entity: ships/plasmaFighter.yaml
      components:
        physics: 
            position: [667, -53]
        dumbScript: dumbscripts/movingAndFiring.yaml
    - entity: ships/plasmaFighter.yaml
      components:
        physics: 
            position: [284, -29]
        dumbScript: dumbscripts/dontGetHit.yaml
    - entity: ships/plasmaFighter.yaml
      components:
        physics: 
            position: [484, -124]
        dumbScript: dumbscripts/justKillPlayer.yaml

wave mixmax:
  spawner:
    - entity: ships/turtle.yaml
      components:
        physics: 
            position: [676, -89]
        dumbScript: dumbscripts/wtf-sewing.yaml
    - entity: ships/diamondShooter.yaml
      components:
        physics: 
            position: [467, -57]
        dumbScript: dumbscripts/justKillPlayer.yaml
    - entity: ships/kamikaze.yaml
      components:
        physics: 
            position: [200.0, -50.0]

wave onlyKillP:
  spawner:
    - entity: ships/kamikaze.yaml
      components:
        physics: 
            position: [640.0, -50.0]
    - entity: ships/diamondShooter.yaml
      components:
        physics: 
            position: [337, -15]
        dumbScript: dumbscripts/movingAndFiring.yaml
    - entity: ships/plasmaFighter.yaml
      components:
        physics: 
            position: [64, -36]
        dumbScript: dumbscripts/justKillPlayer.yaml

wave mixMaF:
  spawner:
    - entity: ships/plasmaFighter.yaml
      components:
        physics: 
            position: [418, -106]
        dumbScript: dumbscripts/movingAndFiring.yaml
    - entity: ships/turtle.yaml
      components:
        physics: 
            position: [267, -23]
        dumbScript: dumbscripts/movingAndFiring.yaml
    - entity: ships/starShip.yaml
      components:
        physics: 
            position: [564, -100]
        dumbScript: dumbscripts/starFire1.yaml

wave StarShipCrazyness:
  spawner:
    - entity: ships/starShip.yaml
      components:
        physics: 
            position: [318, -55]
        dumbScript: dumbscripts/starFire1.yaml
    - entity: ships/starShip.yaml
      components:
        physics: 
            position: [667, -20]
        dumbScript: dumbscripts/starFire2.yaml
    - entity: ships/starShip.yaml
      components:
        physics: 
            position: [64, -15]
        dumbScript: dumbscripts/starFire1.yaml

wave turtleMaF:
  spawner:
    - entity: ships/turtle.yaml
      components:
        physics: 
            position: [408, -20]
        dumbScript: dumbscripts/movingAndFiring.yaml

wave starShipMaF:
  spawner:
    - entity: ships/starShip.yaml
      components:
        physics: 
            position: [367, -53]
        dumbScript: dumbscripts/starFire1.yaml

wave plasmaFighterMaF:
  spawner:
    - entity: ships/plasmaFighter.yaml
      components:
        physics: 
            position: [434, -32]
        dumbScript: dumbscripts/movingAndFiring.yaml

wave Star2plasma:
  spawner:
    - entity: ships/starShip.yaml
      components:
        physics: 
            position: [658, -22]
        dumbScript: dumbscripts/starFire2.yaml
    - entity: ships/plasmaFighter.yaml
      components:
        physics: 
            position: [461, -10]
        dumbScript: dumbscripts/dontGetHit.yaml
    - entity: ships/starShip.yaml
      components:
        physics: 
            position: [196, -48]
        dumbScript: dumbscripts/starFire1.yaml

wave outOfHit:
  spawner:
    - entity: ships/diamondShooter.yaml
      components:
        physics: 
            position: [318, -16]
        dumbScript: dumbscripts/dontGetHit.yaml
    - entity: ships/turtle.yaml
      components:
        physics: 
            position: [616, -57]
        dumbScript: dumbscripts/mostlyMoving.yaml
    - entity: ships/turtle.yaml
      components:
        physics: 
            position: [827, -43]
        dumbScript: dumbscripts/mostlyMoving.yaml
    - entity: ships/plasmaFighter.yaml
      components:
        physics: 
            position: [118, -101]
        dumbScript: dumbscripts/wtf-sewing.yaml
        
level:
  !!pairs

  - music: 'music/level/byAlexandrZhelanov.ogg'
  - effect text:
      text: 42
      font: default 
      fontSize: 512
      color: rgbaFF000001
      time: 1.0
      
  - effect lines:
      minWidth: 0.6
      maxWidth: 1.5
      minLength: 16.0
      maxLength: 32.0
      verticalScrollingSpeed: 1500.0
      linesPerPixel: 0.000003
      detailLevel: 8
      color: rgbaDBD69850
  - effect lines:
      minWidth: 0.3
      maxWidth: 1.0
      minLength: 4.0
      maxLength: 16.0
      verticalScrollingSpeed: 275.0
      linesPerPixel: 0.001
      detailLevel: 7
      color: rgbaFFAF6725

  - effect lines:
      minWidth: 0.225
      maxWidth: 0.9
      minLength: 3.0
      maxLength: 12.0
      verticalScrollingSpeed: 300.0
      linesPerPixel: 0.0015
      detailLevel: 6
      color: rgbaD8D8FF27

  - effect lines:
      minWidth: 0.1
      maxWidth: 0.6
      minLength: 1.0
      maxLength: 9.0
      verticalScrollingSpeed: 260.0
      linesPerPixel: 0.003
      detailLevel: 4
      color: rgbaDED3FF35
  - effect lines:
      minWidth: 20.0
      maxWidth: 30.0
      minLength: 1000.0
      maxLength: 2000.0
      verticalScrollingSpeed: 300.0
      linesPerPixel: 0.0001
      detailLevel: 6
      color: rgba2008A004

  - effect lines:
      lineDirection: 0.7853
      minWidth: 50.0
      maxWidth: 80.0
      minLength: 1000.0
      maxLength: 2000.0
      verticalScrollingSpeed: 300.0
      linesPerPixel: 0.000005
      detailLevel: 8
      color: rgba98989801
  - effect lines:
      lineDirection: -0.7853
      minWidth: 50.0
      maxWidth: 80.0
      minLength: 1000.0
      maxLength: 2000.0
      verticalScrollingSpeed: 250.0
      linesPerPixel: 0.000005
      detailLevel: 8
      color: rgba98989801

  - wait: 0.5
  - wave: outOfHit
  - wait: 4.0
  - wave: turtleAttacks
  - wait: 0.2
  - wave: turtleJKP
  - wait: 3.8
  - wave: DiamondShooterSidesJKP
  - wait: 3.0
  - wave: plasmaFighterJKP
  - wait: 4.0
  - wave: plasmaFighterAttacks
  - wait: 2.5
  - wave: turtleMaF
  - wait: 3.6
  - wave: turtleMaF
  - wait: 0.2
  - wave: starShipMaF
  - wait: 0.5
  - wave: DiamondShooterSidesJKP
  - wait: 3.2
  - wave: plasmaFighterMaF
  - wait: 3.4
  - wave: Star2plasma
  - wait: 4.0
  - wave: DiamondShooterSidesJKP
  - wait: 3.0
  - wave: outOfHit
  - wait: 3.7
  - wave: StarShipCrazyness
  - wait: 6.0
  - wave: plasmaFighterJKP
  - wait: 4.5
  - wave: turtleJKP
  - wait: 4.5
  - wave: onlyKillP
  - wait: 3.5
  - wave: mixmax
  - wait: 1.0
  - wave: turtleAttacks
  - wait: 3.5
  - wave: Star2plasma
  - wait: 4.0
  - wave: mixMaF
  - wait: 3.5
  - wave: plasmaFighterJKP
  - wait: 4.5
  - wave: turtleJKP
  - wait: 3.0
  - wave: plasmaFighterAttacks
  - wait: 0.2
  - wave: turtleAttacks
  - wait: 0.2
  - wave: DiamondShooterSidesJKP
  - wait: 4.0
  - wave: onlyKillP
  - wait: 4.0
  - wave: mixMaF
  - wait: 4.5
  - wave: StarShip2times
  - wait: 4.5
  - wave: plasmaFighterMaF
  - wait: 3.5
  - wave: onlyKillP
  - wait: 6.0
  - wave: plasmaFighterMaF
  - wait: 0.5
  - wave: DiamondShooterSidesJKP
  - wait: 2.5
  - wave: DiamondShooterSidesJKP
  - wait: 1.0
  - wave: turtleMaF
  - wait: 5.0
  - wave: stoper
  - wait: 13.0
