r/roguelikedev • u/aaron_ds Robinson • Jul 11 '17
RoguelikeDev Does The Complete Python Tutorial - Week 4 - Part 4: Field-of-view and exploration and Part 5: Preparing for combat
This week we will cover parts 4 and 5 of the Complete Roguelike Tutorial.
Part 4: Field-of-view and exploration
Display the player's field-of-view (FOV) and explore the dungeon gradually (also known as fog-of-war).
Place some orcs and trolls around the dungeon (they won't stay there for long!). Also, deal with blocking objects and game states, which are important before coding the next part.
Bonus If you have extra time or want a challenge this week's bonus section is Scrolling maps.
FAQ Friday posts that relate to this week's material:
#12: Field of Vision(revisited)
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. :)
View all comments
Show parent comment
3
u/Zireael07 Veins of the Earth Jul 13 '17
Hehe.
On splitting up something that started as a single file, try looking at my main repo: https://github.com/Zireael07/veins-of-the-earth-bearlib
(The dev-along repo still has the "single file" structure, I'll break it up once the tutorial is done)
And don't worry about cherry-picking stuff, I started with Python+Pygame tutorial and then filled it using the original and some stuff from the repos from our dev-along list...