Pyjsdl
Python-to-JavaScript Multimedia Framework
jggatc
(jggatc)
Pyjsdl is an implementation of Pygame using JavaScript API including HTML5 canvas. The development objective of the module is to permit applications coded in Python and Pygame to compile into JavaScript using the Pyjs compiler and execute in the Web browser. Further development should provide enhanced functionality and performance.
Git repository: https://github.com/jggatc/pyjsdl/
Released under the MIT License.
Changes
Links
- Home Page
- https://gatc.ca/projects/pyjsdl/
Releases
Pygame.org account Comments
-
jmm0 2014-10-01 18:05
Have you considered adding sound support? René has a JavaScript project for playing audio using HTML5 that might help. http://rene.f0o.com/~rene/shit...
Jim 2014-10-02 05:23
Started coding sound support. Was implementing using an available library, which should be sufficient but will check the library you suggested. Had hoped to include this feature already, but was preoccupied with code optimization.
Still considering other cross-platform JavaScript audio libraries with low level API.
Jim 2014-10-06 03:49
Updated Pyjsdl with sound support, at the moment only included in the current Git development version linked off the project page. The mixer module is not fully completed but appeared to function properly. Implemented in HTML5 audio, but may decide to use a cross-platform JavaScript audio library to include use of the newer Web Audio API.
-
AVeryGoodUsername 2016-02-28 02:39
I get this error:
Could not find any downloads that satisfy the requirement pyjsdl
while trying :
sudo pip install --upgrade pyjsdlCan you please help? :c
-
Asher Wolfstein 2017-06-27 16:37
It requires a bit of reprogramming, but i made a pygame library "port" to the browser/nodewebkit using Brython and GameJS. You can program using a version of pygame and python 3 in the browser. You can check it out at https://github.com/asherwunk/pygjs