all repos — Legends-RPG @ ad405fd726359ea8a62b0a89eb8333c5ff562d76

A fantasy mini-RPG built with Python and Pygame.

Expanded Overworld
Justin Armstrong justinmeister@gmail.com
Sun, 06 Apr 2014 10:45:38 -0700
commit

ad405fd726359ea8a62b0a89eb8333c5ff562d76

parent

1468db2538cd810757a76ae20fce0a306f457744

M data/states/main_menu/main_menu.pydata/states/main_menu/main_menu.py

@@ -5,7 +5,7 @@

class Menu(tools._State): def __init__(self): super(Menu, self).__init__() - self.next = c.TOWN + self.next = c.OVERWORLD self.surface = setup.SCREEN self.rect = self.surface.get_rect() text = 'Arrows for navigation, space for input, Enter/Return for menu'
M data/states/overworld/blockers.txtdata/states/overworld/blockers.txt

@@ -1,29 +1,38 @@

-0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -000000000000000000B000000 -00000B00000BBB0000B000000 -00000B0000BBBB0000B000000 -00000B0000BBBB0000B000000 -00000B0000B00B0000B000000 -00000B000000000000B000000 -00000B000000000000B000000 -000000BBBBBBBBBBBB0000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 +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 +0000000000B000000000000B000000 +00000000000B0000BBB000B0000000 +000000000000B00BBBB00B00000000 +000000000000B00BBBB00B00000000 +000000000000B00B00B00B00000000 +000000000000B00000000B00000000 +0000000000000BBBBBBBB000000000 +000000000000000000000000000000 +000000000000000000000000000000 +000000000000000000000000000000 +000000000000000000000000000000 +000000000000000000000000000000 +000000000000000000000000000000
M data/states/overworld/layer1.txtdata/states/overworld/layer1.txt

@@ -1,29 +1,37 @@

-MMMMMMMMMMMMMMMMMMMMMMMMM -MMMMMMMMMMMMMMMMMMMMMMMMM -MMMMMM9ab9ab9ab9abMMMMMMM -MMMMMM60000000000ZMMMMMMM -MMMMMM700000000004MMMMMMM -MMMMMM60000000000ZMMMMMMM -MMMMMM700000000004MMMMMMM -MMMMMM60000000000ZMMMMMMM -MMMMMM700000000004MMMMMMM -MMMMMM60000000000ZMMMMMMM -MMMMMM700000000004MMMMMMM -MMMMMM60000000000ZMMMMMMM -MMMMMM700000000004MMMMMMM -MMMMMM60000000000ZMMMMMMM -MMMMMM700000000004MMMMMMM -MMMMMM60000000000ZMMMMMMM -MMMMMM700000000004MMMMMMM -MMMMMM60000000000ZMMMMMMM -MMMMMM700000000004MMMMMMM -MMMMMM60000000000ZMMMMMMM -MMMMMM700000000004MMMMMMM -MMMMMM60000000000ZMMMMMMM -MMMMMM7NYLNYLNYLN4MMMMMMM -MMMMMMMMMMMMMMMMMMMMMMMMM -MMMMMMMMMMMMMMMMMMMMMMMMM -MMMMMMMMMMMMMMMMMMMMMMMMM -MMMMMMMMMMMMMMMMMMMMMMMMM -MMMMMMMMMMMMMMMMMMMMMMMMM -MMMMMMMMMMMMMMMMMMMMMMMMM+MMMMMMMMMMMMMMMMMMMMMMMMMMMMMM +MMMMMMMMMMMMMMMMMMMMMMMMMMMMMM +M7b9ab9ab4MMMMMMMMMMMMMMMMMMMM +M60000000ZMMMMMMMMMMMMMMMMMMMM +M700000004MMMMMMMMMMMMMMMMMMMM +M60000000ZMMMMMMMMMMMMMMMMMMMM +M700000000ab9ab9ab9ab9ab9abZMM +M600000000000000000000000004MM +M7NYLN000000000000000000000ZMM +MMMMMM7000000000000000000004MM +MMMMMMM6YLN000000000000NYLNZMM +MMMMMMMMMMM60000000000ZMMMMMMM +MMMMMMMMMMM700000000004MMMMMMM +MMMMMMMMMMM60000000000ZMMMMMMM +MMMMMMMMMMM700000000004MMMMMMM +MMMMMMMMMMM60000000000ZMMMMMMM +MMMMMMMMMMM700000000004MMMMMMM +MMMMMMMMMMM60000000000ZMMMMMMM +MMMMMMMMMMM700000000004MMMMMMM +MMMMMMMMMMM60000000000ZMMMMMMM +MMMMMMMMMMM700000000004MMMMMMM +MMMMMMMMMMM60000000000ZMMMMMMM +MMMMMMMMMMM700000000004MMMMMMM +MMMMMMMMMMM60000000000ZMMMMMMM +MMMMMMMMMMM700000000004MMMMMMM +MMMMMMMMMMM60000000000ZMMMMMMM +MMMMMMMMMMMML00000000YMMMMMMMM +MMMMMMMMMMMMM60000004MMMMMMMMM +MMMMMMMMMMMMM7000000ZMMMMMMMMM +MMMMMMMMMMMMM60000004MMMMMMMMM +MMMMMMMMMMMMM7LNYLNYZMMMMMMMMM +MMMMMMMMMMMMMMMMMMMMMMMMMMMMMM +MMMMMMMMMMMMMMMMMMMMMMMMMMMMMM +MMMMMMMMMMMMMMMMMMMMMMMMMMMMMM +MMMMMMMMMMMMMMMMMMMMMMMMMMMMMM +MMMMMMMMMMMMMMMMMMMMMMMMMMMMMM +MMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
M data/states/overworld/layer1extra.txtdata/states/overworld/layer1extra.txt

@@ -1,29 +1,37 @@

-0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000P00000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 +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 +000000000000000000000000000000 +000000000000000P00000000000000 +000000000000000000000000000000 +000000000000000000000000000000 +000000000000000000000000000000 +000000000000000000000000000000 +000000000000000000000000000000 +000000000000000000000000000000 +000000000000000000000000000000 +000000000000000000000000000000 +000000000000000000000000000000 +000000000000000000000000000000
M data/states/overworld/overworld.pydata/states/overworld/overworld.py

@@ -10,8 +10,8 @@ class Overworld(level_state.LevelState):

def __init__(self): super(Overworld, self).__init__() self.name = c.OVERWORLD - self.map_width = 25 - self.map_height = 29 + self.map_width = 30 + self.map_height = 37
M data/states/overworld/portals.txtdata/states/overworld/portals.txt

@@ -1,29 +1,38 @@

-0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -00000000000BB000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 -0000000000000000000000000 +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 +000000000000000000000000000000 +000000000000000000000000000000 +000000000000000000000000000000 +000000000000000000000000000000 +0000000000000000BB000000000000 +000000000000000000000000000000 +000000000000000000000000000000 +000000000000000000000000000000 +000000000000000000000000000000 +000000000000000000000000000000 +000000000000000000000000000000 +000000000000000000000000000000 +000000000000000000000000000000
M data/tools.pydata/tools.py

@@ -170,11 +170,11 @@

data_dict = {'last location': None, 'last state': None, - 'last direction': 'up', + 'last direction': 'down', 'town start pos': [12, 49], 'castle start pos': [12, 26], 'house start pos': [12, 13], - 'overworld start pos': [12, 21], + 'overworld start pos': [17, 30], 'king item': {'gold': 500}, 'player inventory': player_items, 'player stats': player_stats