all repos — Legends-RPG @ 2062b2c730563fe5071d7c08ae6a268b87242736

A fantasy mini-RPG built with Python and Pygame.

Added old man's house and evil castle to overworld
Justin Armstrong justinmeister@gmail.com
Sun, 06 Apr 2014 22:44:32 -0700
commit

2062b2c730563fe5071d7c08ae6a268b87242736

parent

ad405fd726359ea8a62b0a89eb8333c5ff562d76

M data/states/overworld/blockers.txtdata/states/overworld/blockers.txt

@@ -1,28 +1,28 @@

000000000000000000000000000000 -000000000000000000000000000000 -000000000000000000000000000000 -000000000000000000000000000000 -000000000000000000000000000000 -000000000000000000000000000000 -000000000000000000000000000000 -000000000000000000000000000000 -000000000000000000000000000000 -000000000000000000000000000000 -000000000000000000000000000000 -000000000000000000000000000000 -000000000000000000000000000000 -000000000000000000000000000000 -000000000000000000000000000000 -000000000000000000000000000000 -000000000000000000000000000000 -000000000000000000000000000000 -000000000000000000000000000000 -000000000000000000000000000000 -000000000000000000000000000000 -000000000000000000000000000000 -000000000000000000000000000000 -000000000000000000000000000000 -000000000000000000000000000000 +0BBBBBBBBB00000000000000000000 +B000000000B0000000000000000000 +B00BBBB000B0000000000000000000 +B00B00B000B0000000000000000000 +B00B00B000BBBBBBBBBBBBBBBBBB00 +B00B00B000000000000000000000B0 +B000000000000000000000000000B0 +B000000000000000000000000000B0 +0BBBBB0000000000000000000000B0 +000000B000000000000000000000B0 +0000000BBBB000000000000BBBBB00 +0000000000B000000000000B000000 +0000000000B000000000000B000000 +0000000000B000000000000B000000 +0000000000B000000000000B000000 +0000000000B000000000000B000000 +0000000000B000000000000B000000 +0000000000B000000000000B000000 +0000000000B000000000000B000000 +0000000000B000000000000B000000 +0000000000B000000000000B000000 +0000000000B000000000000B000000 +0000000000B000000000000B000000 +0000000000B000000000000B000000 0000000000B000000000000B000000 00000000000B0000BBB000B0000000 000000000000B00BBBB00B00000000
M data/states/overworld/layer1extra.txtdata/states/overworld/layer1extra.txt

@@ -1,12 +1,12 @@

000000000000000000000000000000 000000000000000000000000000000 000000000000000000000000000000 +000500000000000000000000000000 000000000000000000000000000000 000000000000000000000000000000 000000000000000000000000000000 000000000000000000000000000000 -000000000000000000000000000000 -000000000000000000000000000000 +000000000000000000000000040000 000000000000000000000000000000 000000000000000000000000000000 000000000000000000000000000000
M data/tilemap.pydata/tilemap.py

@@ -18,6 +18,8 @@ castle_door = setup.GFX['castledoor']

medieval_signs = setup.GFX['medievalsigns'] house = setup.GFX['house'] houseoverworld = setup.GFX['houseoverworld'] + oldmanhouse = setup.GFX['house1'] + evilcastle = setup.GFX['evilcastle'] tile_dict['pavement'] = get_tile(32, 48, tileset2) tile_dict['house wall'] = get_tile(64, 48, tileset2)

@@ -79,6 +81,8 @@ tile_dict['rightwater1'] = get_tile(144, 0, tileset2)

tile_dict['rightwater2'] = get_tile(144, 16, tileset2) tile_dict['rightwater3'] = get_tile(64, 16, tileset2) tile_dict['houseoverworld'] = get_tile(0, 0, houseoverworld, 128, 128) + tile_dict['oldmanhouse'] = get_tile(0, 0, oldmanhouse, 32, 32) + tile_dict['evilcastle'] = get_tile(0, 0, evilcastle, 128, 128) return tile_dict

@@ -271,6 +275,12 @@ tile = tile_dict['black tile']

blit_tile_to_map(tile, row, column, map) elif letter == 'P': tile = tile_dict['houseoverworld'] + blit_tile_to_map(tile, row, column, map) + elif letter == '4': + tile = tile_dict['oldmanhouse'] + blit_tile_to_map(tile, row, column, map) + elif letter == '5': + tile = tile_dict['evilcastle'] blit_tile_to_map(tile, row, column, map) tile_map.close()