Python Forum
Cool game made with pygame
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cool game made with pygame
#1
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
Talbot9 and kabeer_m like this post
Reply
#2
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.
kabeer_m likes this post
I welcome all feedback.
The only dumb question, is one that doesn't get asked.
My Github
How to post code using bbtags


Reply
#3
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?
Reply
#4
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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Clicker Game with pygame CrazyMakes 0 2,722 May-26-2020, 07:47 PM
Last Post: CrazyMakes

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020