Skip to content

JKodes/Asteroid-Game-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asteroid Game

Project Description

Asteroid is an arcade game from 1979. Players navigates a spacecraft through space while avoiding asteroids. You the player must dodge or shoot and destroy asteroids if none of previous action are done that would lead to collisions.

What was your motivation?

The motivation behind building this game was to restore a sense of childhood at a convenience for me. As we were creeping out of the pandemic, I had no job or internship opportunities due to the world shutting down. This led to a period of unemployment and no income. During lockdown, I started playing games for many hours each day and began taking trips down memory lane to classic games. I wanted to play the classics but on a budget and without needing an internet connection to access them through a browser. Additionally, I didn’t want to spend money as I was a new graduate with two years of unemployment(started making the game in 2022). I pitched myself the idea of making games from scratch. My favorite programming language is Python, and it just so happens that some genius created a Python game library called Pygame. I started researching got to coding, and the rest is history. Now I have a nostigalc game under my full control I can alter it to my likings Here's an image of the game: Screenshot 2024-05-31 at 11 14 42 PM

Why did you build this project?

I built this game base off desire and curiosity. Building this remake of Asteroid gave me a different kind of appreciation for game developer. Deep-diving into this avenue of programming was so stressing but I gained some resilience an a new side hobby for the weekends. I would’ve never knew that I would have to cross path with Photoshop again until I had to cut out the sprite’s single handedly for the game.

What did you learn?

Learn about Sprite classes. A sprite class has the basic functionality needed to manage a sprite, such as loading an image, updating its position, and drawing it on the screen.

Also learn how to rotate images using a function called blit_rotate_center in Pygame. Its use to rotate an image by a specified angle and then draw it on a display surface while keeping it centered at its original position.

Credits

Shoutout: Joe Strout for the sprites you can find the exact sprites used in this project: https://opengameart.org/content/asteroids-vector-style-sprites

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages