Skip to content

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?

5 points6 comments
Open on Reddit
About this post
Posted
Archived
Score
5 · 100% up
Kind
Text
ID
17cmlq4

Author

19
posts
53
comments
1
media
View profile

6 comments

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.

1 points

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.

1 points

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.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.