ThePythonGameBook

learn Python. Create Games

User Tools

Site Tools


en:pygame:step008

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:pygame:step008 [2014/01/09 11:07]
127.0.0.1 external edit
en:pygame:step008 [2015/07/18 19:39] (current)
Horst JENS [Step 008 - Animation]
Line 7: Line 7:
 Instead of painting all the single pictures of an animation cycle myself, I prefer to use ready-made sprite sheets. Instead of painting all the single pictures of an animation cycle myself, I prefer to use ready-made sprite sheets.
  
-In the data folder, you will find a spritesheet((a graphic file with lots of sprites)) from Ari Feldmann'​s Spritelib ( http://www.flyingyogi.com ) showing several pictures of an animal. If you use Ari's sprite'​s,​ make sure to include his [[:​en:​glossary:​s:​spritelib_license|license information]] in your program.+In the data folder, you will find a spritesheet((a graphic file with lots of sprites)) from Ari Feldmann'​s Spritelib ( http://www.widgetworx.com/​spritelib/ ​) showing several pictures of an animal. If you use Ari's sprite'​s,​ make sure to include his [[:​en:​glossary:​s:​spritelib_license|license information]] in your program.
  
 With the help of pygame'​s subsurface command, I will show you how to extract single images from the sprite sheet and use them. With the help of pygame'​s subsurface command, I will show you how to extract single images from the sprite sheet and use them.
/var/www/horst/thepythongamebook.com/data/pages/en/pygame/step008.txt ยท Last modified: 2015/07/18 19:39 by Horst JENS