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.
So SDL3 has introduced some `FRect` changes that break our `FRect.clipline` tests (ref: https://github.com/libsdl-org/SDL/issues/6791#issuecomment-2241509592) TL;DR is the changes make FRect operations more mathematically correct (SDL2 `FRect` would handle top/left edges...
I have started working on compiling `pygame._sdl2` with SDL3. This PR is draft because I'd like to port touch and audio, I'm creating it early to get feedback and opinions,...
# **Issue №2998 opened by *[glyph](https://github.com/glyph)* at 2022-01-21 01:11:30** I see there is an issue for android # 727 but I did not see one for iOS. It would be...
Ported the docs from sdl2_video to `pygame._render`, using the autoapi docs system (I added one line to make it work). The constructor of Renderer and the blit methods are the...
This should fix the following code that segfaults ```py import pygame pygame.display.set_mode([800, 600], flags=pygame.SCALED) pygame.display.set_mode([800, 598], flags=pygame.RESIZABLE | pygame.SCALED) ``` This also fixes #2571 TLDR: Changing size of the window...
In #2371 we added support for one liner for setting exception and returning the value from the functions. If the return value is NULL, we have the same support for...
**Description** Hi, I'd like to be able to create my pygame.event.Event objects using TypedDicts that specify the explicit form the event type should contain. For example: ```python3 class PygameMouseMotion(TypedDict): pos:...
Test code: ```py import pygame from pygame._sdl2 import video pygame.init() font = pygame.font.Font(size=24) win = video.Window(size=(640, 480), borderless=True) win.resizable = True win.borderless = True win.minimum_size = (480,360) screen = win.get_surface()...
I was hesitant to come here, as this is my first time opening an issue on a GitHub project, but I think reporting this (even though you're already aware of...
More discussion in #3421, this PR moves all surface stuff into its own directory. Commit also contain some other changes important for moving modules into their own directories, like the...