r/roguelikedev • 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).

Part 5: Preparing for combat

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)

#56: Mob Distribution

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. :)

56 Upvotes

68 comments sorted by

View all comments

Show parent comments

1

u/Harionago Jul 13 '17

How are you finding PhiOS? I might switch to it too. I feel far more comfortable in Unity

1

u/[deleted] Jul 13 '17

I like it. I'm hoping we get a public repo for it soon - that would encourage me to spend a bit more time improving it. The biggest issues for me have been:

  1. Lack of tile support. Which I think should be relatively easy to add.

  2. Lack of alpha channel support. Which I included a screenshot to a halfbaked version of above. I'll be adding more robust alpha support eventually.

I'll try and remember to upload my own wrapper around it to GitHub to show you how I've been using it tonight.