Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Comments
-
rkajaste98334dI 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.
-
RahulGoswami22334dThanks @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? -
rkajaste98330d@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.
-
rkajaste98330dI 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. -
RahulGoswami22329d@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.
-
rkajaste98327d@RahulGoswami I'll take a look if I get some free time, not sure when. So busy with uni and other projects.
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.
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.