New answers tagged design-patterns
2
votes
How to handle duplicate logic in a state machine for a platformer player?
Keep in mind that there is not a single one way to go about this.
If the issue is how to reuse behavior. I want to encourage to separate state and behavior in your mind.
Yes, there is an state machine....
1
vote
Accepted
Top 50 recent answers are included
Related Tags
design-patterns × 312architecture × 124
c++ × 49
unity × 37
c# × 36
software-engineering × 30
game-design × 27
entity-system × 19
java × 17
component-based × 14
xna × 13
javascript × 12
oop × 12
ai × 10
libgdx × 8
turn-based × 8
data-structure × 7
memory-efficiency × 7
networking × 6
rpg × 6
events × 6
databases × 6
objects × 6
game-loop × 5
actionscript-3 × 5