view data/levels/level1 @ 177:bf11d3bb2d6b

Add doors to the levels
author Neil Muller <drnlmuller@gmail.com>
date Tue, 03 Sep 2013 16:12:24 +0200
parents 8c3b88b34a9c
children 5cabbb485ad5
line wrap: on
line source

base_tile: tiles/floor.png
polygons:
  1:
  - [60, 780]
  - [130, 850]
  - [1150, 850]
  - [1010, 710]
  - [1010, 190]
  - [880, 60]
  - [700, 60]
  - [560, 200]
  - [560, 650]
  - [410, 650]
  - [410, 70]
  - [60, 70]
  - [260, 270]
  - [60, 470]
  - [60, 780]
size: [1200, 900]
game_objects:
  - classname: Box
    args:
      - [250, 350]
  - classname: FloorSwitch
    args:
      - [300, 400]
    name: switch
  - classname: FloorSwitch
    args:
      - [300, 600]
    name: switch2
  - classname: FloorLight
    args:
      - [300, 500]
      - switch
    name: light
  - classname: FloorLight
    args:
      - [250, 500]
      - both_switches
    name: light2
  - classname: StateLogicalAndPuzzler
    args:
      - switch
      - switch2
    name: both_switches
  - classname: Door
    args:
       - [400, 400]
       - level2
       - [600, 700]
enemies:
  - classname: PatrollingAlien
    args:
       - [750, 300]
       - [650, 500]