view data/levels/town.json @ 278:abe77599ac47

repurposing level 2 and 3 (positions to be fixed)
author Adrianna Pińska <adrianna.pinska@gmail.com>
date Fri, 08 Apr 2011 19:32:54 +0200
parents e006ec7b3d8f
children 3cd37fc04070
line wrap: on
line source

{
    "description": "The town",
    "backgrounds": [
        "background_01_back.png"
    ],
    "tileset": "fan_green",
    "tiles": [
        "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
        "X{..........}XX{...........................}XX{...........}XX{..........}X",
        "X............XX..........pq......pq.........XX.............XX........<+bXX",
        "X.........<+bXXd=>....<+bXXXXXXXXXXd=>...<+bXXd=>..........XX...........}X",
        "X...........................}XX{...........}bd{...<+bd=>...XXd=>.........X",
        "X........pq..?...pq..........XX............................XX{........<+bX",
        "X.....<+bXXXXXXXXXXd=>...<+bXXX.........pq......pq......<+bXX...........}X",
        "X...........}XX{............}XX......<+bXXXXXXXXXXd=>.....}XXd=----->....X",
        "X..?.........XX..............XXd=>.........}XX{............XX{...........X",
        "XXXXd=>......XX......<---+bXXXX{.........<+bXX..........<+bXX............X",
        "X{...........XX.............}XX............}XX............}XXd=--->......X",
        "X............XXd=-->.........XXd=->.........XX.............XX{...........X",
        "X.....<+bXXXXXX{.......<-+bXXXX{........<+bXXX).........<+bXX............X",
        "X...........}XX.............}XX............}XX{............}bd=>.........X",
        "X............XXd=---->.......XXd=>..........XX.........pq................X",
        "XXXXd=>......XX{.........<+bXXd{........<+bXXX).....<+bXXXXXXXXXXd=>.....X",
        "X{...........XX............................}XX{..........................X",
        "X............XXd=-->........................XX...........................X",
        "X.....<+bXXXXXX{.............pq..........<+bXX)..........<+bd=>....<+bXXXX",
        "X...........}XX..............XX............}XX{.........................}X",
        "X............XXX=>........<+XXXq...........pXXq..........................X",
        "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
    ],
    "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"}
    }
}