Chapter 11, Bitmap and Sound

Today we are going back to Pygame to go over how to use bitmap images and sound.

Please download the following files for the tutorial, do not use any other files than the ones below:

http://10.3.30.107/resources/coding/saturn_family1.bmp

http://10.3.30.107/resources/coding/player.bmp

http://10.3.30.107/resources/coding/laser5.ogg

Since pygame only really accepts .BMP, we will go over how to convert image file format using Adobe Photoshop. And we will go over how to convert .MP3 or any audio to .OGG using:

http://audio.online-convert.com/convert-to-ogg

Follow along below:

http://programarcadegames.com/index.php?chapter=bitmapped_graphics_and_sound&lang=en#section_11

As usual, after the tutorial, please submit your file to the server when done.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s