Changeset 317:a5fe5a69689d


Ignore:
Timestamp:
Sep 5, 2013, 11:44:23 PM (7 years ago)
Author:
Stefano Rivera <stefano@…>
Branch:
default
Message:

Actually use the base tile specified in the level

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • data/levels/level2

    r278 r317  
    1 base_tile: tiles/floor.png
     1base_tile: tiles/floor_light.png
    22enemies:
    33- args:
  • nagslang/level.py

    r277 r317  
    6060        data = self._get_data()
    6161        self.x, self.y = data['size']
    62         self.base_tile = data['base_tile']
     62        self.basetile = data['base_tile']
    6363        for i, points in data['polygons'].iteritems():
    6464            self.polygons[i] = []
Note: See TracChangeset for help on using the changeset viewer.