| |||||||||||
PyWeek - Warmup: Turret CommanderThis was done in a day (around 10 hours) earlier this week in competition with another guy from uni. Shoot the squishy pink guys and get them to explode near the inky black baddies.Turret Commander is the first game I've written in pyglet, the framework I'll be using for PyWeek. You'll need a decent graphics card, and either Python 2.5, or Python 2.4 with ctypes installed. — alex on 2007/03/29 09:55 of delta-v Comments: (log in to comment) |
Last Challenge
September 2008 [entries, ratings] Previous March 2008 [entries, ratings] September 2007 [entries, ratings] > April 2007 [entries, ratings] September 2006 [entries, ratings] March 2006 [entries, ratings] (June 2006) August 2005 [entries, ratings] Not logged in Login | ||||||||||
By Tee on 2007/03/29 22:43:
Nice job on the graphics. You did this in a day? That's either fast or I'm really slow. :) The idea is simple, but it's fun.One thing I got frustrated about was that when they are too close, there's nothing you can do. Sometimes they spawn too close. I'd suggest making the angle allow you to shoot a bit closer.
My highscore is 1500, but I haven't played much.
By alex on 2007/03/30 02:58:
Yeah, I'm well aware the gameplay needs tweaking. One of the last things I did before "finishing" was to add the base of the turret, which raised it off the ground a little -- this is what makes it so difficult.I'm amazed at your score.. I've never gotten above 300!
By saluk on 2007/03/31 20:28:
Traceback (most recent call last): File "turret.py", line 609, in main() File "turret.py", line 573, in main visible=False, vsync=False) File "D:\saluk\downloads\turretcommander\lib\pyglet\window\__init__.py", line 961, in __init__ self.create(factory) File "D:\saluk\downloads\turretcommander\lib\pyglet\window\win32\__init__.py", line 343, in create self.set_vsync(vsync) File "D:\saluk\downloads\turretcommander\lib\pyglet\window\win32\__init__.py", line 358, in set_vsync if wgl_info.have_extension('WGL_EXT_swap_control'): File "D:\saluk\downloads\turretcommander\lib\pyglet\gl\wgl_info.py", line 34, in have_extension return extension in self.get_extensions() File "D:\saluk\downloads\turretcommander\lib\pyglet\gl\wgl_info.py", line 24, in get_extensions if not gl_info.have_context: NameError: global name 'gl_info' is not defined------------------------------------------------
I can't seem to run pyglet, or any games that use it, at all on either my windows or linux machine :(