Video Tutorial 2 – 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.
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. Can you help me out on this :)?
I know I haven’t posted the transcript for the first screencast yet ;), but I plan to do so soon, and the same goes for this screencast :).
June 19th, 2006 at 8:32 am
[…] scriptedfun.com game programming walkthroughs « Screencast #2 – Using Sprite Sheets and Drawing the Background […]
July 21st, 2006 at 7:18 pm
I think you have done a wonderful job with these and other screencasts! I learned so much about coding style from them. Are you planning to continue? I have enjoyed them all so far so I hope more are coming!
Alex
April 12th, 2007 at 8:36 am
[…] Original post […]
June 27th, 2007 at 9:02 pm
ok im retarded or very very close I have the file arinoid master do i have to save it to a certain folder? because the game can’t find it and im so noob its ridiculous great videos i get the blue screen part lol but i cant load from (arinoid master.bmp)
plz just tell me what i need to do
July 24th, 2007 at 8:01 pm
Fantastic! I know it’s over a year since you posted these screencasts, but I have to express my gratitude for them. They’re the best introduction to Pygame and general game programming that I have found so far. And it uses Arkanoid as the basis! How perfect is that?
Thanks!
December 21st, 2007 at 9:31 pm
First i want to applaud you! you are doing a great job. Some things are not so python like, you should use % instead of / and * and if you where to use / and * it really should be // and * to be cretin. and one last thing you should use “if colorkey” instead of “if colorkey is not None”
All this is how ever my opinions. And i really think you have done a great job.
May 7th, 2008 at 6:07 pm
Thank you so much for this terrific tutorial. I’m learning Python+Pygame to share with my Computer Science students (High School.) I like the way you suggest that some of these tools generalize, such as the spritesheet + tiling leading to tiling games. Nice.