1. Home
  2. Computing & Technology
  3. Ruby

Loading and Displaying Your Sprite

By Amanda & Michael Morin, About.com

1 of 5

Now that you know how to load and display a background image in Rubygame, it's time to move onto other graphics, like sprites. A sprite is a smaller graphic displayed on the screen, usually representing the part of the game like the player's ship in Space Invaders or Pac-man in any of the Pac-man games. Backgrounds usually remain static, while sprites can move around and be animated.

Before getting started, be sure to download the part 2 example files. This is a different file than the previous articles, so you'll need to download the file linked to above.

Explore Ruby
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Ruby
  4. Tasks & Scripts
  5. Game Programming
  6. Loading and Displaying Your Sprite

©2009 About.com, a part of The New York Times Company.

All rights reserved.