view data/levels/town.json @ 274:e006ec7b3d8f

proper levels
author Adrianna Pińska <adrianna.pinska@gmail.com>
date Fri, 08 Apr 2011 19:12:44 +0200
parents
children abe77599ac47
line wrap: on
line source

{
    "description": "The town",
    "backgrounds": [
        "background_01_back.png"
    ],
    "tileset": "fan_green",
    "tiles": [
        "XXXXXXXXXXXXXXXXXXXXXX",
        "X....................X",
        "X....................X",
        "X....................X",
        "X....................X",
        "X....................X",
        "X....................X",
        "X....................X",
        "X....................X",
        "XXXXXXXXXXXXXXXXXXXXXX"
    ],
    "enemies": [
        {"type": "RedOni", "pos": [5, 5], "direction": "left" }
    ],
    "doorways": {
        "starting": {"type": "Doorway", "pos": [3, 9], "facing": "right", "leadsto": "road.to_town"},
        "to_theatre": {"type": "Doorway", "pos": [6, 9], "facing": "right", "leadsto": "theatre.starting"},
        "to_tea_house": {"type": "Doorway", "pos": [9, 9], "facing": "right", "leadsto": "tea_house.starting"},
        "to_market": {"type": "Doorway", "pos": [12, 9], "facing": "right", "leadsto": "market.starting"},
        "to_celestial_plane": {"type": "Doorway", "pos": [15, 9], "facing": "left", "leadsto": "celestial_plane.starting"}
    }
}