Tagged Questions
5
votes
3answers
636 views
How to update entity states and animations in a component-based game
I'm trying to design a component-based entity system for learning purposes (and later use on some games) and I'm having some troubles when it comes to updating entity states.
I don't want to have an ...
10
votes
2answers
1k views
Data-driven animation states
EDIT: To clarify what exactly my question is: is this a good way to handle animations / animation state in a game engine with the eye on content creation / management? What are the flaws in doing it ...
2
votes
2answers
275 views
How do you handle animations that are for transitioning between states?
How does one usually handle animations that are for going between a game object's states? For example, imagine a very simple game in which a character can only crouch or stand normally. Currently, I ...
9
votes
2answers
529 views
Good practices in screen states management?
I wonder what are the best ways to organize different screens in a game?
I am thinking of it like this:
Inheriting a base State class, and overriding update and render methods, to handle the current ...
7
votes
1answer
468 views
How to represent a game character in code?
In a previous game I wrote I had a game character class. This class tracked the location, velocity, and a set of states. Except the states were tied very close to the animation. Each state would have ...