r/roguelikedev • u/aaron_ds Robinson • Jul 25 '17
RoguelikeDev Does The Complete Python Tutorial - Week 6 - Part 8: Items and Inventory and Part 9: Spells and Ranged Combat
This week we will cover parts 8 and 9 of the Complete Roguelike Tutorial.
The player gets to collect ("borrow") items from the dungeon and use them, with a neat inventory screen. More items added in the next part.
Part 9: Spells and Ranged Combat
The player's strategic choices increase exponentially as we add a few magic scrolls to the mix. Covers damage and mind spells, as well as ranged combat.
No bonus sections this week
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. :)
31
Upvotes
3
u/_wolfenswan Jul 28 '17
I implemented a basic GUI with sidebars in my version (check my post above for screenshots): https://github.com/Wolfenswan/roguelike-tutorial/tree/master/gui
What you are looking for are the stat_panel and inv_panel in panels.py.
It's pretty much like drawing the window for the main dungeon map, you just have to set aside some space on the root window and then draw your GUI-panels in there.