-
### 🐛 Describe the bug
```python
import pygame
import torch
from torch import nn
screen = pygame.display.set_mode((9, 9))
class BearBrain(nn.Module):
def __init__(self):
super().…
-
Looking for resources to create a 2D games!
-
**Description**
The idea here is to have a simple change that even a beginning user can make to their pygame script to enable a range of 'live' debugging information and warnings. It would replace …
-
import pygame
pygame.init()
a=500
b=500
screen=pygame.display.set_mode((a,b))
run=True
x=250
y=250
while run:
for event in pygame.event.get():
if event.type==pygame.KEYDOWN:
…
-
-
我觉得您可以使用PyAudio作为语音的播放吧
经过用Pygame开发的几个不成熟的小游戏经验,我觉得Pygame音质是问题。。。
最近我们的游戏以确认要使用pyaudio
-
-
I ran the `map_gen.py` example on an intel Mac with Python 3.10. The Pygame window is very glitchy, it seems to be reloading the entire window at every update.
-
**Environment:**
I am trying this new package management tool pixi: https://github.com/prefix-dev/pixi
I tried `pygame-ce` first and no luck. Then I tried `pygame` and it worked.
```
% pixi …
-
GUI application development is based on Tkinter and game is based on PyGame, did I get it right? Will PyMe support PyGame-ce?