view data/levels/level1 @ 145:0c49627920eb

Load game objects from level.
author Jeremy Thurgood <firxen@gmail.com>
date Mon, 02 Sep 2013 23:05:25 +0200
parents 076448ba0582
children 8c3b88b34a9c
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