11

A game similiar to Galaga written in Python 3 using Pyame library. The code is well documented and I will continue to add new features. Any collaborations or suggestions are appreciated and I can explain parts of code if someone is interested.

Project Type
Existing open source project
Summary

A game similiar to Galaga written in Python 3 using Pyame library. The code is well documented and I will continue to add new features. Any collaborations or suggestions are appreciated and I can explain parts of code if someone is interested.

Description
For more information on the code and how to run the game, checkout the GitHub repo's README. https://github.com/goswami-rahul/alien-invasion-game
Tech Stack
Python 3, Pygame library
Current Team Size
1
URL
Comments
  • 0
    Uhh Pygame...
  • 0
    Are there any other game libraries in Python?
  • 1
    I recommend Pyglet, its really fast compared to Pygame thanks to the OpenGL bindings. I started out with Pygame and found it running short on performance on bigger projects.
  • 0
    Thanks @rkajaste . Is moving from Pygame to Pyglet in an existing project feasible?
    I mean are their APIs mostly same or do I have to code everything again if I switch?
  • 1
    @RahulGoswami it is similar, but you need to write most of the code around, including collision (Pyglet does not have it built in like Pygame has). If it is a game with static background and not side-scrolling, you will probably be fine with Pygame though. Sorry for late reply.
  • 1
    I made a transfer from existing Pygame project to Pyglet myself (~1200 lines) and it ended up getting even bigger, because I had to write my own collision and other small stuff.

    It is definitely harder and starting out with it can be difficult because the community is pretty dead (a lot of documentation reading).

    It took me maybe.. few weeks to make the transfer. It really depends on the complexity of the game. A simple game could take like only a week if you are good.
  • 0
    Thanks!
  • 0
    @rkajaste If you could help in the project to make some changes to make me familiar, it would be great. I can start a new branch for this. Checkout the code once.
  • 1
    @RahulGoswami I'll take a look if I get some free time, not sure when. So busy with uni and other projects.
Your Job Suck?
Get a Better Job
Add Comment