1 hour ago · 9 min read1847 words · Tech · hide · 0 comments

Hello, loves! Let’s get back to work on displaying the path to things. We need a different Flooder setting for sure. The current scheme for finding the path between Dot and some named treasure shortcuts through walls. I suppose that might be interesting,, requiring Dot to explore to find the trail again, but what we had in mind was that it would draw a legitimate path. We have that technology, so let’s see about plugging it in. ALong the way, I think we’ll find a better place for the code. At present we trigger a path from Dot to ‘a red key’ by typing a K. In actual use, the path will be triggered by other actions, to be defined. class DungeonView: elif symbol == arcade.key.K: self.dungeon.show_path_to('a red key', self) class Dungeon: def show_path_to(self, item_name, dungeon_view): my_resources = '/Users/ron/Desktop/DungeonTiles/png/objects/' item = ContentFactory().decor(name="skel", resource=my_resources + 'Skeleton1.png', scale=0.5) path = self.find_path_to(item_name) for cell in…

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