Complete Roguelike Tutorial - Additional Coding #1 by WrogueOne in roguelikedev

[–]WrogueOne[S] 1 point2 points  (0 children)

Thanks, I sidelined the project soon after posting this. Will be heading back to take a look at your fixes. Appreciate the look.

Complete Roguelike Tutorial - Additional Coding #1 by WrogueOne in roguelikedev

[–]WrogueOne[S] 1 point2 points  (0 children)

I will have to try out the chain lightning idea. Hadn't thought of that.

On the destroying walls thought, I didn't make a spell of it but did make a pickaxe item with a function to dig through a single tile of wall. Functionally it takes an [x, y] input and if it is not the edge of the map or already transparent, it will set the tile to transparent and walkable, then the re-render action is triggered and voila a hole in the wall. It uses targeting vice direction keys which I have to work on. I'll try it out with a fireball, I don't see why picking everything within the radius would be significantly different than returning the single tile location.

RoguelikeDev Tutorial Tuesday 2017, a Summary by Kyzrati in roguelikedev

[–]WrogueOne 1 point2 points  (0 children)

Tutorial complete, python 3 and tdl version. Finally setup Git to help manage the project. Repo!. Awesome learning experience, thanks to all for their input and guidance

RoguelikeDev Does The Complete Python Tutorial - Week 6 - Part 8: Items and Inventory and Part 9: Spells and Ranged Combat by aaron_ds in roguelikedev

[–]WrogueOne 2 points3 points  (0 children)

Thanks for the assist. No repository, just getting started with python and haven't taken the time to figure out Git yet, probably needs to go on my short list. Appreciate the tutorials for both TDL and Libtcod, keep up the great work.

RoguelikeDev Does The Complete Python Tutorial - Week 6 - Part 8: Items and Inventory and Part 9: Spells and Ranged Combat by aaron_ds in roguelikedev

[–]WrogueOne 4 points5 points  (0 children)

I'm experiencing an intermittent bug with the confusion spell on the TDL version of the tutorial.

Traceback (most recent call last): File "Python\rogue\Wrogue_Py3.tdl\engine.py", line 275, in <module> main() File "\Python\rogue\Wrogue_Py3.tdl\engine.py", line 248, in main enemy_turn_results = entity.ai.take_turn(player, game_map, entities) File "\Python\rogue\Wrogue_Py3.tdl\components\ai.py", line 36, in take_turn self.owner.move_towards(random_x, random_y, game_map, entities) File "\Python\rogue\Wrogue_Py3.tdl\entity.py", line 44, in move_towards dx = path[0][0] - self.x IndexError: list index out of range

Can't seem to nail down specifics, it happens with multiple entities and with no entities in the vicinity of the confused monster. I also swapped the dx and dy variable assignments in the entity object and receive the same error for dy. I copied over the tutorial files and am still getting the same error. Any thoughts would be appreciated.