Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jun 30th, 2005, 7:23 PM   #1
cypherkronis
Newbie
 
Join Date: Jun 2005
Posts: 12
Rep Power: 0 cypherkronis is on a distinguished road
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.
cypherkronis is offline   Reply With Quote
Old Jun 30th, 2005, 7:57 PM   #2
Cerulean
Professional Programmer
 
Cerulean's Avatar
 
Join Date: Apr 2005
Location: London, England
Posts: 459
Rep Power: 4 Cerulean is on a distinguished road
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.
Cerulean is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:22 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC