pip install pygame==2.0.0.dev16 The 28th of October 2020 will be the pygame <https://pygame.org/wiki/about> 2.0 release date, because pygame turns 20 years of age.
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 <https://www.pypy.org/> 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 <http://www.youtube.com/watch?v=j8EWruyKYZc>... [image: solarwolf on SDL2 and pypy] <http://www.youtube.com/watch?v=j8EWruyKYZc> 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 <https://github.com/MyreMylar> - Making RLE flags & RLE behaviour more consistent between pygame 1 and pygame 2 <https://github.com/pygame/pygame/pull/2189>, so that a lot more types of surfaces draw correctly and that "solarwolf" works really nicely. Ankith @ankith26 <https://github.com/ankith26> - Fix repeated VIDEOEXPOSE events <https://github.com/pygame/pygame/pull/2161>, so apps do not get dozens of extra nonsensical VIDEOEXPOSE events on Windows. René Dudfield @illume <https://github.com/illume> - Added portmidi package for conan MacOS <https://github.com/pygame/pygame/pull/2187> so that pygame.midi works on MacOS again. - Set icon on macos like the other platforms with SDL2 <https://github.com/pygame/pygame/pull/2194>, so the default icon is there again for MacOS. bugs, worms, shiny-shiny, and such Dan Lawrence @MyreMylar <https://github.com/MyreMylar> - Missing mouse_doc.h file <https://github.com/pygame/pygame/pull/2179> - Fix for missed braces in get_flags() <https://github.com/pygame/pygame/pull/2182> - Adding a premul_alpha helper method to Color class <https://github.com/pygame/pygame/pull/2142> - One of the math.c functions still used deprecated UTF functions <https://github.com/pygame/pygame/pull/2209> René Dudfield @illume <https://github.com/illume> - Test that pygame with SDL2 blit gives same results as SDL1 blit <https://github.com/pygame/pygame/pull/2192> - CI speedups <https://github.com/pygame/pygame/pull/2196> - Skip a lot of failing tests on pypy, build pypy wheels on mac+travis <https://github.com/pygame/pygame/pull/2204> - pypy and manylinux2010 <https://github.com/pygame/pygame/pull/2212> because PyPy needs manylinux2010, an old PR from @takluyver <https://github.com/takluyver> was resurrected and changed a bit so we can use manylinux2010. @robertpfeiffer <https://github.com/robertpfeiffer> - Add Setup.Android.SDL2.in, and default icons to STRIPPED build <https://github.com/pygame/pygame/pull/2203> is an improvement for better Android support. @Starbuck5 <https://github.com/Starbuck5> - Fix docs build failure on Sphinx 3 <https://github.com/pygame/pygame/pull/2206>, so we can use the current version of the Sphinx documentation tool. Josip Komljenović @MightyJosip <https://github.com/MightyJosip> - Type hints for Vector swizzles & sprite groups <https://github.com/pygame/pygame/pull/2200> - draw.line fix with thick lines. More of the line was clipped off on screen borders than expected <https://github.com/pygame/pygame/pull/2199> is a fix for an issue @siggisv <https://github.com/siggisv> found with line drawing. Sigurður Sveinn Halldórsson @siggisv <https://github.com/siggisv> - Document expected behavior of draw.aaline() <https://github.com/pygame/pygame/pull/2190> Ankith @ankith26 <https://github.com/ankith26> - Doc improvements for WINDOWEVENT, MOUSEWHEEL, event and misc <https://github.com/pygame/pygame/pull/2149> This time 4 'critical' backwards compatibility issues were fixed since the last release. ------------------------------ - 6 open 'critical' issues <https://github.com/pygame/pygame/issues?q=is%3Aissue+is%3Aopen+label%3Acritical> (backwards compatibility issues reported by people), and 35 closed (last release: 7 open, 32 closed). - merged PRs <https://github.com/pygame/pygame/pulls?q=is%3Apr+is%3Aclosed+merged%3A2020-10-12..2020-10-20+sort%3Aupdated-desc+> - 2090 Commits since 1.9.6 stable release <https://github.com/pygame/pygame/compare/1.9.6...2.0.0.dev16> - 80 Commits since 2.0.0.dev14 pre release <https://github.com/pygame/pygame/compare/2.0.0.dev14...2.0.0.dev16>