Panda3D Manual: Downloading a FileTo download a file while the game is running without blocking the connections one has to use HTTPClient and HTTPChannel objects. This will allow the file to be downloaded in the background using the downloadTask task. self.http = HTTPClient() You can also download to file channel.downloadToFile(Filename(fileName)) The file channel can be quarried for further information while the game is running to get the current download state. mbDownloaded = self.channel.getBytesDownloaded()/1024/1024 © Carnegie Mellon University 2010 |