13 hours ago · Tech · 0 comments

A couple of little changes from yesterday. Mostly just speculation, vague design thinking. I create an abstract class and draw an up-button. I had a few idle minutes in the afternoon yesterday, so I made some modifications to allow this setup for the TextureFinder: class TextureFinder: def __init__(self): self.path = '/Users/ron/Desktop/DungeonTiles/png/tiles/' floor_names = ['F1', 'F2', 'F16', 'F17', 'F18', 'F19', 'F20', 'G1', 'G2'] floor_weights = [25,25,25,25,25,25,25, 5,5] flooring = RandomName(floor_names, floor_weights) raw_names = { '': RandomName(floor_names, floor_weights), # none 'E': 'F_E.png', # east 'N1': 'F_N.png', # north 'N2': 'F_N2.png', 'N': RandomName(['N1', 'N2']), 'EN': 'F_EN.png', 'W': 'F_W.png', # west 'EW': 'F_EW.png', 'NW': 'F_NW.png', 'ENW': 'F_ENW.png', 'S1': 'F_S.png', # south 'S2': 'F_S2.png', 'S': RandomName(['S1', 'S2']), 'ES': 'F_ES.png', 'NS': 'F_NS.png', 'ENS': 'F_ENS.png', 'WS': 'F_WS.png', 'EWS': 'F_EWS.png', 'NWS': 'F_NWS.png', 'ENWS': 'Tile…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.