-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Usefull Lib to have in pygbag prebuilts ( compiled for wasm ) #2
Comments
Numpy for sure, I also would love to see support for PyOpenGL or modernGL and Numba, but I think these will have to wait a bit |
PyOpenGL has experimental support for GLES2 with : from OpenGL.GLES2 import * moderngl should support gles2 numba/pythran i'll add wasabi2d since i was able to compile wasabi.geom to wasm today |
I'm very excited about this project. I haven't picked up PyGame for a few years because of the no-browser limitation. I am trying to build complex multiplayer games and have previously relied on |
@robclewley asyncio maybe not, but async for sure. For socket handling polling non-blocking sockets is ok too : i managed to connect to irc fine via a websocket proxy that way. green threading is ok too. One thing to keep in mind, everything read will be gathered on display sync ( usually 1/60 ). Also webrtc is not the default mode of operation and is yet untested : default is bsd socket emulation ( without peek ). if you want to help on network you're welcome and it's best to join the pygame discord |
@pmp-p Is SciPy in? I see it on index.json but I can't find the actual file in pkg .
and then:
I'm using pygbag==0.6.6 . numpy works well. |
the SciPy wheel i made did not work well so i removed it, as soon as it is fixed i'll put it back |
Wow, once I found pygbag I was very, very happy: I can now show off my projects to collages a lot easier. Now, would there be anyway to copy and paste text, I'm trying to make a cryptogram solver and ill need input text. I know that there are modules like pyclip and pyperclip that can access the computers clip board, and now I understand why there not working. Ill look around a bit more with numpy, pgzero, and matplotlib, and see what I can find that could help me get c/p from the user. Thank you pmp-p for making this liberry, it's amassing |
@Michael-Everest there are multiple ways, you can get text in html elements, terminal or pygame window. up to you to experiment. you can find help on pygame discord https://discord.gg/p7RjnVNTcM (preferred, very reactive) , or https://www.reddit.com/r/pygbag and once your problem is solved you can help enhance the examples snippets with your gained experience |
Thank you @pmp-p, I'll defiantly check this out! |
closing in favour of pygame-web/pygbag#63 |
Current status:
done for 3.11 and pygbag 0.6+
numpypgzeromatplotlib(via svg not Agg)still pending/testing
pytmx
pymunk
raypyc ( raylib via ctypes)
harfang
panda3d
opencv
The text was updated successfully, but these errors were encountered: