pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
Asteroids

Asteroids - 5.0.0

Ian Mallett (geometrian)

Tags:

Description


This is a recreate of Asteroids with better graphics.

info:
I made version 1.0 in < one day.
The controls are arrow keys to move, spacebar to shoot, "s" to shield, "b" to drop bomb
You get one life, and then it restarts at level 1.
There are an infinite number of levels!
firing takes a small but significant amount of rechargeable energy.
A beautiful explosion which took me a while to do
the spaceship is based on a graphic someone made of a star trek vessel.
.jpg makes the screenshot low-quality. Better in reality
the bullets are UV Beta pictures of the sun

Changes

I've added bombs, further display infos, fixed some minor collision detection errors, etc.

Links

Home Page: http://geometrian.com/programming/index.php

Screenshot


click to view original size

Releases

Asteroids - 7.1.0 - May 10, 2008
Asteroids - 6.0.0 - Oct 20, 2007
Asteroids - 5.0.0 - Oct 20, 2007
Asteroids - 4.0.0 - Oct 13, 2007
Asteroids - 1.0 - Oct 8, 2007

Pygame.org account Comments

If you wish to leave a comment with your pygame.org account, please sign in first.

May 12, 2008 5:41pm - Ian Mallett - nickname: (geometrian)
It's not. The game is mostly the same, but I've bumped the running framerate from 200fps to 60fps. You can't tell the difference, but it means that subsequent levels don't slowly degrade performance. The code is better too--optimized and clear. For this release, I focused mainly on "upgrading" this code rather than changing game elements.
May 12, 2008 11:59am - pymike - nickname: (pymike) - 4/5
Nice new code. Gameplay doesn't feel any different though.
May 10, 2008 9:05pm - Luca Fabbri - nickname: (keul) - 3/5
Explosion are really great.
May 10, 2008 6:43pm - Ian Mallett - nickname: (geometrian)
Version 7.1.0 released!
December 1, 2007 1:03pm - pymike - nickname: (pymike) - 4/5
Great game! I had fun playing it. Gave me some great ideas for my asteroids game.
October 20, 2007 9:13pm - Ian Mallett - nickname: (geometrian)
Version 6.0.0 released!
October 20, 2007 7:04pm - Ian Mallett - nickname: (geometrian)
Version 5.0.0 released about 2 hrs ago.
October 17, 2007 9:19pm - Ian Mallett - nickname: (geometrian)
It runs fine on newish hardware (Me: 2 gigs ram, 1.7GHz dual core), so I can see where older machine would run it slower. Luckily, I put most of the speed constants at the top, so you could just double them all. I'm not sure what you mean by "earthshaker"?
October 17, 2007 9:11am - Evan - nickname: (evdude) - 3/5
very slow, but graphics are good. where did you get the earthshaker?
October 13, 2007 6:55pm - Ian Mallett - nickname: (geometrian)
Version 4.0.0 released!
October 9, 2007 10:55pm - Ian Mallett - nickname: (geometrian)
I made the explosion by taking a (about) 30 frame animation...

http://www.bestanimations.com/Military/Explosions/Explosions4.html
(incidentally, this page contains a lot of annoying ads).

...and using Animation Shop Pro and Paint Shop Pro to save each frame as a low size .png with a mask for the transparent parts. They're in the directory Self_Explode. I then play the explosion at about (1 explosion frame)/(3 game frames) or something like that.

As for Astrocrash, I must say that the reason I decided to make this is because of Astrocrash. Astrocrash particularly inspired me because it has many things that I hoped could be improved, (less than spectacular explosions, physics, etc.), and according to the page you mentioned, Astrocrash is a dead project. Besides, simple games like this should be made by every programmer, as a learning experience. I realized I hadn't, and, though I didn't learn much new, I had fun.

The game concept is neither of our original ideas. It has been around under the name "Asteroids" since the dawn of graphical computers. I'm all for the Open-Source movement, but if you want me to say it, the only thing I took from Astrocrash is the image for the Asteroid.
October 8, 2007 11:13pm - Anonymous - nickname: (pywiz32)
P.S. how do get the seperate frames for a gif image?
October 8, 2007 11:07pm - Anonymous - nickname: (pywiz32)
nice :)

I was making a version of Astrocrash like this, but then came up with something else, and never touched it again.

Please link this page to the ariginal astrocrash, please.

Here is the link: http://www.pygame.org/projects/20/182/

also give at least credit to all the people that made the original atrocrash for the idea.
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Nov 13, 2014

Nov 11, 2014


Nov 10, 2014

Nov 9, 2014

Nov 6, 2014


Nov 4, 2014

Nov 3, 2014

Oct 28, 2014

Oct 21, 2014

Oct 16, 2014

... more!
 
for pygame related questions, comments, and suggestions, please see help (lists, irc)