pygame-ce
pygame-ce copied to clipboard
🐍🎮 pygame - Community Edition is a FOSS Python library for multimedia applications (like games). Built on top of the excellent SDL library.
This hasn't been reported on this repo yet, but we really need to do something about it, so making this issue. When calling `set_source_location` on certain mixer setups ``` pygame.error:...
I found this while reviewing the code of #2615 If the surface pitch is not aligned to 4 bytes, it doesn't properly skip through rows. For example: ```py import pygame...
```python "/data/data/com.yolo.breakout.pro/files/app/_python_bundle/site-packages/pygame/base.so" is for EM_X86_64 (62) instead of EM_AARCH64 (183) ``` I get this whenever I try to use pygame_ce instead of pygame in the buildozer.spec as a requirement for...
**Environment:** - **Operating system**: Windows 10 - **Python version**: 3.11.4 - **SDL version**: 2.28.5 - **pygame-ce version**: 2.4.1 **Current behavior:** When the method `pygame.display.set_mode` is called a second time with...
I see that [pygame.font.Font.render](https://pyga.me/docs/ref/font.html#pygame.font.Font.render) supports newlines since pygame-ce-2.1.4. However, [pygame.freetype.Font.render](https://pyga.me/docs/ref/freetype.html#pygame.freetype.Font.render) doesn't seem to support it. (I haven't tested, I'm assuming based on the documentation.) I believe the FreeType module should...
This example demonstrates how to filter the pre-installed fonts on the system, by a language. 
I've been hacking away again at trying to bring more feature parity between pygame.freetype.font and pygame.font. I noticed that freetype.font lets you disable or enable kerning, and defaults it to...
Implementation of #2649 Docs will come in a short time.
When drawing textures unto other textures using the blend mode "blendmode_blend", it strongly reduces the opacity of half transparent pixels, instead of displaying them accurately. I use pygame-ce 2.4.0 with...
### This pull request resolves issue #2636 I added a test function `test_arc__correct_drawing` that replaced the `todo_test_arc` function in the `DrawArcMixin` class. It ensures that `pygame.draw.arc` works correctly, by checking...