Is there an online Python interpreter with the Pygame module? [closed]

泄露秘密 提交于 2019-12-23 15:14:41

问题


I was wondering if there is an online python interpreter with Pygame. It would be great if there is one, because when I share a game, I don't have to compile it first, I just send the code, and possibly upload the textures to a storage server and change the URL for the image location.

Is there an online Python interpreter with Pygame?


回答1:


None that I'm aware of. Running a Pygame application in the browser would require some way of displaying graphics and playing sound from a remote Python interpreter. This would be pretty complicated to do, and would likely not perform very well anyway.

If you want to write games which run in a web browser, learn Javascript.



来源:https://stackoverflow.com/questions/16044608/is-there-an-online-python-interpreter-with-the-pygame-module

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!