I finally, and humbly present the game made by Kapibara, myself and another person.
It is called Grand Shopping Auto and is a car game for girls (has that ever been done before?)
We made it as a production in a Game Programming Class at ITU (www.itu.dk) - I hope some class mates will post theirs as well!
It is far from bug-free, and far from perfectly programmed; but we wanted to let you try it anyway.
This game was made for Panda3D-1.0.5.
As far as I know it does not run under the new version (yet?).
The game was not made as a tutorial - the comments in the code are not particularly educational.
Maybe I will find some time to make a more “tutor-ish” version after my exam on Monday (wish me good luck ).
Sounds and graphics were not part of the class; most of the graphics is from www.bitfrost.dk
This version is far from bug-free; we consider it a beta-minus-version.
But we had a dead-line; and now we offer you the chance to see the resulting game.
Anyways, I just posted this version as another example of a game made in Panda.
After uploading it I realized it was not packed; I will correct this, and post a screen shot.
Ok … I have only Panda3D1.1.0 on my computer
This is what i get when runing GSA:
*)maps is in a wrong folder for loading it when pressing on run. Howto fix: move it up to the root folder or write a configfile
*)polCar.py Line 80,106,109 and 135 change this to self.velocity= …
*)I don’t know what this means
:util:bam(error): Bam file is version 4.14.
:util:bam(error): This program can only load version 5.0 through 5.4 bams.
maybe this is just a 1.0.5 - 1.1.0
*)Sometimes the game crashes with that
File "C:\Dokumente und Einstellungen\Martin\Desktop\Grand Shopping Auto\Grand
Shopping Auto\car.py", line 54, in drive
self.gCar.setPos(self.gCar.getPos() + (self.velocity * dt))
AssertionError: !pos.is_nan() at line 407 of c:\temp\mkpr\panda3d-1.1.0\panda\sr
This error message indicates the problem with bam files: although they’re small and they load fast, they are tied to a particular version of Panda. To make this program run with either version of Panda, you’d need to distribute it with egg files instead of bam files.
As to the is_nan() error, that’s just complaining that your node’s pos value went to NaN, “not a number”–this usually means you divided by zero or performed some similar questionable operation. It’s probably not related to the Panda version (though it’s possible that Panda 1.0.5 would simply not throw an exception if the pos value ever went to NaN).
By the way, thanks for posting your work for everyone to benefit from, and great job!
can any one please tell me how to run this game .
I am using pype as python text editor.I downloaded the 81 mb file .But how to compile this . Please explain to me this in detail .When i ran cgmain.py .command prompt pops up and tells ***end of process***how to get this car race game run on my pc.Any help will be appreciated.Thanx in advance