Sprite

Quick definition:A sprite is a two dimensional graphic treated as a distinct visual object in a game, often representing a character, item or effect that can move independently of the background.

Meaning

A sprite is a distinct two dimensional image used as a visual object. Characters, pickups, effects and decorations can all be represented this way. A game can position, rotate or resize a sprite and display it over other imagery. Animation commonly uses a sequence of images, though visual changes can also create movement or expression.

The term has hardware and software meanings. Earlier graphics systems could handle particular images separately through dedicated display features. Modern engines can treat sprites as software objects without requiring the same hardware arrangement. Sprite sheets store several images together, allowing a game to select individual frames or graphics from one larger image resource.

Sprites are not limited to pixel art. They can use smooth illustrations, rendered images or other artwork, and they can appear within three dimensional environments as flat visual elements. The sprite describes presentation rather than all the object's behaviour. Movement, collision and interaction may be handled by separate systems, so the visible image alone does not establish what objects can do or touch.

Origin:Sprite is an older word for a spirit or small supernatural being that was adopted in computer graphics for independently displayed images. The detailed naming history includes particular hardware developments, but the exact first gaming use is unclear. Games used sprites for moving characters and objects, and the term continued in software graphics after its original hardware associations became less central to everyday development.
Example:An artist draws a small fox for a side view game and prepares several images of its walking motion. The game displays the fox as a sprite, moving it across the background and switching images to animate its legs. A separate sprite represents a falling leaf. Both are visual objects, while collision rules independently determine whether the fox touches the ground or interacts with the leaf.
Did you know?A sprite's visible shape need not match its collision shape. The artwork can contain transparent areas or detailed edges while the game uses a simpler region for contact. Changing the sprite image therefore does not automatically change where an object can be hit, touched or stopped by another object.