Recommended reading/viewing for learning theory behind programming for turn-based d20-style CRPGs?
I'm looking to learn a bit more about how to handle the programming for turn-based combat, various approaches to it, and what methods are better suited to certain situations.
Any recommendations for good insights that aren't going to show up in the most common related google searches?
About this post
- Posted
- Archived
- Score
- 5 · 100% up
- Kind
- Text
- ID
- 17cmlq4
6 comments
State machines
Thanks!
+1
https://gameprogrammingpatterns.com/contents.html
Honestly, I'd say to just get your game working rather than worrying a whole bunch about small code details that might be considered bad. I think a lot of people get stuck at this point trying to code things "right" and it makes them abandon their project.
If you need to use a Singleton to get your enemy targets, just do it.
Once your game is working, you can start refactoring.
Ask ChatGPT about it, have a conversation, you will be surprised. It has so much knowledge, and basically can distill and synthesize 100000s of google searches, reddit reads, etc. into a cohesive answer.
Skim the chapter titles of Game Programming Gems books. Maybe one will sound useful. Try searching for GDC talks for the games in this genre. Lookup who made the game, then ask them on LinkedIn what they recommend.