Python Forum

Full Version: Cool game made with pygame
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,
I've finished my game which gonna be in my python programmer portfolio. I did my best but it's my first project and I'm not sure if it's well done. For example I'm not sure if I share data between game states and object in the correct way(ShareData object). Could someone review my code and check if I did something wrong what shouldn't be done? https://github.com/Mikaspe/6.Space-War
First I want to say good job.
When trying your game I did so with python versions 3.9.7 and 3.10.
The game starts fine but, when destroying the ships, the explosion sequences leaves the the final frame.
After clearing the screen of ships, it will not move past this screen. (See images below)
Again great job.
I'm very glad that someone answered, thank you Smile I fixed bug with upgrade menu, just forgot to change some constant. Now I wonder why do you have another bug with explosion animations, because I run game on Windows and it's working well. I made some very good optimisation in explosion logic(thanks to you, because I'd never see that if u didn't mention about explosion bug), could you try it again and check if there's still a problem?
Hi I'm new to python and I having a go at this same game looks like you have cracked it well done hope I manage to I'm about 2/3 the way through now