Book Image

Panda3D 1.7 Game Developer's Cookbook

Book Image

Panda3D 1.7 Game Developer's Cookbook

Overview of this book

Table of Contents (20 chapters)
Panda3D 1.7 Game Developer's Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Advanced package creation and hosting


In the previous recipe, Creating a redistributable game package, you learned about building one monolithic container file that stores all of a game's code and assets. Of course, this already made things simpler, as you only need to provide this one file and the information that the Panda3D Runtime needs to be installed to run.

In this recipe, you will take things one step further. Instead of just putting everything into one file, you will split your code and assets into two separate packages. You will be able to drop the requirement of having to copy all data into one directory and additionally, you will learn how to build these packages in a way that allows you to host them on the web using an HTTP server. This will allow you to easily distribute games and the data they require. Additionally, this will allow you to provide distinct packages containing game-specific data and others that are filled with common libraries and resources. This way, code and...