Web browser plugin for Ren'Py
Posted: Fri Feb 25, 2011 8:23 am
Hi, today I was researching a Python 3D game library called Panda3D and found something quiet interesting:
They have a web runtime, that lets you play Panda3D games in your web browser:
Information about the runtime:
http://www.panda3d.org/blog/?p=14
Download location for the runtime:
http://www.panda3d.org/download.php?runtime
Some example games for the runtime:
http://www.panda3d.org/gallery/
Security-wise, as the first link explains, the Python code/etc is totally unsandboxed. The main thing which stops arbitrary code from running on the user's PC, is this:
- The app files (.p3d) are signed
- Web browser users need to confirm the author of the code, before the app is allowed to run.
This is obviously not anywhere as secure as say, flash, java, javascript, or silverlight, which are designed from the ground-up to be somewhat secure in the web browser. But on the other hand: If the user would have downloaded the project and run it on their PC, it would have had the same permissions to do evil things on their system. The web plugin just gives them a more conveniant way to run the app than needing to manually download, extract, and run the exe.
Taking the above into account, I wonder if it's possible to make a similar system for Ren'Py?
Basically a developer-signed activex-type control that works on all major platforms and all major web browsers, and can run Ren'Py VNs directly within the browser.
Is something along these lines worth considering for a future version of Ren'Py?
They have a web runtime, that lets you play Panda3D games in your web browser:
Information about the runtime:
http://www.panda3d.org/blog/?p=14
Download location for the runtime:
http://www.panda3d.org/download.php?runtime
Some example games for the runtime:
http://www.panda3d.org/gallery/
Security-wise, as the first link explains, the Python code/etc is totally unsandboxed. The main thing which stops arbitrary code from running on the user's PC, is this:
- The app files (.p3d) are signed
- Web browser users need to confirm the author of the code, before the app is allowed to run.
This is obviously not anywhere as secure as say, flash, java, javascript, or silverlight, which are designed from the ground-up to be somewhat secure in the web browser. But on the other hand: If the user would have downloaded the project and run it on their PC, it would have had the same permissions to do evil things on their system. The web plugin just gives them a more conveniant way to run the app than needing to manually download, extract, and run the exe.
Taking the above into account, I wonder if it's possible to make a similar system for Ren'Py?
Basically a developer-signed activex-type control that works on all major platforms and all major web browsers, and can run Ren'Py VNs directly within the browser.
Is something along these lines worth considering for a future version of Ren'Py?