PDA

View Full Version : The Panda3D help thread



Bonezmann
14-02-2009, 08:34 PM
Since I'm learning Panda3D, I thought I'd create this thread for any questions regarding it.

I'm going through the tutorial atm, and I've searched the manual, but couldn't find the answer. So here's my question:

I want to show the project I've done so far to a friend who'll have to download and run the game. So my question is: How do I compile my game so he can play or actually just view it?(since I'm in a very early stage of the tutorial). I told him I'm still in an early stage, but he keeps nagging. Help?

Thaumaturge
16-02-2009, 01:25 PM
First of all, as I recall Panda includes a tool called PackPanda (http://panda3d.org/wiki/index.php/Building_an_installer_using_packpanda).

The main problem with PackPanda, as I recall it, is size. If you find that the resultant package is too large, you might want to try PyInstaller, which is, I think, what I ended up using (it's been a while, for a few reasons, since I got around to actually packaging up a Panda program). While perhaps more complex, I found that, together with a dependency viewer, one could rather reduce the size of the game package.

If you do decide to go with PyInstaller, I recommend a look at this old thread of mine (http://panda3d.org/phpbb2/viewtopic.php?t=4707) on the Panda 3D forum in order to get you started. In particular, look at the section in which mindstormss started to reply.

Finally, I strongly recommend the Panda 3D forums (http://panda3d.org/phpbb2/index.php) as a place to find answers regarding Panda, simply because there seem to be, naturally enough, I suppose, rather more Panda users there who might answer your questions. ;)

I hope that you're enjoying Panda - I've found it thus far to be a pretty good engine, I believe. ^_^

Bonezmann
16-02-2009, 07:12 PM
First of all, as I recall Panda includes a tool called PackPanda (http://panda3d.org/wiki/index.php/Building_an_installer_using_packpanda).

The main problem with PackPanda, as I recall it, is size. If you find that the resultant package is too large, you might want to try PyInstaller, which is, I think, what I ended up using (it's been a while, for a few reasons, since I got around to actually packaging up a Panda program). While perhaps more complex, I found that, together with a dependency viewer, one could rather reduce the size of the game package.

If you do decide to go with PyInstaller, I recommend a look at this old thread of mine (http://panda3d.org/phpbb2/viewtopic.php?t=4707) on the Panda 3D forum in order to get you started. In particular, look at the section in which mindstormss started to reply.

Finally, I strongly recommend the Panda 3D forums (http://panda3d.org/phpbb2/index.php) as a place to find answers regarding Panda, simply because there seem to be, naturally enough, I suppose, rather more Panda users there who might answer your questions. ;)

I hope that you're enjoying Panda - I've found it thus far to be a pretty good engine, I believe. ^_^

It's relatively easy, except for the sin, cos and tan, which I don't know crap about.(didn't have maths)

I'm still in the very early stages, where my panda stands on one place, walking like on a treadmill and the camera rotating around it. I stopped there to try again without the tutorial as far as I can.

But thanks, I'll follow your advice. ;)

edit: and welcome back Thaum, good to see you with us again ;)

Thaumaturge
16-02-2009, 07:22 PM
Actually, what are you using sin, cos and tan for? If it's just for player movement (that is, using the functions to determine the appropriate movement vector), or something similar, you may well find that it's not called for. As I recall, again using the example of player movement, you should be able to move the object relative to itself, including its own direction, meaning that a movement of (0, -1, 0) (if I have the right axes there) should move your character in the direction in which it is facing (some changes to that might be called for for your particular situation, of course).

As to your progress, fair enough. ^_^

I recommend making use of the manual and reference - I've found them to be very useful, if sadly, when last I noticed, incomplete in places.

If you have any more questions, please do ask - I'll probably look in on this thread. ^_^

Thank you for the welcome - I appreciate it. ^_^

I'm afraid that I'm likely to still be scarce - I'm afraid that I still don't have my own internet connection (although I'm working on it (http://forums.tidemedia.co.za/nag/showthread.php?p=192672#post192672) ;)). ^^;

Hopefully I'll get it sorted out soon, however - I very much want to get my own internet access again!

Bonezmann
16-02-2009, 07:44 PM
Actually, what are you using sin, cos and tan for? If it's just for player movement (that is, using the functions to determine the appropriate movement vector), or something similar, you may well find that it's not called for. As I recall, again using the example of player movement, you should be able to move the object relative to itself, including its own direction, meaning that a movement of (0, -1, 0) (if I have the right axes there) should move your character in the direction in which it is facing (some changes to that might be called for for your particular situation, of course).

As to your progress, fair enough. ^_^

I recommend making use of the manual and reference - I've found them to be very useful, if sadly, when last I noticed, incomplete in places.

If you have any more questions, please do ask - I'll probably look in on this thread. ^_^

Thank you for the welcome - I appreciate it. ^_^

I'm afraid that I'm likely to still be scarce - I'm afraid that I still don't have my own internet connection (although I'm working on it (http://forums.tidemedia.co.za/nag/showthread.php?p=192672#post192672) ;)). ^^;

Hopefully I'll get it sorted out soon, however - I very much want to get my own internet access again!

Well, from what I can remember, one of them help determine how many degrees the camera turns per second(or per frame, can't remember). And from what I saw, that's the only place they're used in the tutorial.

I am using the online manual, the tutorial section. :)

I hope you get your interwebz fixed. :)

Thaumaturge
17-02-2009, 05:25 PM
Aah, fair enough - well, carry on then, soldier! ;P