Spaceshooter

Return to Code Snippets

Spaceshooter

Postby mileseven » Mon Aug 01, 2011 11:49 pm

Hey guys, I tried my first game in panda3d 2 years ago and I stopped my project. Now I just want to release the sourcecode of the game.(media included) It may have many bugs.

Its a spaceshooter with RPG elements. Just try it out.

Play the game in resolution 1024x768 for best view.
If you do not, you might not see the hud.

Arrowkeys - shoot
wasd - movement

- Just run "run.bat" in the main folder.

http://dl.dropbox.com/u/37000904/SpaceCooper.rar
(Sorry for the comments, its in german)
mileseven
 
Posts: 2
Joined: Mon Aug 01, 2011 9:01 pm

Postby teedee » Sun Aug 07, 2011 4:41 am

Hey I think this is a great example for those asking how to structure their game into multiple files and/or classes, or how to make a functioning game that goes beyond the Panda samples.
Thanks for sharing.
teedee
 
Posts: 782
Joined: Tue May 12, 2009 11:33 pm
Location: Kepler-22b

Postby Bradamante » Sun Aug 07, 2011 6:43 pm

Hate to tell you this but here the background graphics are garbled:

Image

Fetching the wrong graphics memory. On the top you see graphics from my game, on the bottom stuff from OS X memory.
Is it possible that are you doing your own effects (like Blur) instead of using the Panda3D built-in functions?
iMac (2009), Mac OS X.8.1 - MacBookPro (2007), Mac OS X.8.2
@ YouTube
User avatar
Bradamante
 
Posts: 303
Joined: Tue Nov 25, 2008 10:58 am
Location: Leipzig, Germany

Postby Nemesis#13 » Mon Aug 08, 2011 12:08 pm

Also tried this out and had some major bugs, mainly while rendering. I saw a snapshot from the first mission in the background while being in the second, for example.
User avatar
Nemesis#13
 
Posts: 1040
Joined: Mon Aug 04, 2008 8:09 pm
Location: Germany

Postby mileseven » Wed Aug 10, 2011 4:16 am

This is weird. I havent any problems with the graphics. Sorry for the major bugs. I didnt recognized those. Maybe its because I wrote the code with a previous version of panda?

I use windows7 64bit and opengl for rendering.
mileseven
 
Posts: 2
Joined: Mon Aug 01, 2011 9:01 pm

Postby DangerOnTheRanger » Wed Aug 10, 2011 10:31 am

mileseven wrote:This is weird. I havent any problems with the graphics. Sorry for the major bugs. I didnt recognized those. Maybe its because I wrote the code with a previous version of panda?

I use windows7 64bit and opengl for rendering.


DirectX emulates OpenGL on Windows Vista and higher - that might have something to do with those bugs.
Free + open-source game development kit: http://openblox.sourceforge.net

My blog: http://dangerontheranger.blogspot.com
User avatar
DangerOnTheRanger
 
Posts: 240
Joined: Fri Aug 27, 2010 4:59 pm

Postby coppertop » Wed Aug 10, 2011 11:05 am

DirectX emulates OpenGL on Windows Vista and higher - that might have something to do with those bugs.

Only if you have no real drivers installed.
User avatar
coppertop
 
Posts: 526
Joined: Sat Apr 18, 2009 5:48 am

Postby DangerOnTheRanger » Wed Aug 10, 2011 11:37 am

Are you sure about that? If that's the case, can you provide some links for OpenGL drivers on Windows Vista + 7 please?
Free + open-source game development kit: http://openblox.sourceforge.net

My blog: http://dangerontheranger.blogspot.com
User avatar
DangerOnTheRanger
 
Posts: 240
Joined: Fri Aug 27, 2010 4:59 pm

Postby drwr » Wed Aug 10, 2011 12:00 pm

OpenGL drivers appropriate for your graphics card will be installed when you install the driver for your graphics card, provided by your graphics card manufacturer.
drwr
 
Posts: 11253
Joined: Fri Feb 13, 2004 12:42 pm
Location: Glendale, CA


Return to Code Snippets

Who is online

Users browsing this forum: No registered users and 0 guests