Angels Fall First: the Second Antarean War
Disney's Pirates of the Caribbean Online
Flight Simulator, created by Carnegie Mellon students

Panda3D Manual: AppRunner

AppRunner is the Python class that supervises the launching of your application in a p3d file. There is a global instance of AppRunner available in base.appRunner whenever your application is running as a p3d file. In fact, this is a reliable way to test your run mode:

if base.appRunner:
    print("Running in a p3d file")
    print("Running interactively")

All of your interaction with the web environment will go through base.appRunner. There are several important members and methods of base.appRunner that facilitate communication with JavaScript and with the embedding web page. They are described in detail in the following pages.