Getting Images for Your Games

When you think about your favorite video games, what do you see in your mind? Whether you’re thinking of Angry Birds, Mario Kart, or Pac-Man, you’re probably thinking of the memorable art in the game. Your games will need art, and so do the games in this book.

Maybe you’re an artist, or you know one who wants to make art for your games. If so, great! But if not, don’t despair. There is plenty of art online, and much of it is free for you to use in your games. There is a list of some excellent sources in Images and Sounds, and you’ll find much more if you search the Internet.

The art for Whack-A-Ruby comes from the website http://www.openclipart.org. The images of a ruby and a hammer are in PNG format, which works ...

Get Learn Game Programming with Ruby now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.