![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Newbie
Join Date: Jun 2005
Posts: 12
Rep Power: 0
![]() |
a simple 2d game, faster in pygame or pyopengl?
if i were to make a simple top down 2d shooter with simple collision detection, keyboard input. would it be faster in pygame or pyopengl? thanks. o, this is assuming i'll be doing all the drawing with basic shapes in game, no loading outside images.
|
|
|
|
|
|
#2 |
|
Professional Programmer
Join Date: Apr 2005
Location: London, England
Posts: 459
Rep Power: 4
![]() |
Well if you're running with hardware acceleration, i'd assume the pyopengl one would be faster, of course. You probably don't need to rely on hardware acceleration in a 2d game, however, so you should be fine with both. Speed of the respective libraries isn't something you need to worry about for a simple game like that - the execution speed of your code is what you need to worry about, and you only need to do that once you've got the code working and you're sure you need optimisation. Pre-emptive optimisation == bad.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|