This project has been deleted.

Space Game

Space Game Used AI

5 devlogs
7h 56m
•  Ship certified
Created by Ahmed Hamza

Hey, I’m a beginner trying to learn coding, and this was one of my first projects. I used Pygame to create a space-themed game. The player's main goal is to get as many points as possible, and the score is displayed in real time.

I used AI only to understand how certain Pygame commands work. I also watched a general structure on YouTube, but I tried to keep the implementation my own, as I only wanted a basic idea to start with.

By the end, PyInstaller gave me a lot of issues, which took me many hours to fix. I ended up creating an .exe file, but it didn’t work as a standalone. So, I created another function at the end (you can see it in my repository) to help with this.

This project may not be that good for some of you, but it is a huge milestone for me, as I plan to pursue coding further.

Happy Coding!!!

Timeline

Ship 1

0 payouts of shell 0 shells

Ahmed Hamza

25 days ago

Ahmed Hamza Covers 5 devlogs and 7h 56m

final devlog, pyinstaller did so many issues and it took me literal hours to fix it somehow, its still not totally fixed but i got an .exe file, i added sound effects, background music, and the collision detection but this time between the player and the ghosts, i would appreciate yalls support!!!

Update attachment

Added a collision system of the bullet and the enemy, Moreover added multiple enemies, in total 6 which are correctly spawning at random locations, Also fixed the random bugs i encountered throughout the journey!!!

Update attachment

changed enemy face, added a proper colorful background, the enemy's y axis goes down once it reaches a border till it comes down to the player, added the option where the player can fire a bullet, background was created from chatgpt, the other images were imported from google

Update attachment

Added an enemy by importing the png image, iimported the random library to create randmozed coordinates for the ghost which makes it appear not too close to the player but also keep it in the screen

Update attachment

Created a window with proper dimensions, moreover, added the main player which can be moved using the right and left arrow keys

Update attachment