Event_4_Game_On.

General questions and research.

1.What is a game character sprite sheet?

Okay, first let us look at what is a sprite. a sprite is a rectangular image with a certain width and height in pixels, for instance, 140px x 140px for each pixel. For each pixel, a amount of memory is used to save its colour depth, which is by default 32bit.

Depending on your graphics hardware you can only use certain sizes, so sometimes your sprite must be filled with unused pixels to match hardware constraints. This can increase memory usage.

So if we use the wasted memory by packing more sprites into that space (empty), this is then referred to as a sprite sheet.

In conclusion, a game character sprite sheet must then consist of the different states of the character movements(run, walk, jump, idle, swim, climb, crouch etc.)

In the example below is the Character Rossi from the old arcade classic Metal Slug’s complete sprite sheet.

Arcade - Metal Slug - Marco Rossi

in some of the characters movement, we can see only the torso in its different states, this is due to the lower leg movements staying the same depending on if the character is walking or running while doing an action.

1cbf0a722d57a0b496afe53430c2211ee131741f588d9e547a8c03c066cf1bce

 

2.How many instances does a game object sprite sheet such as a hero character have?

I think this depends on the number of movements that your character can perform during the game. So for instance, if your character can move only up, down, left and right, walk, run and jump. you would have to build out those sprite sheets individually per movement or action your character performs.

3.Best Practices for creating a game object sprite sheet?

This has been made easy with some software (Adobe Animate CC 2017) that can after you created and animated your character, export those movements as sprite sheets with the necessary code that your gaming engine uses to read those file, already included. YAY! thank god for that!

References:

Creating a 2D sprite

Unity Scene Memory Allocation on Sprite Sheets with Multiple Object Instances

Adobe Create a sprite sheet

50 Tips for Working with Unity (Best Practices)

giphy

 

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s