Questions tagged [pygbag]
7 questions
3
votes
1 answer
Does pygbag directly interprets python in the browser or compiles it to wasm and then runs it?
I was wandering through the docs of pygbag, and I couldn't find how the python scripts are actually executed from the browser.
I made a test project to look how the files created by pygbag looked like, but I couldn't really figure out what role the…

Martin_Who
- 31
- 4
1
vote
1 answer
How to make full screen mode in pygbag?
When I open the pygame html page created with pygbag, the console opens in full screen and the pygame window is in the corner: (see image below)
How can I make the pygbag window open in full screen?

Kucer0043
- 27
- 7
0
votes
2 answers
Why does pygbag freeze up online/on localhost when using the main menu play button although it works locally?
The game was completely working before I decided to add a main menu. It includes a play button. All of the code worked as expected locally and the play button launched the main game but as soon as I used pygbag to pack it and tried to access it on…

Adri M
- 3
- 3
0
votes
0 answers
Pygame works well when ran directly but is extremly slow when using PygBag
I am working on a project at the moment where me and a few friends created a streetfighter style game. The game is more or less finished and everything works perfectly when I run it on the desktop. we decided we wanted people to be able to play the…

dylan omahony
- 1
- 1
0
votes
0 answers
Pygbag seems to block when downloading numpy on big projects
I am trying to use pygbag on a pygame project and every time I try to run it, the site stops working after downloading numpy.
I have tried with small projects and everything seems to work just fine even when downloading numpy but when I try with my…

Martin_Who
- 31
- 4
-1
votes
0 answers
Why is my pygame game not playing the song that I qued when I play it in the web
So I created a game in pygame but I have a very weird problem where it plays the qued song on the computer and when converted to exe but wont play when I used pygbag to put it on the web. Here is the code for the music. (There are questions about…

Lleyton Bell
- 61
- 6
-3
votes
0 answers
My pygbag crashes when I run it. It is just black screen
How do I fix this? I tried using the local host #debug but it still don't work. I'm still learning python.
When I run it, it just crashes. I tried changing the files from mp3 to wav. and wav to ojj and it still don't work. I tried changing the…