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
c\pgraph\transformState.cxx
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!
I did supply the .egg files as well; but I guess we will have to delete the .bam-files for Panda3D to look for the .eggs.
I haven’t had the code give me the !pos.is_nan() error with YeOldePanda - and I will not be looking into exporting the code to ver 1.1 till after my exam on Monday
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
and the winner for the “Golden spade award 2010” goes to…durmmroll smidhunraj!
didnt even know the game was available for public download. intresting thought. would be nice to see it “ported” to a more recent version of panda, maybe with some special fx enabled.
Is panda backward compatible?
Actually will it be
i mean will current games (1.6.2 - 1.7.0) work with 2.4.1 for example?? Ofcourse if switch tp python3 comes, that wont work, but if it stays as it is…