• You've discovered RedGuides 📕 an EverQuest multi-boxing community 🛡️🧙🗡️. We want you to play several EQ characters at once, come join us and say hello! 👋
  • IS THIS SITE UGLY? Change the look. To dismiss this notice, click the X --->

Any programmers know how to make sprites? (1 Viewer)

everdead

Member
Joined
Feb 21, 2006
RedCents
I am starting to learn how to use the XNA lab and need to learn how to make a generic sprite. I can't seem to find any good tutorials on how to make them I have photoshop that I am installing at the moment and would appreciate any help.
 
You make a picture, make the picture in a different pose, then do it over and over?
Sprites are just a bunch of jpg's that all altered slightly from one another to give the picture the appearance of motion.
 
Greenyoda said:
You make a picture, make the picture in a different pose, then do it over and over?
Sprites are just a bunch of jpg's that all altered slightly from one another to give the picture the appearance of motion.
Sprites don't necessarily have to be animated, either; a sprite is a discrete graphical entity that can be displayed in different locations on the screen.
Wikipedia said:
In computer graphics, a sprite (also known by other names; see Synonyms below) is a two-dimensional image or animation that is integrated into a larger scene.

Sprites were originally invented as a method of quickly compositing several images together in two-dimensional video games using special hardware. As computer performance improved, this optimization became unnecessary and the term evolved to refer specifically to the two dimensional images themselves that were integrated into a scene. That is, figures generated by either custom hardware or by software alone were all referred to as sprites. As three-dimensional graphics became more prevalent, the term was used to describe a technique whereby flat images are seamlessly integrated into complicated three-dimensional scenes.

An example of sprite animation from the popular game The Legend of Zelda: The Wind Waker. In this frame the sprouts of grass and brown puffs of smoke are integrated into the scene using sprites. Other objects in the frame such as the character (Link), the flower just behind his feet, and the rock walls and ground are more complicated three dimensional objects that employ texture mapping.

A closer look at the graphic can help reveal imperfections of this rendering technique. Take a look at the puffs of smoke about the character and to the left. Notice that one sprite at the bottom of the largest puff of smoke is cutting into the ground, revealing its actual geometry is not an amorphous puff but a flat plane. Also notice that the grass near his feet is interacting with the flower near his feet in a strange way. The base of the grass is closer to the camera than the flower yet the blades appear to be behind. For this to be a correct perspective the grass would have to be leaning toward the ground away from the camera at an obtuse angle. Even though the original image that created the grass sprite was clearly created using textured polygons, it is being added to this scene as a sprite. These imperfections escape the notice of most viewers because they are rare, and often do not last very long as they and the camera move.

More often sprite now refers to a partially transparent two dimensional animation that is mapped onto a special plane in a three dimensional scene. Unlike a texture map, the sprite plane is always perpendicular to the axis emanating from the camera. The image can be scaled to simulate perspective, it can be rotated two dimensionally, it can overlap other objects and be occluded, but it can only be viewed from the same angle. This rendering method is also referred to as billboarding.
 
Any programmers know how to make sprites?

Users who are viewing this thread

Back
Top