Changeset 55:b8a6191bfc8c


Ignore:
Timestamp:
Apr 3, 2011, 7:34:56 PM (9 years ago)
Author:
Adrianna Pińska <adrianna.pinska@…>
Branch:
default
rebase_source:
8ff8dae69dd46c75f2e02951f607160d2fb2a3d6
Message:

some betterer tiles, plus no blank tile

Files:
6 added
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • data/levels/level4.json

    r52 r55  
    77    "tiles": [
    88        "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
    9         "X-................-X-...................................................-X",
     9        "X/................`X/...................................................`X",
    1010        "X..................X.....................................................X",
    11         "XXXXX-..-XXXXXXXXXXXXXXXXXXXX-..-XXXXXXXXXXXXXXXXXXXXX-..-XXXXXXXXXXXXXXXX",
    12         "X-........-X-.............................-X-...........................-X",
     11        "XXXXXD..CXXXXXXXXXXXXXXXXXXXXD..CXXXXXXXXXXXXXXXXXXXXXD..CXXXXXXXXXXXXXXXX",
     12        "X/........`X/.............................`X/...........................`X",
    1313        "X..........X...............................X.............................X",
    14         "X..-XXXXXXXXXXXXXXXXXXXX-..-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-..-XXXXXXXXX",
    15         "X...........................-X-...........................-X-...........-X",
     14        "X..CXXXXXXXXXXXXXXXXXXXXD..CXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXD..CXXXXXXXXX",
     15        "X...........................`X/...........................`X/...........`X",
    1616        "X............................X.............................X.............X",
    17         "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-..-XXXXXXXX-..-XXXXXXXXXXXXXXXXXXXXX-..-XX",
    18         "X-..................................-X-.................................-X",
     17        "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXD..CXXXXXXXXD..CXXXXXXXXXXXXXXXXXXXXXD..CXX",
     18        "X/..................................`X/.................................`X",
    1919        "X....................................X...................................X",
    2020        "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
  • skaapsteker/level.py

    r52 r55  
    1717
    1818    def get_tile(self, tilechar, pos):
     19        if tilechar == '.':
     20            return None
    1921        return Geography(pos, self.get_image(tilechar))
    2022
     
    2224    def get_image(self, tilechar):
    2325        image_name = {
    24             '.': 'blank.png',
    2526            '-': 'floor.png',
    2627            'X': 'solid.png',
     28            'c': 'cap-c.png',
     29            'C': 'cap-cc.png',
     30            'd': 'cap-d.png',
     31            'D': 'cap-dd.png',
     32            '/': 'cnr-slash.png',
     33            '`': 'cnr-backslash.png',
    2734            }[tilechar]
    2835        image_file = self.dirname + '/' + image_name
Note: See TracChangeset for help on using the changeset viewer.