pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
Asteroids 2: The Vector

Asteroids 2: The Vector - 2.0.0

Ian Mallett (geometrian)

Tags:

Description

This is a vector graphics version of asteroids. I made v.1.0.0 in less than one day, and late at night, so obviously this game is neither perfect nor incredibly impressive. Still, it is kind of fun.

I decided to make an asteroids game just because PyMike has so many. Remakes are OK to do, but they just aren't as thrilling as making a game the first time, in my opinion. This scientific experiment proved that, at least for me...

As you may have guessed by the name and the screenshot, this is not the next version of my previous Asteroids game: http://www.pygame.org/project/506/ ; It is a SEQUEL.

Have fun!

Technology

This program features:
-Vector Graphics
-Anti-Aliased Asteroids
-Particle Systems (see screenshot)
-Perfect Ship/Bullet/Asteroid Collision Detection
-FPS regulator for constant framerate.

Controls

CTRL, SPACE, x, z, ENTER = Fire
Left Arrow = Turn Left
Right Arrow = Turn Right
Forwards Arrow = Accelerate Forwards
Backwards Arrow = Slow Down

Changes

-Added asteroids with sides of 3-8
-Made perfect collision detection with each asteroid.
-Made it so you can't see particles through yourself.
-You get a life after every five levels
-Added a timer, and so a constant framerate. The max framerate I got was in the 400s, so I set the framerate at 200. That way, the framerate shouldn't drop until like level 25 or so.

Links

Home Page: http://geometrian.com/programming/projects/index.php?project=Asteroids%20II%20-%20The%20Vector

Screenshot


click to view original size

Releases

Asteroids 2: The Vector - 4.0.0 - Nov 11, 2013
Asteroids 2: The Vector - 3.0.0 - Feb 29, 2008
Asteroids 2: The Vector - 2.0.0 - Feb 29, 2008
Asteroids 2: The Vector - 1.0.0 - Feb 26, 2008

Pygame.org account Comments

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

November 11, 2013 12:40am - Ian Mallett - nickname: (geometrian)
Version 4.0.0 released!
February 29, 2008 8:28pm - pymike - nickname: (pymike) - 5/5
I'm jealous of your math skills... ;)
February 29, 2008 7:48pm - Ian Mallett - nickname: (geometrian)
Version 3.0.0 released!
February 29, 2008 5:53pm - pymike - nickname: (pymike) - 5/5
Wow! Getting even better! Thanks for letting me use your awesome collisions!
February 29, 2008 3:46pm - Wil Alvarez - nickname: (satanas666) - 4/5
Hey very cool game. I love the particles effect... Boost it's pretty amazing :D

Suggestions:
- Explosion effect for the spaceship when it smash against an asteroid
- Invincibility time when you're appearing on screen after a crash
- A nice message that works like intro for each level
- Maybe a little of color for the boost particles (some kind of orange could be)

Overall great game! And i'll tell you again... I really love your game physics
February 29, 2008 3:00pm - Ian Mallett - nickname: (geometrian)
Version 2.0.0 released!
February 28, 2008 5:32am - publeo - nickname: (publeo)
yes it's "pygame.time.Clock()", pymike uses it for his Asteroids follow up.
Thanks for the code anyway! I'm busy writing a first python game myself, always great to see the way others make their games!
February 27, 2008 5:23pm - Ian Mallett - nickname: (geometrian)
Theoretically, after a certain point, processor speed doesn't matter much because the display must catch up. I have no timer, but it would be easy to add one. I think it's the pygame.time module?
February 27, 2008 9:22am - publeo - nickname: (publeo) - 5/5
great game, neat code! one thing i'm interested in is do you use a timer or runs the game twice the speed if my computer is twice as fast, i couldn't find a timer or something like that. realy like your work anyway!
February 26, 2008 8:34am - pymike - nickname: (pymike) - 5/5
Yay! Asteroids! A very different sort of asteroids though.. interesting concept. Beautiful vector graphics! I want to make an asteroids game now! ;-) Nice work!
February 26, 2008 2:20am - Ian Mallett - nickname: (geometrian)
Version 1.0.0 released!
spotlight

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


Apr 13, 2014

Apr 9, 2014

Mar 18, 2014


Mar 15, 2014


Mar 14, 2014

Mar 13, 2014

Mar 11, 2014

Mar 9, 2014

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