Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

My first game: Python using pygame vs. Java using lwjgl?

My game would be a simple 2D tower defense type game. It should have some animations and sounds. I've only learned Java so this seems like a huge plus for choosing that option. But I'm fairly new to programming so i suppose it wont be a huge problem to switch.

From my limited research, either Python using pygame or Java using lwjgl seems to be best suited for my kind of game.

What are your thoughts? Benefits of one over the other? Other suggestions?

like image 217
Simon Avatar asked Sep 20 '26 05:09

Simon


1 Answers

Java + LWJGL is very low level and you'll have to write a lot of the sound and animation code yourself. A better choice would be Java + Slick2D (a 2d library on top of LWJGL). You can find it at http://slick.cokeandcode.com

like image 73
Gavin Avatar answered Sep 21 '26 19:09

Gavin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!