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

Embedding a game into a website


While providing a downloadable easy-to-run package of your game is a good step towards making users happy, we can take this to the next level. Why require players to ever leave our website? Why even bother them with downloading data to their hard disks where players, need to find the file again before they are able to double-click to launch?

Minor nuisances, we might say. But the truth is that people might have already lost the will to play a game after hitting the first few bumps in the road.

In this recipe, we take a look at how Panda3D allows us to embed games within websites. This allows us to make many things easier for potential players. Using the web plugin, we can create a website that just prompts players to press a button to launch the game without leaving the site, or even the browser. If the plugin isn't installed on a player's system, it's no problem either—we just forward her or him to the appropriate download page.

Online gaming websites have had...