New answers tagged

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....
user avatar
  • 18.5k
1 vote

Implementing ability system with ability parameters

Make subclasses: ...
user avatar
  • 114k

Top 50 recent answers are included