Sprite Organization
Posted: Fri Apr 13, 2018 3:04 pm
What are some ways to organize sprites and display them in a game?
Currently, I've been drawing a full sprite (via copy and paste and then changing expressions/some posing) and just showing/hiding the character as I go through the story. Is that effective?
I've also noticed that some games make use of parts of a sprite, like they'll have a base face, then change only the part that is affected to make a new expression or pose. This gives more options, but with so many pictures/options, would this slow down the game? I haven't tried this method yet, but it seems like I'll need several lines of code to show the image of one character in one expression.
Are there other (better) ways of showing a sprite in a game?
Every time I try to make a game, I run into a "trap" of wanting to have more expressions each time I feel like the character should be making a different face. (ex: a character can have several stages of anger, starting from annoyance. I would think I shouldn't draw more than one stage of anger, but I am tempted to draw all stages.) Is there a good way to combat this? I tried starting with a list of expressions this time, but I'm still pretty unhappy with how few expressions I seem to be able to express.
Currently, I've been drawing a full sprite (via copy and paste and then changing expressions/some posing) and just showing/hiding the character as I go through the story. Is that effective?
I've also noticed that some games make use of parts of a sprite, like they'll have a base face, then change only the part that is affected to make a new expression or pose. This gives more options, but with so many pictures/options, would this slow down the game? I haven't tried this method yet, but it seems like I'll need several lines of code to show the image of one character in one expression.
Are there other (better) ways of showing a sprite in a game?
Every time I try to make a game, I run into a "trap" of wanting to have more expressions each time I feel like the character should be making a different face. (ex: a character can have several stages of anger, starting from annoyance. I would think I shouldn't draw more than one stage of anger, but I am tempted to draw all stages.) Is there a good way to combat this? I tried starting with a list of expressions this time, but I'm still pretty unhappy with how few expressions I seem to be able to express.