Once the game is ready to go, we just need to pack it up and get it ready to ship to the customer. For this, we'll use a command-line utility called packpanda. This utility will compress the game and all of Panda3D into a convenient Windows installer that our customers can use to install the game on their own computers. The customer won't need to install Panda3D to run the game; they won't even need to know that the game runs on Panda3D.
For the packpanda utility to work correctly, we'll have to adjust our file structure a little bit. We'll need to move all the game components into a single folder (it can have subfolders). We'll call this folder SuicideJockeys
(any name is fine, but that's the one we'll use). In that new folder, we'll need to create a file called main.py
that launches the game. For packpanda to work, the launch file must be called main.py
, and it must be located in the SuicideJockeys
folder, not in any subfolders. We can also put three optional files...