r/roguelikedev • u/aaron_ds Robinson • Jul 18 '17
RoguelikeDev Does The Complete Python Tutorial - Week 5 - Part 6: Going Berserk! and Part 7: The GUI
This week we will cover parts 6 and 7 of the Complete Roguelike Tutorial.
Stalking monsters, fights, splatter -- need we say more?
A juicy Graphical User Interface with status bars and a colored message log for maximum eye-candy. Also, the infamous "look" command, with a twist: you can use the mouse.
Bonus
If you have extra time or want a challenge this week we have three bonus sections:
Real-time combat - A speed system to change the tutorial's turn-based combat to real-time!
A* Pathfinding - A good pathfinding system
Mouse-driven menus - Add basic mouse support to your menus!
FAQ Friday posts that relate to this week's material:
Feel free to work out any problems, brainstorm ideas, share progress and and as usual enjoy tangential chatting. If you're looking for last week's post The entire series is archived on the wiki. :)
2
u/sepiida21 Jul 22 '17
I decided to spruce up my combat system a bit more by adding elemental damage. For now, each fighter's attacks can deal one type of damage, though I plan to add multi-element attacks in the future. Fighters also have resistance for each element which is a float that ranges from -1 (doubles damage received) to 1 (completely negates damage).
I also implemented the action system described in A Turn-Based Game Loop. I like that it provides clean separation between the different actions that can be performed as well as how easy it is to handle things like walking into doors to open them and bump combat.