Python Screencast: Using Sprite Sheets and Drawing the Background
To run the code for this screencast, you will need to have a data subdirectory containing the Arinoid sprite sheet file. You can easily fulfill this requirement by downloading the arinoid source from the post on Arinoid. Also, this will be needed for most, if not all, of the upcoming screencasts. Note that this video does not stream in the player above (unlike most of our ShowMeDo videos), due to a problem with the SWF file. You can play the original SWF file by clicking on this link. If you want to follow along the screencast, you will need an image editor that will allow you to select subregions of images and get the size and location of the selected subregion. To do this, I use The GIMP, a free and full-featured image editor. Of course, you can use any image editor that you're comfortable with. In fact, I would love to know about your image editor suggestions! By the way, once you view the screencast, you may notice that I select regions using The GIMP's Crop and Resize Tool. Although it does the job, I still think that there's a tool that's more appropriate for the job (any suggestions?). Resources: the wiki. If you like this video and you'd like to encourage Chuck, you can leave a comment for him here and vote for the series over at DZone.com.