Day 1 Progress
Probably some of the better progress I've made on day one of pyweek so far; also the first time that I've gone completely OOP in my game (I've used classes before now, but only with a healthy dose of structured code).Features so far though:
- Pathfinding - I coded this about an hour before the start, so I was able to remember how it worked to recode it fairly quickly once had pyweek started properly - without the broken heuristics I had before...
- Workers Slightly randomise their path, so they don't always take the same route
- Workers - they can't do a huge amount yet
- Buildings - can be placed, and the pathfinding recognises them and doesn't allow movement through them
- Resources - Just an outline so far to be honest
11 files so far, got into a habit from Java and really hard to let go of...Ah well, as long as progress is good. Screenshot below is from a bit earlier when I didn't have images: