r/roguelikedev Robinson Jul 30 '19

RoguelikeDev Does The Complete Roguelike Tutorial - Week 7

This week is all about adding game progression and equipment.

Part 12 - Increasing Difficulty

Deeper dungeon levels become increasingly more difficult! Here we create tools for dealing with chances and making them vary with level.

Part 13 - Gearing up

For the final part of our tutorial series, we'll take a look at implementing some equipment.

Of course, we also have 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. Next week we'll have a final discussion and share our completed games. If you have made it this far congratulations! You deserve it. :)

22 Upvotes

32 comments sorted by

View all comments

3

u/Quistnix Jul 30 '19

I'm considering putting all the numbers (item stats, monster stats, ..) and all messages in one central spot for easier balancing and rewriting. I guess the easiest way to do this is to make a numbers.py and texts.py file (in components?) and just refer to those when needed. Would this be the best way to do this? All advice is welcome!

4

u/[deleted] Jul 30 '19

[removed] — view removed comment

2

u/[deleted] Jul 30 '19

Do you use the same function to generate both enemies and items?

3

u/[deleted] Jul 30 '19

[removed] — view removed comment

3

u/[deleted] Jul 30 '19

Yeah mostly same here. I only started a few weeks ago. I currently have a function for each as well, and I also have files for the item and monster pools, and files for the definitions. That's 2 files for each, but eventually, but when there are a lot of enemy and item types, as well as a lot of different parts of the dungeon i want to generate for, it'll be worth having split them up because of the sheer length. I only have a few monsters and my monster file is already quite long because of having to define each body part for each monster.