7DRL - Day 3

Today was a day of wins. Things I got working:

  • Player input
  • Windowing system
  • AI
  • World-based background colouring
  • Positions incorporating inter-universe travel
  • Field of View (even via portals)

Currently the player and AI work on basically the same system which is maybe the most complicated bit of code. The windowing system works well and is just a lot of recursion. It would have been nice to have all this done before the 7DRL, but time wasn’t on my side.

The trickiest work was getting Field of View to work even if it crosses potentially multiple portals. The topology of the space got involved when you had to be careful that you can’t adjudicate position plus a delta if that delta involves both axes… Basically going up and to the right might send you to a different universe than going right then up!

Tomorrow I’ll add things to maps and then it’s gameplay from here on!

I’m pretty pleased at my progress. I’ve kept up a bit of family time, and I’m doing leagues better than my 7DRL attempt a few years ago. I don’t know if I’ll finish in time, but I’ll be happy with what I have.

Leave a comment

Log in with itch.io to leave a comment.