view data/levels/temple.json @ 244:5bbf90e6a94b

Add minimal support for player death
author Neil Muller <drnlmuller@gmail.com>
date Thu, 07 Apr 2011 18:13:51 +0200
parents 9adf5076f3a2
children 30ae3c681507
line wrap: on
line source

{
    "description": "A small temple",
    "backgrounds": [
        "background_01_back.png"
    ],
    "tileset": "blue",
    "tiles": [
        "XXXXXXXXXXXXXXXXXXXX",
        "XXd{....}bd{....}bXX",
        "Xd{..........?...}bX",
        "X{..........(X)...}X",
        "X..................X",
        "X..<+bd=>..........X",
        "X.................pX",
        "X?...........<--+bXX",
        "Xq..?..pq.........}X",
        "XXXXXd=-->.........X",
        "X{................?X",
        "X..........pq..?..pX",
        "X.........<--+bXXXXX",
        "Xq................}X",
        "XXd=-->............X",
        "X{.................X",
        "Xq..?.....pq...?..pX",
        "XXXXXXXXXXXXXXXXXXXX"
    ],
    "enemies": [
        {"type": "RedOni", "pos": [4, 8], "direction": "left" },
        {"type": "RedOni", "pos": [15, 11], "direction": "right" }
    ],
    "player": {"pos": [4, 17], "direction": "right"}
}