Pygame v2.0.0.dev16 Release Notes
Release Date: 2020-10-20 // over 3 years ago-
pip install pygame==2.0.0.dev16
๐ The 28th of October 2020 will be the pygame 2.0 release date, because pygame turns 20 years of age. Save the date (maybe we'll do something)!
๐ We reached two important milestones with this pre-release. Firstly the old game 'solarwolf' is working fine with no known issues on pygame 2. The second stone we passed by on the road to PyPy goodness is that we are releasing binary wheels for PyPy on mac, windows, and linux. PyPy is a different implementation of python that is highly compatible and can be extremely fast.
Here's a little youtube video of solarwolf on PyPy and SDL2...
๐ > If you watched the video to the end, you'll note there's a crash. We still have some way to go before everything in pygame is working with PyPy. "solarwolf" using cpython and pygame 2 is running deliciously and glitch free.
๐ Critical backwards compatibility fixes for pygame 2
๐ First up, some 'critical' improvements that have been made to pygame. 'critical' labeled issues are ones are backwards incompatible issues stopping a pygame 2 release.
Dan Lawrence @MyreMylar
- Making RLE flags & RLE behaviour more consistent between pygame 1 and pygame 2, so that a lot more types of surfaces draw correctly and that "solarwolf" works really nicely.
Ankith @ankith26
- ๐ Fix repeated VIDEOEXPOSE events, so apps do not get dozens of extra nonsensical VIDEOEXPOSE events on Windows.
Renรฉ Dudfield @illume
- ๐ Added portmidi package for conan MacOS so that pygame.midi works on MacOS again.
- ๐ Set icon on macos like the other platforms with SDL2, so the default icon is there again for MacOS.
๐ bugs, worms, shiny-shiny, and such
Dan Lawrence @MyreMylar
- Missing mouse_doc.h file
- Fix for missed braces in get_flags()
- Adding a premul_alpha helper method to Color class
- ๐ One of the math.c functions still used deprecated UTF functions
Renรฉ Dudfield @illume
- โ Test that pygame with SDL2 blit gives same results as SDL1 blit
- CI speedups
- ๐ Skip a lot of failing tests on pypy, build pypy wheels on mac+travis
- ๐ง pypy and manylinux2010 because PyPy needs manylinux2010, an old PR from @takluyver was resurrected and changed a bit so we can use manylinux2010.
- ๐ Add Setup.Android.SDL2.in, and default icons to STRIPPED build is an improvement for better Android support.
- ๐ Fix docs build failure on Sphinx 3, so we can use the current version of the Sphinx documentation tool.
Josip Komljenoviฤ @MightyJosip
- Type hints for Vector swizzles & sprite groups
- draw.line fix with thick lines. More of the line was clipped off on screen borders than expected is a fix for an issue @siggisv found with line drawing.
Sigurรฐur Sveinn Halldรณrsson @siggisv
Ankith @ankith26
๐ This time 4 'critical' backwards compatibility issues were fixed since the last release.
- ๐ 6 open 'critical' issues (backwards compatibility issues reported by people), and 35 closed (last release: 7 open, 32 closed).
- โก๏ธ merged PRs
- ๐ 2090 Commits since 1.9.6 stable release
- ๐ 80 Commits since 2.0.0.dev14 pre release