Game Programming at scriptedfun

Game Programming for Beginners: Video Tutorials, Source Code, and Articles

Subscribe via e-mail!

Enter your email address:

Delivered by FeedBurner

Entries for the ‘pygame’ Category

Arinoid with Sound

Arinoid now has sound! I think that sound plays a very important role in the overall game experience, and I hope that you will all like this minor update. Download Arinoid with Sound. Requires Python and Pygame. The sounds were taken from Flashkit, which I think is a fantastic resource for game developers looking for […]

Comments (2)

Video Tutorial 4 – Arinoid – Ball Physics

At last, video tutorial 4 is here! I would like to apologize for the terrible delay, and thank you so much for your patience! You may notice some mistakes in the screenshots though – in particular when the code that converts between integers and floating point numbers is displayed. The highlighted code is correct, but […]

Comments (12)

Transcript 3 – Arinoid – The Paddle

Hello and welcome to scriptedfun.com screencast number 3. Today, we will continue building our game Arinoid by adding a paddle. We will use the paddle to deflect the ball, and we want to be able to control it using the mouse. The paddle image is contained in our sprite sheet. However, the image spans two […]

Comments (1)

Video Tutorial 3 – Arinoid – The Paddle

Finally! Today, we will be adding the first sprite in our game, the paddle, which is controlled using the mouse. At this point, we will be able to benefit from the setting-up that we have done in the first two screencasts.

Comments (11)

Transcript 2 – Using Sprite Sheets and Drawing the Background

Hello again and welcome to scriptedfun.com screencast number 2. Today, we are going to look into using sprite sheets and drawing the background for the game Arinoid. The graphics for Arinoid were all taken from a single bitmap file called a sprite sheet. We have to find a way to extract the graphics that we […]

Comments (5)

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.

Comments (7)

Transcript 1 – Making a Barebones Pygame Program

When I posted the second screencast, I mentioned that I haven’t been able to post this transcript yet. Thanks to the Post Timestamp feature of WordPress, I was able to position this entry earlier than the said screencast, even though I posted that first :). For the record, this was posted later than the second […]

Comments (6)

Video Tutorial 1 – Making a Barebones Pygame Program

I think that it could be easier to learn game programming through a video tutorial – you’re actually able to see the code unfold before your eyes, with audio explanations – rather than through reading – although I think that reading is great and won’t be replaced anytime soon. Probably 90% of what I know […]

Comments (16)

Arinoid – an Arkanoid clone

For our first game, let’s try to write an Arkanoid clone. The graphics in the game were taken from the freely available Spritelib by Ari Feldman.

Comments (9)

Subpixel Rendering for Pygame

Will McGugan has just posted some Pygame code that will allow subpixel rendering, which should allow Pygame developers to render smooth looking graphics using software rendering only. I haven’t tried the code yet, although it says in the post that the rendering should be as fast as ordinary blits, but more memory will be taken […]

Comments (2)

PyWeek 4

From the PyWeek website: The next challenge is PyWeek 4, which will run in the first week of April. Register NOW! The PyWeek challenge: Invites entrants to write a game in one week from scratch either as an individual or in a team, Is intended to be challenging and fun, Will hopefully increase the public […]

Comments (2)