Recent Releases of pygame

pygame - pygame 2.6.1 - python 3.13 bugfix release

What's Changed

This is a bugfix release for a new version of Python (3.13) that is out soon.

  • 2.6.0 -> 2.6.1.dev1 by @illume in https://github.com/pygame/pygame/pull/4273
  • grammar-fix by @jakefrombay in https://github.com/pygame/pygame/pull/4276
  • Update sprite.rst by @jakefrombay in https://github.com/pygame/pygame/pull/4277
  • build(deps): bump actions/checkout from 4.1.6 to 4.1.7 by @dependabot in https://github.com/pygame/pygame/pull/4281
  • github: Bump cibuildwheel to v2.19.2 by @illume in https://github.com/pygame/pygame/pull/4286
  • Update SpriteIntro.rst by @PavloShutz in https://github.com/pygame/pygame/pull/4310
  • buildconfig/appveyor: Python 3.13 for windows by @illume in https://github.com/pygame/pygame/pull/4317
  • buildconfig: Pin cython version to range by @illume in https://github.com/pygame/pygame/pull/4334
  • build(deps): bump pypa/cibuildwheel from 2.19.2 to 2.20.0 by @dependabot in https://github.com/pygame/pygame/pull/4321
  • github/build-*: Fix Cython version specifier by @illume in https://github.com/pygame/pygame/pull/4349
  • manylinux: Remove old pypy 3.7 by @illume in https://github.com/pygame/pygame/pull/4350

New Contributors

  • @jakefrombay made their first contribution in https://github.com/pygame/pygame/pull/4276
  • @PavloShutz made their first contribution in https://github.com/pygame/pygame/pull/4310

Full Changelog: https://github.com/pygame/pygame/compare/2.6.0...2.6.1

- C
Published by notpygame over 1 year ago

pygame - pygame 2.6.0 - for Macarena

๐ŸŽ‰  ๐ŸŽˆ

Thanks




python -m pip install -U pygame==2.6.0



๐ŸŽฎ๐Ÿ›ธ - - - - ๐Ÿ’ฅ๐Ÿ‘พ

  • cleanup: New clang-format by @illume in https://github.com/pygame/pygame/pull/4025
  • Fix support for OpenBSD and NetBSD by @aX0Rb in https://github.com/pygame/pygame/pull/4023
  • include/pgplatform: Enable SSE42 again by @illume in https://github.com/pygame/pygame/pull/4024
  • github: Bump cibuildwheel to v2.15.0 by @illume in https://github.com/pygame/pygame/pull/4027
  • camera: Fix wrong ifdef placement for unix/macos by @illume in https://github.com/pygame/pygame/pull/4030
  • Added a minor check if config is correctly initialised by @blackmambaza in https://github.com/pygame/pygame/pull/4029
  • Updated the reST/themes/classic/elements html documention by @blackmambaza in https://github.com/pygame/pygame/pull/4031
  • Improved the security of temporary file creation in image tests by @blackmambaza in https://github.com/pygame/pygame/pull/4032
  • Reduced some complexity of if statements in buildconfig-setup, compilation help, and in opencv camera backend by @blackmambaza in https://github.com/pygame/pygame/pull/4033
  • github/workflows: apt has hicups, hold breath by @illume in https://github.com/pygame/pygame/pull/4036
  • base: pixelcopy: Some error cleanups by @illume in https://github.com/pygame/pygame/pull/4035
  • appveyor: Switch to pythons to 3.12.0 by @illume in https://github.com/pygame/pygame/pull/4037
  • manylinux: Bump SDL 2.28.4 by @illume in https://github.com/pygame/pygame/pull/4040
  • buildconfig/downloadwinprebuilt: Bump SDL 2.28.4 by @illume in https://github.com/pygame/pygame/pull/4041
  • Minor improvements to tests by @blackmambaza in https://github.com/pygame/pygame/pull/4039
  • setup: Fix some MSCisms so MSYS2 can work better by @illume in https://github.com/pygame/pygame/pull/4042
  • Fix gooverthere example bug in Python 3.12 as per issue #4046 by @llindstrom in https://github.com/pygame/pygame/pull/4048
  • Update PygameIntro.rst by @kcivin in https://github.com/pygame/pygame/pull/4055
  • Add comment to surf_copy by @nkSunUow in https://github.com/pygame/pygame/pull/4057
  • Update event.rst by @butlerch in https://github.com/pygame/pygame/pull/4073
  • Polygon large coordinate test cases for issue#3989 by @u7156704 in https://github.com/pygame/pygame/pull/4056
  • format fixes by @illume in https://github.com/pygame/pygame/pull/4075
  • Update README.rst by @Thunderborne in https://github.com/pygame/pygame/pull/4071
  • github/workflows/stale: Mark issues/PRs as stale after a time by @illume in https://github.com/pygame/pygame/pull/4076
  • setup: Add python 3.12 classifier metadata by @illume in https://github.com/pygame/pygame/pull/4077
  • github/workflows/build-ubuntu-sdist: Add apt-get fix-missing back by @illume in https://github.com/pygame/pygame/pull/4080
  • github/workflows/build-ubuntu-sdist: Publish sdist to pypi on publish by @illume in https://github.com/pygame/pygame/pull/4081
  • Remove references to Numeric in the documentation by @rpep in https://github.com/pygame/pygame/pull/4095
  • Minor update to coding example in 3.1 by @chpauline in https://github.com/pygame/pygame/pull/4101
  • sprite: fix words repetition by @Paciupa in https://github.com/pygame/pygame/pull/4136
  • Skip surface tests that fail when SDL_VIDEODRIVER=dummy by @emilytrau in https://github.com/pygame/pygame/pull/4169
  • Fix failing python3 setup.py lint by @cclauss in https://github.com/pygame/pygame/pull/4179
  • Keep GitHub Actions up to date with GitHub's Dependabot by @cclauss in https://github.com/pygame/pygame/pull/4178
  • build-ubuntu-sdist.yml: apt-update but not upgrade by @cclauss in https://github.com/pygame/pygame/pull/4187
  • build(deps): bump actions/setup-python from 3 to 5 by @dependabot in https://github.com/pygame/pygame/pull/4182
  • build(deps): bump uraimo/run-on-arch-action from 2.3.0 to 2.7.1 by @dependabot in https://github.com/pygame/pygame/pull/4184
  • examples/testsprite: Fix in an update method to match super class by @illume in https://github.com/pygame/pygame/pull/4189
  • camera: buildconfig: Remove experimental camera_windows by @illume in https://github.com/pygame/pygame/pull/4192
  • buildconfig/appveyor: Fix sphinx install to hardcode dep by @illume in https://github.com/pygame/pygame/pull/4193
  • buildconfig/macdependencies glib: Fix build by @illume in https://github.com/pygame/pygame/pull/4190
  • python3 setup.py lint is deprecated: Let's lint with pre-commit by @cclauss in https://github.com/pygame/pygame/pull/4200
  • Added generics to abstract group for IDE completion by @Lukasgrat in https://github.com/pygame/pygame/pull/4119
  • Refactored tests for pygame.Surface.blits in test/blit.py by @chpauline in https://github.com/pygame/pygame/pull/4122
  • sprite: Fix formatting by @illume in https://github.com/pygame/pygame/pull/4206
  • Remove lint logic from setup.py by @cclauss in https://github.com/pygame/pygame/pull/4201
  • setup: Fix platform.linux_distribution() deprecated python >= 3.7 by @illume in https://github.com/pygame/pygame/pull/4205
  • Update ftfont.py by @thatsaksyguy in https://github.com/pygame/pygame/pull/4113
  • build(deps): bump actions/cache from 3.0.2 to 4.0.2 by @dependabot in https://github.com/pygame/pygame/pull/4185
  • build(deps): bump actions/stale from 8 to 9 by @dependabot in https://github.com/pygame/pygame/pull/4196
  • pre-commit: Lint Python code with Ruff by @cclauss in https://github.com/pygame/pygame/pull/4207
  • build(deps): bump actions/checkout from 3.0.2 to 4.1.2 by @dependabot in https://github.com/pygame/pygame/pull/4186
  • pre-commit: Find and fix typos with codespell by @cclauss in https://github.com/pygame/pygame/pull/4208
  • Minor optimizations by using comprehensions by @cclauss in https://github.com/pygame/pygame/pull/4209
  • buildconfig module cleanup by @henserobbie in https://github.com/pygame/pygame/pull/4211
  • build(deps): bump pypa/cibuildwheel from 2.16.1 to 2.17.0 by @dependabot in https://github.com/pygame/pygame/pull/4183
  • simple test case for camera by @Alihyp in https://github.com/pygame/pygame/pull/4112
  • camera: Add camera_test by @illume in https://github.com/pygame/pygame/pull/4213
  • mixertest: Add def testqueue by @illume in https://github.com/pygame/pygame/pull/4214
  • Refactored test from #3989 to work correctly and also apply to #4191 and fixed the bug being tested by @dillon-duff in https://github.com/pygame/pygame/pull/4215
  • build(deps): bump uraimo/run-on-arch-action from 2.7.1 to 2.7.2 by @dependabot in https://github.com/pygame/pygame/pull/4219
  • build(deps): bump actions/checkout from 4.1.2 to 4.1.5 by @dependabot in https://github.com/pygame/pygame/pull/4229
  • Fix pygame.camera backend detection on Windows Server by @andrigamerita in https://github.com/pygame/pygame/pull/4221
  • setup: Filter out warnings by @illume in https://github.com/pygame/pygame/pull/4231
  • setup: Add Fedora compile links by @illume in https://github.com/pygame/pygame/pull/4232
  • setup: Fix cython compilation for setup.py install by @illume in https://github.com/pygame/pygame/pull/4233
  • buildconfig: Add fallback to portmidi if porttime is not found by @illume in https://github.com/pygame/pygame/pull/4235
  • pypm: Fix incorrect param in Pm_OpenInput by @illume in https://github.com/pygame/pygame/pull/4236
  • test: Fix numpy.alltrue imports to import all instead thanks @mgorny by @illume in https://github.com/pygame/pygame/pull/4240
  • build(deps): bump actions/checkout from 4.1.5 to 4.1.6 by @dependabot in https://github.com/pygame/pygame/pull/4251
  • Documentation spelling improvements by @PycraftDeveloper in https://github.com/pygame/pygame/pull/4247
  • sndarray_test: Fix some overflowed data sizes by @illume in https://github.com/pygame/pygame/pull/4254
  • surfarray_test: Fix for value out of uint32 range by @illume in https://github.com/pygame/pygame/pull/4255
  • updating type hinting for SysFont by @JovialKnoll in https://github.com/pygame/pygame/pull/4261
  • docs: DisplayModes: Add display argument to pygame.display.listmodes() and pygame.display.modeok() by @chpauline in https://github.com/pygame/pygame/pull/4103
  • docs: SpriteIntro: Fix some grammar by @journpy in https://github.com/pygame/pygame/pull/4216
  • README.rst: Fix link to pyhon.org by @jeloge in https://github.com/pygame/pygame/pull/4223
  • docs: SpriteIntro: Fix some grammar by @journpy in https://github.com/pygame/pygame/pull/4217
  • Updated Getting Started Doc by @joshgelber in https://github.com/pygame/pygame/pull/4121
  • Remove duplicated block of code from documentation by @douglasdcm in https://github.com/pygame/pygame/pull/4087
  • Support collide_mask as collided argument in spritecollide by @ZeroWave022 in https://github.com/pygame/pygame/pull/4090
  • docs: SpriteIntro: Fix collide functions arg "collided" default by @chpauline in https://github.com/pygame/pygame/pull/4104
  • docs: DisplayModes: Fix description of width, and height default with set_mode and document display by @chpauline in https://github.com/pygame/pygame/pull/4102
  • mixertest: mixermusictest: Add test for soundfrom_array and rewind by @romgird2 in https://github.com/pygame/pygame/pull/4084
  • mixertest: mixermusictest: Add test for soundfrom_array and rewind by @illume in https://github.com/pygame/pygame/pull/4266
  • mixer_test: Add skip for test failing on msys2 by @illume in https://github.com/pygame/pygame/pull/4267
  • Added unit tests for music_mixer.py by @andemar3 in https://github.com/pygame/pygame/pull/4127
  • README.rst: Improve contributing section and formatting by @son1ong in https://github.com/pygame/pygame/pull/4120
  • Inline PyArgNoKeywords from Python 3.13 in case it is missing by @hroncok in https://github.com/pygame/pygame/pull/4269
  • Python the 13th by @illume in https://github.com/pygame/pygame/pull/4270

New Contributors

  • @aX0Rb made their first contribution in https://github.com/pygame/pygame/pull/4023
  • @blackmambaza made their first contribution in https://github.com/pygame/pygame/pull/4029
  • @kcivin made their first contribution in https://github.com/pygame/pygame/pull/4055
  • @nkSunUow made their first contribution in https://github.com/pygame/pygame/pull/4057
  • @butlerch made their first contribution in https://github.com/pygame/pygame/pull/4073
  • @u7156704 made their first contribution in https://github.com/pygame/pygame/pull/4056
  • @Thunderborne made their first contribution in https://github.com/pygame/pygame/pull/4071
  • @rpep made their first contribution in https://github.com/pygame/pygame/pull/4095
  • @chpauline made their first contribution in https://github.com/pygame/pygame/pull/4101
  • @Paciupa made their first contribution in https://github.com/pygame/pygame/pull/4136
  • @emilytrau made their first contribution in https://github.com/pygame/pygame/pull/4169
  • @Lukasgrat made their first contribution in https://github.com/pygame/pygame/pull/4119
  • @thatsaksyguy made their first contribution in https://github.com/pygame/pygame/pull/4113
  • @henserobbie made their first contribution in https://github.com/pygame/pygame/pull/4211
  • @Alihyp made their first contribution in https://github.com/pygame/pygame/pull/4112
  • @dillon-duff made their first contribution in https://github.com/pygame/pygame/pull/4215
  • @andrigamerita made their first contribution in https://github.com/pygame/pygame/pull/4221
  • @PycraftDeveloper made their first contribution in https://github.com/pygame/pygame/pull/4247
  • @journpy made their first contribution in https://github.com/pygame/pygame/pull/4216
  • @jeloge made their first contribution in https://github.com/pygame/pygame/pull/4223
  • @joshgelber made their first contribution in https://github.com/pygame/pygame/pull/4121
  • @douglasdcm made their first contribution in https://github.com/pygame/pygame/pull/4087
  • @ZeroWave022 made their first contribution in https://github.com/pygame/pygame/pull/4090
  • @romgird2 made their first contribution in https://github.com/pygame/pygame/pull/4084
  • @andemar3 made their first contribution in https://github.com/pygame/pygame/pull/4127
  • @son1ong made their first contribution in https://github.com/pygame/pygame/pull/4120
  • @hroncok made their first contribution in https://github.com/pygame/pygame/pull/4269

- C
Published by notpygame almost 2 years ago

pygame - 2.6.0.dev2 is a pre-release for testing

๐ŸŽฎ๐Ÿ›ธ - - - - ๐Ÿ’ฅ๐Ÿ‘พ

This is a pre-release only for testing.

python -m pip install pygame==2.6.0.dev2

https://github.com/pygame/pygame/issues

- C
Published by notpygame almost 2 years ago

pygame - pygame 2.5.2 - ๐Ÿฆ‹ yet another bug fix release๐Ÿ„

Ye olde bug fix release. Yee haw!

Find an issue? https://github.com/pygame/pygame/issues

Some libSDL related bug fixes

  • Added a gamepad mapping for the G-Shark GS-GP702
  • Fixed touchpad events for the Razer Wolverine V2 Pro in PS5 mode
  • Fixed getting key events from TV remotes on Android
  • Updated to Android minSdkVersion 19 and targetSdkVersion 34 to meet Google Play Store requirements

What's Changed

  • Fix white bar in docs by @MarcellPerger1 in https://github.com/pygame/pygame/pull/3986
  • manylinux: Fix sdl version typo by @illume in https://github.com/pygame/pygame/pull/3987
  • include: rect: C API docs for Rect by @illume in https://github.com/pygame/pygame/pull/3990
  • draw: Fix arc width > 1 so it doesn't have gaps by @illume in https://github.com/pygame/pygame/pull/3991
  • setup: tox: Add 31 and 32 to list of pythons by @illume in https://github.com/pygame/pygame/pull/3994
  • docs: capi/rect: Fix return code for pgRectCheck by @illume in https://github.com/pygame/pygame/pull/3996
  • setup: src_c: Require Cython to generate source files in dev by @illume in https://github.com/pygame/pygame/pull/3995
  • Added import information in camera and sdl2 controller modules docs by @AsaadAreeb in https://github.com/pygame/pygame/pull/4001
  • Fix: Grammatical Error in MoveIt.rst by @Jay7221 in https://github.com/pygame/pygame/pull/4002
  • examples: Fix musicdropfade with type checker by @illume in https://github.com/pygame/pygame/pull/4003
  • stubs: Add pygame.version to type stubs by @illume in https://github.com/pygame/pygame/pull/4004
  • gitignore: Add cython generated files to ignore list by @illume in https://github.com/pygame/pygame/pull/4005
  • examples/midi: Refactor to fix typing issues by @illume in https://github.com/pygame/pygame/pull/4006
  • display setmode: Remove SDLWINDOWFULLSCREENDESKTOP by @illume in https://github.com/pygame/pygame/pull/4007
  • buildconfig/manylinux: Bump SDL 2.28.3 by @illume in https://github.com/pygame/pygame/pull/4008
  • docs: Fix READMEs with a good Sphinx version by @illume in https://github.com/pygame/pygame/pull/4010
  • buildconfig: Bump SDL 2.28.3 for windows by @illume in https://github.com/pygame/pygame/pull/4009
  • buildconfig manylinux: Bump libwebp to 1.3.2 by @illume in https://github.com/pygame/pygame/pull/4011

New Contributors

  • @AsaadAreeb made their first contribution in https://github.com/pygame/pygame/pull/4001
  • @Jay7221 made their first contribution in https://github.com/pygame/pygame/pull/4002

- C
Published by notpygame over 2 years ago

pygame - pygame 2.5.1 - ๐Ÿฆ‹ more delicious, and equal amounts of weird ๐Ÿ„

This is a bug fix release.

Some libSDL related bug fixes

  • Fixed occasionally failing to open the clipboard on Windows
  • Fixed crash at shutdown when using the D3D11 renderer
  • Fixed setting the viewport when using the D3D12 renderer
  • Fixed crash using SDL event functions before initializing SDL on Windows
  • Fixed Xbox controller trigger motion events on Windows
  • Fixed Xbox controller rumble in the background on Windows
  • Added the hint SDLHINTJOYSTICK_WGI to control whether to use Windows.Gaming.Input for controllers
  • Fixed 8BitDo gamepad mapping when in XInput mode on Linux
  • Fixed controller lockup initializing some unofficial PS4 replica controllers
  • Fixed video initialization on headless Linux systems using VNC
  • Fixed large mouse jump when changing relative mouse mode on macOS
  • Fixed hardware keyboard text input on iPadOS
  • Added support for the Nintendo Online Famicom controllers
  • Improved support for third-party Nintendo Switch controllers
  • Fixed setting the player LED on Nintendo Switch controllers
  • Added Linux controller mapping for the Logitech Chillstream
  • Fixed appending to a file greater than 4GB in size on Windows

What's Changed

  • 2.5.0 -> 2.6.0.dev1 by @illume in https://github.com/pygame/pygame/pull/3937
  • time: Fix for set timer again by @illume in https://github.com/pygame/pygame/pull/3944
  • Mac dependency improvements by @illume in https://github.com/pygame/pygame/pull/3943
  • mixer_music: Fix flaky test by @illume in https://github.com/pygame/pygame/pull/3945
  • Fix small typo in aliens.py by @kxkw in https://github.com/pygame/pygame/pull/3950
  • Mark functions as noexcept to support Cython 3 by @matusvalo in https://github.com/pygame/pygame/pull/3956
  • fix a typo by @The-Ducks-Code in https://github.com/pygame/pygame/pull/3953
  • _sdl2: Regenerate cython c files with 3.0.0.rc2 by @illume in https://github.com/pygame/pygame/pull/3957
  • Fix grammatical mistakes in documentation by @Adithyan-cb in https://github.com/pygame/pygame/pull/3951
  • buildconfig: Bump SDL 2.28.1 for windows by @illume in https://github.com/pygame/pygame/pull/3965
  • Implemented some unittests in mixer_test.py by @BeXXsoR in https://github.com/pygame/pygame/pull/3967
  • buildconfig: manylinux: Bump SDL 2.28.1 by @illume in https://github.com/pygame/pygame/pull/3966
  • display C API docs by @illume in https://github.com/pygame/pygame/pull/3972
  • Fix typos in Vector check error messages by @shadowFAQs in https://github.com/pygame/pygame/pull/3975
  • Removed the unused global score variable by @alroyer in https://github.com/pygame/pygame/pull/3973
  • Improved documentation: how to check if python and pip are installed by @TimotheeMarreroMeyer in https://github.com/pygame/pygame/pull/3979
  • buildconfig: manylinux: Bump SDL 2.28.2 by @illume in https://github.com/pygame/pygame/pull/3981
  • Surface C API docs by @illume in https://github.com/pygame/pygame/pull/3980
  • buildconfig: Bump SDL 2.28.2 for windows by @illume in https://github.com/pygame/pygame/pull/3982
  • Fixed some minor grammatical issues; by @osborneandrewj in https://github.com/pygame/pygame/pull/3983

New Contributors

  • @kxkw made their first contribution in https://github.com/pygame/pygame/pull/3950
  • @matusvalo made their first contribution in https://github.com/pygame/pygame/pull/3956
  • @The-Ducks-Code made their first contribution in https://github.com/pygame/pygame/pull/3953
  • @Adithyan-cb made their first contribution in https://github.com/pygame/pygame/pull/3951
  • @BeXXsoR made their first contribution in https://github.com/pygame/pygame/pull/3967
  • @shadowFAQs made their first contribution in https://github.com/pygame/pygame/pull/3975
  • @alroyer made their first contribution in https://github.com/pygame/pygame/pull/3973
  • @TimotheeMarreroMeyer made their first contribution in https://github.com/pygame/pygame/pull/3979
  • @osborneandrewj made their first contribution in https://github.com/pygame/pygame/pull/3983

- C
Published by notpygame almost 3 years ago

pygame - pygame 2.5.0 - ๐Ÿฆ‹ delicious but a weird ๐Ÿ„

Amorphic non-linear soul eating ๐Ÿ„ bubble bath of sonic funsies c- ๐Ÿฆ‹ atapulted through-air in a fru- ๐Ÿ„ ity looping manner. And such l- ๐Ÿฆ‹ ike init? Description: fearless ๐Ÿ„

python3.12 -m pip install pygame -U

Less stuff is broken

As usual write about your https://github.com/pygame/pygame/issues and maybe in 8 years we can close it without comment. Or maybe, just maybe someone will fix it sooner. Maybe.

โ € โ € ๐Ÿค  ใ€€ ๐ŸŽฎ ๐ŸŽฎ ๐ŸŽฎ ๐ŸŽฎใ€€๐ŸŽฎใ€€๐ŸŽฎ Howdy. ๐Ÿ‘‡ ๐ŸŽฎ๐ŸŽฎ ๐Ÿ‘‡ I'm the sheriff ใ€€ ๐ŸŽฎใ€€๐ŸŽฎ of changes. ใ€€ ๐ŸŽฎใ€€ ๐ŸŽฎ ใ€€ ๐Ÿ‘ข ๐Ÿ‘ข

  • Wayland oh wayland, goodbye manylinux1, ciao manylinux2010 by @illume in https://github.com/pygame/pygame/pull/3841
  • github: Add python 3.12-dev to the test matrix by @illume in https://github.com/pygame/pygame/pull/3847
  • mixer: Testing by @illume in https://github.com/pygame/pygame/pull/3846
  • Add support for keyboard grab without mouse grab (expose SDL_GetWindowKeyboardGrab) by @Yannik in https://github.com/pygame/pygame/pull/3843
  • SDL 2.26.5 by @illume in https://github.com/pygame/pygame/pull/3848
  • Updated event_name function to use kwargs by @jonotassia in https://github.com/pygame/pygame/pull/3854
  • manylinux: Add Secret Rabbit Code for better sound quality by @illume in https://github.com/pygame/pygame/pull/3855
  • base: Some of it documented by @illume in https://github.com/pygame/pygame/pull/3856
  • Adding kwarg support to color.c by @jonotassia in https://github.com/pygame/pygame/pull/3858
  • Add keyword argument support to display.c by @jonotassia in https://github.com/pygame/pygame/pull/3859
  • color: Fix color.c from weird merge issue by @illume in https://github.com/pygame/pygame/pull/3862
  • SDL2 mixer 2.6.3 by @illume in https://github.com/pygame/pygame/pull/3861
  • Fix types for aliens by @illume in https://github.com/pygame/pygame/pull/3864
  • types eventlist by @illume in https://github.com/pygame/pygame/pull/3865
  • types midi by @illume in https://github.com/pygame/pygame/pull/3866
  • types video by @illume in https://github.com/pygame/pygame/pull/3867
  • examples midi: Fix some 3.10isms in the typing by @illume in https://github.com/pygame/pygame/pull/3868
  • examples: types textinput by @illume in https://github.com/pygame/pygame/pull/3870
  • examples: types scroll by @illume in https://github.com/pygame/pygame/pull/3869
  • test mixer: Fix testplaymultiple_times to be more CI friendly by @illume in https://github.com/pygame/pygame/pull/3871
  • Overhaul of README for pygame/examples by @bakkary23 in https://github.com/pygame/pygame/pull/3873
  • test time: Fix for unrealistic time slice requirement by @illume in https://github.com/pygame/pygame/pull/3878
  • time: Document and clean up a few functions by @illume in https://github.com/pygame/pygame/pull/3879
  • Added kwarg handling to rect.c by @jonotassia in https://github.com/pygame/pygame/pull/3872
  • es docs by @illume in https://github.com/pygame/pygame/pull/3884
  • Add Spanish version of bufferproxy.rst by @stefpivser in https://github.com/pygame/pygame/pull/3885
  • Add Spanish version of camera.rst by @stefpivser in https://github.com/pygame/pygame/pull/3886
  • Add Spanish version of cursors.rst by @stefpivser in https://github.com/pygame/pygame/pull/3888
  • Add Spanish version of color.rst by @stefpivser in https://github.com/pygame/pygame/pull/3889
  • Add Spanish version of cdrom.rst by @stefpivser in https://github.com/pygame/pygame/pull/3890
  • Spanish Version of c_api.rst by @stefpivser in https://github.com/pygame/pygame/pull/3893
  • Add Spanish Version of index.rst by @stefpivser in https://github.com/pygame/pygame/pull/3894
  • Add Spanish version of logos.rst by @stefpivser in https://github.com/pygame/pygame/pull/3895
  • Add Spanish Version of README.md by @stefpivser in https://github.com/pygame/pygame/pull/3896
  • Add Spanish Version of color_list.rst by @stefpivser in https://github.com/pygame/pygame/pull/3897
  • rwobject.c: Use lseek64(3) only for GNU libc by @saper in https://github.com/pygame/pygame/pull/3898
  • manylinux: Add libdecor by @illume in https://github.com/pygame/pygame/pull/3900
  • examples/stars: Improve typing by @illume in https://github.com/pygame/pygame/pull/3901
  • examples/dropevent: Fix typing issue by @illume in https://github.com/pygame/pygame/pull/3902
  • examples/dropevent: A few minor cleanups by @illume in https://github.com/pygame/pygame/pull/3904
  • examples/testsprite: Fix a few minor typing and code style issues by @illume in https://github.com/pygame/pygame/pull/3903
  • examples: Remove preventdisplaystretching and fix stars typing issue by @illume in https://github.com/pygame/pygame/pull/3905
  • es doc references fixups by @illume in https://github.com/pygame/pygame/pull/3909
  • 2.5.0.dev2 -> 2.5.0.dev3 by @illume in https://github.com/pygame/pygame/pull/3910
  • Update documentation on several events by @RyanNicoletti in https://github.com/pygame/pygame/pull/3912
  • setup buildconfig github: Add PYGAMEDETECTAVX2 to unfsk setup by @illume in https://github.com/pygame/pygame/pull/3924
  • github: Bump pypa/cibuildwheel@v2.13.1 by @illume in https://github.com/pygame/pygame/pull/3925
  • buildconfig: 3.12 part 2 - the cpython strikes back by @illume in https://github.com/pygame/pygame/pull/3927
  • key: Allow list(get_pressed()) again by @illume in https://github.com/pygame/pygame/pull/3926
  • Updating "Python Pygame Introduction" by @Ronoc21 in https://github.com/pygame/pygame/pull/3918
  • Added "Contribute" section to main README.rst by @gezeebeezee in https://github.com/pygame/pygame/pull/3919
  • docs: Remove linenos because it breaks github rendering by @illume in https://github.com/pygame/pygame/pull/3928
  • docs: Add sphinx conf for docs/es by @illume in https://github.com/pygame/pygame/pull/3929
  • Unit tests added to mixer.music test module by @LegoPCT20 in https://github.com/pygame/pygame/pull/3921
  • mixer.music: Add missing unit tests by @LegoPCT20 by @illume in https://github.com/pygame/pygame/pull/3931
  • alphablit: Add env var to warning message by @illume in https://github.com/pygame/pygame/pull/3935
  • buildconfig: SDL 2.28.0 by @illume in https://github.com/pygame/pygame/pull/3936

New Contributors

  • @Yannik made their first contribution in https://github.com/pygame/pygame/pull/3843
  • @jonotassia made their first contribution in https://github.com/pygame/pygame/pull/3854
  • @bakkary23 made their first contribution in https://github.com/pygame/pygame/pull/3873
  • @saper made their first contribution in https://github.com/pygame/pygame/pull/3898
  • @RyanNicoletti made their first contribution in https://github.com/pygame/pygame/pull/3912
  • @Ronoc21 made their first contribution in https://github.com/pygame/pygame/pull/3918
  • @gezeebeezee made their first contribution in https://github.com/pygame/pygame/pull/3919
  • @LegoPCT20 made their first contribution in https://github.com/pygame/pygame/pull/3921

https://github.com/pygame/pygame/issues

- C
Published by notpygame almost 3 years ago

pygame - pygame 2.5.0.dev2 pre-release ๐Ÿ„1UP

๐Ÿ’€

One of life's great pleasures; a pygame pre-release. For testing only.

-- Almost as good as walking on grass with your bare feet.

python -m pip install pygame==2.5.0.dev2

If you spot a bug scurrying about: https://github.com/pygame/pygame/issues



What's Changed ๐Ÿ”ช๐Ÿฉธ

  • Wayland oh wayland, goodbye manylinux1, ciao manylinux2010 by @illume in https://github.com/pygame/pygame/pull/3841
  • github: Add python 3.12-dev to the test matrix by @illume in https://github.com/pygame/pygame/pull/3847
  • mixer: Testing by @illume in https://github.com/pygame/pygame/pull/3846
  • Add support for keyboard grab without mouse grab (expose SDL_GetWindowKeyboardGrab) by @Yannik in https://github.com/pygame/pygame/pull/3843
  • SDL 2.26.5 by @illume in https://github.com/pygame/pygame/pull/3848
  • Updated event_name function to use kwargs by @jonotassia in https://github.com/pygame/pygame/pull/3854
  • manylinux: Add Secret Rabbit Code for better sound quality by @illume in https://github.com/pygame/pygame/pull/3855
  • base: Some of it documented by @illume in https://github.com/pygame/pygame/pull/3856
  • Adding kwarg support to color.c by @jonotassia in https://github.com/pygame/pygame/pull/3858
  • Add keyword argument support to display.c by @jonotassia in https://github.com/pygame/pygame/pull/3859
  • color: Fix color.c from weird merge issue by @illume in https://github.com/pygame/pygame/pull/3862
  • SDL2 mixer 2.6.3 by @illume in https://github.com/pygame/pygame/pull/3861
  • Fix types for aliens by @illume in https://github.com/pygame/pygame/pull/3864
  • types eventlist by @illume in https://github.com/pygame/pygame/pull/3865
  • types midi by @illume in https://github.com/pygame/pygame/pull/3866
  • types video by @illume in https://github.com/pygame/pygame/pull/3867
  • examples midi: Fix some 3.10isms in the typing by @illume in https://github.com/pygame/pygame/pull/3868
  • examples: types textinput by @illume in https://github.com/pygame/pygame/pull/3870
  • examples: types scroll by @illume in https://github.com/pygame/pygame/pull/3869
  • test mixer: Fix testplaymultiple_times to be more CI friendly by @illume in https://github.com/pygame/pygame/pull/3871
  • Overhaul of README for pygame/examples by @bakkary23 in https://github.com/pygame/pygame/pull/3873
  • test time: Fix for unrealistic time slice requirement by @illume in https://github.com/pygame/pygame/pull/3878
  • time: Document and clean up a few functions by @illume in https://github.com/pygame/pygame/pull/3879
  • Added kwarg handling to rect.c by @jonotassia in https://github.com/pygame/pygame/pull/3872
  • es docs by @illume in https://github.com/pygame/pygame/pull/3884
  • Add Spanish version of bufferproxy.rst by @stefpivser in https://github.com/pygame/pygame/pull/3885
  • Add Spanish version of camera.rst by @stefpivser in https://github.com/pygame/pygame/pull/3886
  • Add Spanish version of cursors.rst by @stefpivser in https://github.com/pygame/pygame/pull/3888
  • Add Spanish version of color.rst by @stefpivser in https://github.com/pygame/pygame/pull/3889
  • Add Spanish version of cdrom.rst by @stefpivser in https://github.com/pygame/pygame/pull/3890
  • Spanish Version of c_api.rst by @stefpivser in https://github.com/pygame/pygame/pull/3893
  • Add Spanish Version of index.rst by @stefpivser in https://github.com/pygame/pygame/pull/3894
  • Add Spanish version of logos.rst by @stefpivser in https://github.com/pygame/pygame/pull/3895
  • Add Spanish Version of README.md by @stefpivser in https://github.com/pygame/pygame/pull/3896
  • Add Spanish Version of color_list.rst by @stefpivser in https://github.com/pygame/pygame/pull/3897
  • rwobject.c: Use lseek64(3) only for GNU libc by @saper in https://github.com/pygame/pygame/pull/3898
  • manylinux: Add libdecor by @illume in https://github.com/pygame/pygame/pull/3900
  • examples/stars: Improve typing by @illume in https://github.com/pygame/pygame/pull/3901
  • examples/dropevent: Fix typing issue by @illume in https://github.com/pygame/pygame/pull/3902
  • examples/dropevent: A few minor cleanups by @illume in https://github.com/pygame/pygame/pull/3904
  • examples/testsprite: Fix a few minor typing and code style issues by @illume in https://github.com/pygame/pygame/pull/3903
  • examples: Remove preventdisplaystretching and fix stars typing issue by @illume in https://github.com/pygame/pygame/pull/3905
  • es doc references fixups by @illume in https://github.com/pygame/pygame/pull/3909

New Contributors

  • @Yannik made their first contribution in https://github.com/pygame/pygame/pull/3843
  • @jonotassia made their first contribution in https://github.com/pygame/pygame/pull/3854
  • @bakkary23 made their first contribution in https://github.com/pygame/pygame/pull/3873
  • @saper made their first contribution in https://github.com/pygame/pygame/pull/3898

- C
Published by notpygame almost 3 years ago

pygame - pygame 2.4.0 - ๐Ÿ‘Ÿโšฝ

๐Ÿ‘ข๐Ÿ‘ž๐Ÿ‘ก๐Ÿ‘ ๐Ÿ‘Ÿ๐Ÿฅฟ๐Ÿฅฟ๐Ÿฅพ๐Ÿฅพ๐Ÿฉฐ๐Ÿ‘ก๐Ÿ‘ก๐Ÿฅฟ๐Ÿ‘ž๐Ÿ‘Ÿ๐Ÿ‘Ÿ๐Ÿฉฐ๐Ÿ‘ ๐Ÿ‘ข๐Ÿ‘ž๐Ÿฅฟ๐Ÿฅพ๐Ÿ‘ข๐Ÿ‘ ๐Ÿ‘ ๐Ÿฉฐ ๐Ÿ‘ ๐Ÿ‘Ÿ python3 -m pip install pygame==2.4.0 ๐Ÿ‘ž๐Ÿ‘ก๐Ÿฅฟ๐Ÿ‘Ÿ๐Ÿฅพ๐Ÿ‘ก๐Ÿฉฐ๐Ÿฉฐ๐Ÿฅพ๐Ÿฉฐ๐Ÿ‘ ๐Ÿ‘ข๐Ÿ‘ข๐Ÿ‘Ÿ๐Ÿ‘ ๐Ÿฅพ๐Ÿ‘ž๐Ÿ‘ก๐Ÿ‘ข๐Ÿ‘ž๐Ÿฅฟ๐Ÿฅฟ๐Ÿ‘Ÿ๐Ÿ‘ ๐Ÿฅฟ๐Ÿ‘ 




If you notice any issues, please contribute a report here: https://github.com/pygame/pygame/issues


New SDL 2.26.x โšฝ

As well as a number of bug fixes, this version includes a new version of SDL, which includes a number of improvements in areas like vsync, game controller support, audio quality, and IME text input support.

The release notes for the SDL 2.26.x series has more information - https://github.com/libsdl-org/SDL/releases/tag/release-2.26.0 - https://github.com/libsdl-org/SDL/releases/tag/release-2.26.1 - https://github.com/libsdl-org/SDL/releases/tag/release-2.26.2 - https://github.com/libsdl-org/SDL/releases/tag/release-2.26.3 - https://github.com/libsdl-org/SDL/releases/tag/release-2.26.4 - https://github.com/libsdl-org/SDL/releases/tag/release-2.26.5

What's Changed

  • 2.3.0 -> 2.4.0.dev1 by @illume in https://github.com/pygame/pygame/pull/3760
  • Fix docs for cursors.Cursor.copy() by @MarcellPerger1 in https://github.com/pygame/pygame/pull/3762
  • base: Remove pygame_parachute by @illume in https://github.com/pygame/pygame/pull/3768
  • mouse mousegetrel: Fix for SCALED by @illume in https://github.com/pygame/pygame/pull/3769
  • github: Remove unused files by @illume in https://github.com/pygame/pygame/pull/3771
  • buildconfig: SDL 2.26.4 by @illume in https://github.com/pygame/pygame/pull/3770
  • sysfont: Fix sysfont on macos on failure of fc-list by @illume in https://github.com/pygame/pygame/pull/3772
  • 2.4.0.dev2 by @illume in https://github.com/pygame/pygame/pull/3774
  • manylinux: Add libxml, wayland, wayland-protocol dependencies by @illume in https://github.com/pygame/pygame/pull/3775
  • fixed self.pos of move method in GameObject in Moving Multiple Images by @saif-11bit in https://github.com/pygame/pygame/pull/3783
  • docs: Add Spanish version of MoveIt.rst by @stefpivser in https://github.com/pygame/pygame/pull/3810
  • docs: Add Spanish version of SpriteIntro.rst by @stefpivser in https://github.com/pygame/pygame/pull/3811
  • docs: Add Spanish version of SurfarrayIntro.rst by @stefpivser in https://github.com/pygame/pygame/pull/3812
  • docs: Add Spanish version of tom_games2.rst by @stefpivser in https://github.com/pygame/pygame/pull/3813
  • docs: Add Spanish version of tom_games3.rst by @stefpivser in https://github.com/pygame/pygame/pull/3814
  • docs: Add Spanish version of tom_games4.rst by @stefpivser in https://github.com/pygame/pygame/pull/3815
  • docs: Add Spanish version of tom_games5.rst by @stefpivser in https://github.com/pygame/pygame/pull/3816
  • docs: Add Spanish version of tom_games6.rst by @stefpivser in https://github.com/pygame/pygame/pull/3817
  • docs: Add Spanish translation of newbieguide.rst by @stefpivser in https://github.com/pygame/pygame/pull/3808
  • docs: Add Spanish version of CameraIntro.rst by @stefpivser in https://github.com/pygame/pygame/pull/3809
  • Add documentation for DualShock 5 by @Aashutosh-922 in https://github.com/pygame/pygame/pull/3797
  • Fix the signature of midi.getdeviceinfo by @SpeedyOrc-C in https://github.com/pygame/pygame/pull/3807
  • Fix some docs warnings by @illume in https://github.com/pygame/pygame/pull/3825
  • base: Document some of the things by @illume in https://github.com/pygame/pygame/pull/3826
  • Replaced dict with weakset in Sprites groups by @theRealProHacker in https://github.com/pygame/pygame/pull/3766
  • Weak sprites, part 2 by @illume in https://github.com/pygame/pygame/pull/3827
  • draw.circle: Fixes when center is -x, and bounding rect by @illume in https://github.com/pygame/pygame/pull/3779

New Contributors

  • @saif-11bit made their first contribution in https://github.com/pygame/pygame/pull/3783
  • @Aashutosh-922 made their first contribution in https://github.com/pygame/pygame/pull/3797
  • @SpeedyOrc-C made their first contribution in https://github.com/pygame/pygame/pull/3807
  • @theRealProHacker made their first contribution in https://github.com/pygame/pygame/pull/3766

- C
Published by notpygame about 3 years ago

pygame - pygame 2.4.0.dev2 pre-release - ๐Ÿ‘Ÿโšฝ

Kicking off the pygame 2.4.0 series.

๐Ÿ‘ข๐Ÿ‘ž๐Ÿ‘ก๐Ÿ‘ ๐Ÿ‘Ÿ๐Ÿฅฟ๐Ÿฅฟ๐Ÿฅพ๐Ÿฅพ๐Ÿฉฐ๐Ÿ‘ก๐Ÿ‘ก๐Ÿฅฟ๐Ÿ‘ž๐Ÿ‘Ÿ๐Ÿ‘Ÿ๐Ÿฉฐ๐Ÿ‘ ๐Ÿ‘ข๐Ÿ‘ž๐Ÿฅฟ๐Ÿฅพ๐Ÿ‘ข๐Ÿ‘ ๐Ÿ‘ ๐Ÿฉฐ ๐Ÿ‘ ๐Ÿ‘Ÿ python3 -m pip install pygame==2.4.0.dev2 ๐Ÿ‘ž๐Ÿ‘ก๐Ÿฅฟ๐Ÿ‘Ÿ๐Ÿฅพ๐Ÿ‘ก๐Ÿฉฐ๐Ÿฉฐ๐Ÿฅพ๐Ÿฉฐ๐Ÿ‘ ๐Ÿ‘ข๐Ÿ‘ข๐Ÿ‘Ÿ๐Ÿ‘ ๐Ÿฅพ๐Ÿ‘ž๐Ÿ‘ก๐Ÿ‘ข๐Ÿ‘ž๐Ÿฅฟ๐Ÿฅฟ๐Ÿ‘Ÿ๐Ÿ‘ ๐Ÿฅฟ๐Ÿ‘ 

This is a release for testing only. https://github.com/pygame/pygame/issues




New SDL 2.26.4 โšฝ

As well as a number of bug fixes, this version includes a new version of SDL, which includes a number of improvements in areas like vsync, game controller support, audio quality, and IME text input support.

The release notes for the SDL 2.26.x series has more information - https://github.com/libsdl-org/SDL/releases/tag/release-2.26.0 - https://github.com/libsdl-org/SDL/releases/tag/release-2.26.1 - https://github.com/libsdl-org/SDL/releases/tag/release-2.26.2 - https://github.com/libsdl-org/SDL/releases/tag/release-2.26.3 - https://github.com/libsdl-org/SDL/releases/tag/release-2.26.4

What's Changed

  • 2.3.0 -> 2.4.0.dev1 by @illume in https://github.com/pygame/pygame/pull/3760
  • Fix docs for cursors.Cursor.copy() by @MarcellPerger1 in https://github.com/pygame/pygame/pull/3762
  • base: Remove pygame_parachute by @illume in https://github.com/pygame/pygame/pull/3768
  • mouse mousegetrel: Fix for SCALED by @illume in https://github.com/pygame/pygame/pull/3769
  • github: Remove unused files by @illume in https://github.com/pygame/pygame/pull/3771
  • buildconfig: SDL 2.26.4 by @illume in https://github.com/pygame/pygame/pull/3770
  • sysfont: Fix sysfont on macos on failure of fc-list by @illume in https://github.com/pygame/pygame/pull/3772

- C
Published by notpygame about 3 years ago

pygame - pygame 2.3.0 - ๐ŸŒธ

๐ŸŒบ๐ŸŒป๐ŸŒน๐Ÿฅ€๐ŸŒท๐ŸŒผ๐ŸŒธ๐Ÿ’๐Ÿ’ฎ๐ŸŒบ๐ŸŒป๐ŸŒน๐Ÿฅ€๐ŸŒท๐ŸŒผ๐ŸŒธ๐Ÿ’๐Ÿ’ฎ๐ŸŒบ๐ŸŒป๐ŸŒน๐Ÿฅ€๐ŸŒท๐ŸŒผ๐ŸŒธ๐Ÿ’ ๐ŸŒผ๐ŸŒธ python3 -m pip install pygame==2.3.0 ๐ŸŒบ๐ŸŒป๐ŸŒน๐Ÿฅ€๐ŸŒท๐ŸŒผ๐ŸŒธ๐Ÿ’๐Ÿ’ฎ๐ŸŒบ๐ŸŒป๐ŸŒน๐Ÿฅ€๐ŸŒท๐ŸŒผ๐ŸŒธ๐Ÿ’๐Ÿ’ฎ๐ŸŒบ๐ŸŒป๐ŸŒน๐Ÿฅ€๐ŸŒท๐ŸŒผ๐ŸŒธ๐Ÿ’


Issue? ---> https://github.com/pygame/pygame/issues

New Contributors

  • @MarcellPerger1 made their first contribution in https://github.com/pygame/pygame/pull/3732
  • @Tobias-Fischer made their first contribution in https://github.com/pygame/pygame/pull/3663
  • @SalimBAhmed made their first contribution in https://github.com/pygame/pygame/pull/3747
  • @jhilmer made their first contribution in https://github.com/pygame/pygame/pull/3151

What's Changed

  • 2.2.0 -> 2.3.0.dev1 by @illume in https://github.com/pygame/pygame/pull/3736
  • Remove :return from sysfont._parse_font_entry_win by @MarcellPerger1 in https://github.com/pygame/pygame/pull/3732
  • Add special_flags argument to Group.draw by @MarcellPerger1 in https://github.com/pygame/pygame/pull/3722
  • Add Spanish version of ImportInit.rst by @stefpivser in https://github.com/pygame/pygame/pull/3699
  • Add Spanish version of DisplayModes.rst by @stefpivser in https://github.com/pygame/pygame/pull/3700
  • Add Spanish version of CreateGames.rst by @stefpivser in https://github.com/pygame/pygame/pull/3714
  • buildconfig: Bump SDL version to 2.24.2 on windows by @illume in https://github.com/pygame/pygame/pull/3458
  • cameraopencv: Add list_cameras implementation by @illume in https://github.com/pygame/pygame/pull/3738
  • github sdist: Do not apt-get update by @illume in https://github.com/pygame/pygame/pull/3740
  • Fixup deprecation error on MacOS 11 by @Tobias-Fischer in https://github.com/pygame/pygame/pull/3663
  • manylinux-build: Bump SDL2 to version 2.24.2 by @illume in https://github.com/pygame/pygame/pull/3741
  • cameraopencv: Add ability to pass VidCapture api_preferences by @illume in https://github.com/pygame/pygame/pull/3739
  • 2.3.0.dev2 -> 2.3.0.dev3 by @illume in https://github.com/pygame/pygame/pull/3742
  • camera: Make opencv backend default on win if cv2 imports by @illume in https://github.com/pygame/pygame/pull/3743
  • Features/rect/scaleby by @dr0id in https://github.com/pygame/pygame/pull/3077
  • Implement pygame.math.lerp by @JamesC01 in https://github.com/pygame/pygame/pull/3362
  • Defining rect assignment of floats to Rect properties by @dr0id by @illume in https://github.com/pygame/pygame/pull/3745
  • Rect: scaleby and scaleby_ip by @dr0id and @mcpalmer1980 by @illume in https://github.com/pygame/pygame/pull/3746
  • circleci: Remove config by @illume in https://github.com/pygame/pygame/pull/3748
  • docs: fix move images tutorial final example by @SalimBAhmed in https://github.com/pygame/pygame/pull/3747
  • Fix drawing of circles there intersect -+INT_MAX by @jhilmer in https://github.com/pygame/pygame/pull/3151
  • Implementation of Vector2.from_polar and ClassObjectMethod descriptor by @joaquin30 in https://github.com/pygame/pygame/pull/3744
  • github: Add back apt-get update / upgrade by @illume in https://github.com/pygame/pygame/pull/3751
  • sdl2.video: Window.fromwindow by @Rabbid76 by @illume in https://github.com/pygame/pygame/pull/3752
  • class method "fromforeignwindow" added to class "Window" by @Rabbid76 in https://github.com/pygame/pygame/pull/2982
  • draw mask: Added unit tests for testarc and testangle by @yujyuj by @illume in https://github.com/pygame/pygame/pull/3753
  • examples: Add grid movement example by @Masonstiller by @illume in https://github.com/pygame/pygame/pull/3754
  • docs: Fix a few sphinx warnings by @illume in https://github.com/pygame/pygame/pull/3759
  • Fix segfaults when using display surface after calling pygame.quit by @MarcellPerger1 in https://github.com/pygame/pygame/pull/3755

- C
Published by notpygame about 3 years ago

pygame - pygame 2.3.0.dev2 - ๐ŸŒธ

๐ŸŒบ๐ŸŒป๐ŸŒน๐Ÿฅ€๐ŸŒท๐ŸŒผ๐ŸŒธ๐Ÿ’๐Ÿ’ฎ๐ŸŒบ๐ŸŒป๐ŸŒน๐Ÿฅ€๐ŸŒท๐ŸŒผ๐ŸŒธ๐Ÿ’๐Ÿ’ฎ๐ŸŒบ๐ŸŒป๐ŸŒน๐Ÿฅ€๐ŸŒท๐ŸŒผ๐ŸŒธ๐Ÿ’ ๐ŸŒผ๐ŸŒธ python3 -m pip install pygame==2.3.0.dev2 ๐ŸŒบ๐ŸŒป๐ŸŒน๐Ÿฅ€๐ŸŒท๐ŸŒผ๐ŸŒธ๐Ÿ’๐Ÿ’ฎ๐ŸŒบ๐ŸŒป๐ŸŒน๐Ÿฅ€๐ŸŒท๐ŸŒผ๐ŸŒธ๐Ÿ’๐Ÿ’ฎ๐ŸŒบ๐ŸŒป๐ŸŒน๐Ÿฅ€๐ŸŒท๐ŸŒผ๐ŸŒธ๐Ÿ’


Issue? ---> https://github.com/pygame/pygame/issues k thnx

New Contributors

  • @MarcellPerger1 made their first contribution in https://github.com/pygame/pygame/pull/3732
  • @Tobias-Fischer made their first contribution in https://github.com/pygame/pygame/pull/3663

What's Changed

  • 2.2.0 -> 2.3.0.dev1 by @illume in https://github.com/pygame/pygame/pull/3736
  • Remove :return from sysfont._parse_font_entry_win by @MarcellPerger1 in https://github.com/pygame/pygame/pull/3732
  • Add special_flags argument to Group.draw by @MarcellPerger1 in https://github.com/pygame/pygame/pull/3722
  • Add Spanish version of ImportInit.rst by @stefpivser in https://github.com/pygame/pygame/pull/3699
  • Add Spanish version of DisplayModes.rst by @stefpivser in https://github.com/pygame/pygame/pull/3700
  • Add Spanish version of CreateGames.rst by @stefpivser in https://github.com/pygame/pygame/pull/3714
  • buildconfig: Bump SDL version to 2.24.2 on windows by @illume in https://github.com/pygame/pygame/pull/3458
  • cameraopencv: Add list_cameras implementation by @illume in https://github.com/pygame/pygame/pull/3738
  • github sdist: Do not apt-get update by @illume in https://github.com/pygame/pygame/pull/3740
  • Fixup deprecation error on MacOS 11 by @Tobias-Fischer in https://github.com/pygame/pygame/pull/3663
  • manylinux-build: Bump SDL2 to version 2.24.2 by @illume in https://github.com/pygame/pygame/pull/3741
  • cameraopencv: Add ability to pass VidCapture api_preferences by @illume in https://github.com/pygame/pygame/pull/3739

๐Ÿ‘Ÿ๐Ÿฅฟ๐Ÿ‘ ๐Ÿฅพ

- C
Published by notpygame about 3 years ago

pygame - pygame 2.2.0 - ๐Ÿ’€

๐Ÿ’€

๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด ๐Ÿ‘ปpython3 -m pip install pygame==2.2.0 ๐Ÿ’€๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด๐Ÿ’€๐Ÿ‘ป

Please file an issue if you notice a problem: https://github.com/pygame/pygame/issues

New Contributors

  • @pgattic made their first contribution in https://github.com/pygame/pygame/pull/3554
  • @winterhazel made their first contribution in https://github.com/pygame/pygame/pull/3562
  • @Koswu made their first contribution in https://github.com/pygame/pygame/pull/3563
  • @yunline made their first contribution in https://github.com/pygame/pygame/pull/3568
  • @CodeMaster7000 made their first contribution in https://github.com/pygame/pygame/pull/3625
  • @SmashedFrenzy16 made their first contribution in https://github.com/pygame/pygame/pull/3638
  • @TheVroum made their first contribution in https://github.com/pygame/pygame/pull/3595
  • @chimosky made their first contribution in https://github.com/pygame/pygame/pull/3694
  • @Librichard made their first contribution in https://github.com/pygame/pygame/pull/3648
  • @fladd made their first contribution in https://github.com/pygame/pygame/pull/3609
  • @mgiessing made their first contribution in https://github.com/pygame/pygame/pull/3605
  • @ChristianKearns made their first contribution in https://github.com/pygame/pygame/pull/3710
  • @ScriptLineStudios made their first contribution in https://github.com/pygame/pygame/pull/3556
  • @Rabbid76 made their first contribution in https://github.com/pygame/pygame/pull/2981
  • @joaquin30 made their first contribution in https://github.com/pygame/pygame/pull/3727

What's Changed

  • docs: Add experimental feedback links to new APIs by @illume in https://github.com/pygame/pygame/pull/3511
  • 2.1.4.dev1 by @illume in https://github.com/pygame/pygame/pull/3514
  • Fix 2.1.4 build by @Starbuck5 in https://github.com/pygame/pygame/pull/3529
  • Change from clang-format update (needed for CI) by @MyreMylar in https://github.com/pygame/pygame/pull/3535
  • Fix memory leak for distance_to() by @novialriptide in https://github.com/pygame/pygame/pull/3532
  • Fixed inconsistency in tp_names, changed all to pygame.module.Type by @Matiiss in https://github.com/pygame/pygame/pull/3515
  • Add 3.11 classifier by @novialriptide in https://github.com/pygame/pygame/pull/3537
  • Tracking SSE2 Optimisations by @PurityLake in https://github.com/pygame/pygame/pull/3370
  • Tweaking version getters for sdl modules and freetype by @oddbookworm in https://github.com/pygame/pygame/pull/3379
  • Warn when SIMD is usable but not compiled by @ankith26 in https://github.com/pygame/pygame/pull/3501
  • Changed minor name mismatch by @Matiiss in https://github.com/pygame/pygame/pull/3544
  • Document SDL_JOYSTICK_ALLOW_BACKGROUND_EVENTS by @zoldalma999 in https://github.com/pygame/pygame/pull/3546
  • Move pgtuplefromvaluesint into header, rename & add triple variant by @MyreMylar in https://github.com/pygame/pygame/pull/3530
  • mouse.getpos(), mouse.getrel() optimizations by @itzpr3d4t0r in https://github.com/pygame/pygame/pull/3424
  • Minor typo in the "pygame.Color" docs by @pgattic in https://github.com/pygame/pygame/pull/3554
  • Remove Python < 3.2 compatibility shim by @Starbuck5 in https://github.com/pygame/pygame/pull/3553
  • docs: fix links by @Linkid in https://github.com/pygame/pygame/pull/3549
  • Fix typo in music.rst by @winterhazel in https://github.com/pygame/pygame/pull/3562
  • Delete testtest.py by @Koswu in https://github.com/pygame/pygame/pull/3563
  • Add info on viewing pygame docs locally by @novialriptide in https://github.com/pygame/pygame/pull/3558
  • Modify key compat table to store key-name pairs (fixes a rare bug) by @ankith26 in https://github.com/pygame/pygame/pull/3426
  • Adjust surface masks to create a proper 24 bit Surface by @Starbuck5 in https://github.com/pygame/pygame/pull/3577
  • Add vector zero constructor clarification by @novialriptide in https://github.com/pygame/pygame/pull/3574
  • Minor pygame.math doc enhancements by @Matiiss in https://github.com/pygame/pygame/pull/3581
  • Improved colliderect() function by @itzpr3d4t0r in https://github.com/pygame/pygame/pull/3322
  • Add VScode? _headers/ folder to gitignore by @Starbuck5 in https://github.com/pygame/pygame/pull/3587
  • Remove LGTM badges by @novialriptide in https://github.com/pygame/pygame/pull/3599
  • Fix list_cameras being empty on linux by @ankith26 in https://github.com/pygame/pygame/pull/3594
  • Fix some more math memory leaks by @ankith26 in https://github.com/pygame/pygame/pull/3590
  • Use Python 3.11.0 rather than 3.11rc2 by @Starbuck5 in https://github.com/pygame/pygame/pull/3611
  • Add quickstart section to docs front page by @Starbuck5 in https://github.com/pygame/pygame/pull/3541
  • Add premul_alpha method to surface by @MyreMylar in https://github.com/pygame/pygame/pull/3276
  • Add "window" attribute to DROPFILE and DROPTEXT event by @yunline in https://github.com/pygame/pygame/pull/3568
  • Fix minor grammar and punctuation mistakes in tom_games6.rst by @cvionis in https://github.com/pygame/pygame/pull/3616
  • Added __round__ method for vectors by @Matiiss in https://github.com/pygame/pygame/pull/3559
  • Segfault fix in freetype.get_version by @oddbookworm in https://github.com/pygame/pygame/pull/3567
  • Convert surface to texture's pixel format in Texture.update by @zoldalma999 in https://github.com/pygame/pygame/pull/3548
  • Performance improvement for draw.circle by @MightyJosip in https://github.com/pygame/pygame/pull/3550
  • Fix build errors on win_arm64 by @cgohlke in https://github.com/pygame/pygame/pull/3583
  • Consolidate SSE2 and NEON code paths by @Starbuck5 in https://github.com/pygame/pygame/pull/3588
  • Correct set_(shifts/masks) docs and cleanup code by @Starbuck5 in https://github.com/pygame/pygame/pull/3620
  • Update README.rst by @CodeMaster7000 in https://github.com/pygame/pygame/pull/3625
  • Deprecate gamma and _sdl2 window brightness functionality by @SSS-Says-Snek in https://github.com/pygame/pygame/pull/3622
  • Change all (to|from)string to (to|from)bytes in image.c by @Matiiss in https://github.com/pygame/pygame/pull/3633
  • Update docs generation to sphinx 6.0 by @MyreMylar in https://github.com/pygame/pygame/pull/3647
  • Raise minimum SDL version to 2.0.8 by @Starbuck5 in https://github.com/pygame/pygame/pull/3618
  • Replace music.set_pos current error message with SDL_GetError() by @Matiiss in https://github.com/pygame/pygame/pull/3641
  • Fixed typo in pygame.image.tobytes docs by @oddbookworm in https://github.com/pygame/pygame/pull/3657
  • Update README.rst by @SmashedFrenzy16 in https://github.com/pygame/pygame/pull/3638
  • fixed segfault by @oddbookworm in https://github.com/pygame/pygame/pull/3666
  • Fix event button attr for fast mousewheel by @ankith26 in https://github.com/pygame/pygame/pull/3642
  • Change casting to list to using copy in pygame.sprite by @Matiiss in https://github.com/pygame/pygame/pull/3655
  • Removing redudancy in regex by @TheVroum in https://github.com/pygame/pygame/pull/3595
  • Remove bit of MIR code by @Starbuck5 in https://github.com/pygame/pygame/pull/3617
  • Fix scrap typing (use only bytes and not AnyStr) by @ankith26 in https://github.com/pygame/pygame/pull/3395
  • wasm: clean up for #3439 by @pmp-p in https://github.com/pygame/pygame/pull/3593
  • Syntax highlighting fix by @novialriptide in https://github.com/pygame/pygame/pull/3684
  • Port SDL_ttf text shaping capability by @Starbuck5 in https://github.com/pygame/pygame/pull/3330
  • Fix the memory leak by @Starbuck5 in https://github.com/pygame/pygame/pull/3649
  • Update linter ubuntu version by @MyreMylar in https://github.com/pygame/pygame/pull/3689
  • Linter run by @novialriptide in https://github.com/pygame/pygame/pull/3695
  • Correct update statement by @chimosky in https://github.com/pygame/pygame/pull/3694
  • Update sprite.rst by @Librichard in https://github.com/pygame/pygame/pull/3648
  • Re-order display fullscreen handling and ensure toggle_fullscreen works for maximized window by @Temmie3754 in https://github.com/pygame/pygame/pull/3497
  • Fix the fault of stubtest by @yunline in https://github.com/pygame/pygame/pull/3703
  • Don't set adaptive vsync by default by @fladd in https://github.com/pygame/pygame/pull/3609
  • Add support for ppc64le by @mgiessing in https://github.com/pygame/pygame/pull/3605
  • Example games fixed | Fixed UnicodeDecodeError for musicdropfade.pyโ€ฆ by @Vazno in https://github.com/pygame/pygame/pull/3387
  • Updated README.rst to include feature description by @ChristianKearns in https://github.com/pygame/pygame/pull/3710
  • pgScancodeWrapper now raises exception when trying to use iter by @PurityLake in https://github.com/pygame/pygame/pull/3495
  • Suggested improvement to font_init by @PurityLake in https://github.com/pygame/pygame/pull/3489
  • grayscale for Surfaces and Colors by @ScriptLineStudios in https://github.com/pygame/pygame/pull/3556
  • "SDL_CreateWindowFrom" in "display" module by @Rabbid76 in https://github.com/pygame/pygame/pull/2981
  • github build-macos: Add pkg-config dependency by @illume in https://github.com/pygame/pygame/pull/3716
  • Fix SDL_WINDOWID with SDL by @Rabbid76 by @illume in https://github.com/pygame/pygame/pull/3718
  • Add grayscale for surfaces and colors by @ScriptLineStudios by @illume in https://github.com/pygame/pygame/pull/3717
  • 2.1.3 -> 2.2.0.dev1 by @illume in https://github.com/pygame/pygame/pull/3711
  • Add a simple check for mypy by @illume in https://github.com/pygame/pygame/pull/3723
  • manylinux: Revert compiling harfbuzz on MacOS by @illume in https://github.com/pygame/pygame/pull/3724
  • manylinux: Add more pythons to be built with by @illume in https://github.com/pygame/pygame/pull/3725
  • Fix of inverted boolean of borderless window property by @joaquin30 in https://github.com/pygame/pygame/pull/3727
  • That time numpy was giving me grief by @illume in https://github.com/pygame/pygame/pull/3731

Please file an issue if you notice a problem: https://github.com/pygame/pygame/issues

- C
Published by notpygame over 3 years ago

pygame - pygame 2.2.0.dev2 - a testing release ๐Ÿฆด

๐Ÿฆด

๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด ๐Ÿ‘ปpython3 -m pip install pygame==2.2.0.dev2 ๐Ÿ’€๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด๐Ÿ’€๐Ÿฆด

This release is for testing.

Please file an issue if you notice a problem: https://github.com/pygame/pygame/issues

New Contributors

  • @pgattic made their first contribution in https://github.com/pygame/pygame/pull/3554
  • @winterhazel made their first contribution in https://github.com/pygame/pygame/pull/3562
  • @Koswu made their first contribution in https://github.com/pygame/pygame/pull/3563
  • @yunline made their first contribution in https://github.com/pygame/pygame/pull/3568
  • @CodeMaster7000 made their first contribution in https://github.com/pygame/pygame/pull/3625
  • @SmashedFrenzy16 made their first contribution in https://github.com/pygame/pygame/pull/3638
  • @TheVroum made their first contribution in https://github.com/pygame/pygame/pull/3595
  • @chimosky made their first contribution in https://github.com/pygame/pygame/pull/3694
  • @Librichard made their first contribution in https://github.com/pygame/pygame/pull/3648
  • @fladd made their first contribution in https://github.com/pygame/pygame/pull/3609
  • @mgiessing made their first contribution in https://github.com/pygame/pygame/pull/3605
  • @ChristianKearns made their first contribution in https://github.com/pygame/pygame/pull/3710
  • @ScriptLineStudios made their first contribution in https://github.com/pygame/pygame/pull/3556
  • @Rabbid76 made their first contribution in https://github.com/pygame/pygame/pull/2981
  • @joaquin30 made their first contribution in https://github.com/pygame/pygame/pull/3727

What's Changed

  • docs: Add experimental feedback links to new APIs by @illume in https://github.com/pygame/pygame/pull/3511
  • 2.1.4.dev1 by @illume in https://github.com/pygame/pygame/pull/3514
  • Fix 2.1.4 build by @Starbuck5 in https://github.com/pygame/pygame/pull/3529
  • Change from clang-format update (needed for CI) by @MyreMylar in https://github.com/pygame/pygame/pull/3535
  • Fix memory leak for distance_to() by @novialriptide in https://github.com/pygame/pygame/pull/3532
  • Fixed inconsistency in tp_names, changed all to pygame.module.Type by @Matiiss in https://github.com/pygame/pygame/pull/3515
  • Add 3.11 classifier by @novialriptide in https://github.com/pygame/pygame/pull/3537
  • Tracking SSE2 Optimisations by @PurityLake in https://github.com/pygame/pygame/pull/3370
  • Tweaking version getters for sdl modules and freetype by @oddbookworm in https://github.com/pygame/pygame/pull/3379
  • Warn when SIMD is usable but not compiled by @ankith26 in https://github.com/pygame/pygame/pull/3501
  • Changed minor name mismatch by @Matiiss in https://github.com/pygame/pygame/pull/3544
  • Document SDL_JOYSTICK_ALLOW_BACKGROUND_EVENTS by @zoldalma999 in https://github.com/pygame/pygame/pull/3546
  • Move pgtuplefromvaluesint into header, rename & add triple variant by @MyreMylar in https://github.com/pygame/pygame/pull/3530
  • mouse.getpos(), mouse.getrel() optimizations by @itzpr3d4t0r in https://github.com/pygame/pygame/pull/3424
  • Minor typo in the "pygame.Color" docs by @pgattic in https://github.com/pygame/pygame/pull/3554
  • Remove Python < 3.2 compatibility shim by @Starbuck5 in https://github.com/pygame/pygame/pull/3553
  • docs: fix links by @Linkid in https://github.com/pygame/pygame/pull/3549
  • Fix typo in music.rst by @winterhazel in https://github.com/pygame/pygame/pull/3562
  • Delete testtest.py by @Koswu in https://github.com/pygame/pygame/pull/3563
  • Add info on viewing pygame docs locally by @novialriptide in https://github.com/pygame/pygame/pull/3558
  • Modify key compat table to store key-name pairs (fixes a rare bug) by @ankith26 in https://github.com/pygame/pygame/pull/3426
  • Adjust surface masks to create a proper 24 bit Surface by @Starbuck5 in https://github.com/pygame/pygame/pull/3577
  • Add vector zero constructor clarification by @novialriptide in https://github.com/pygame/pygame/pull/3574
  • Minor pygame.math doc enhancements by @Matiiss in https://github.com/pygame/pygame/pull/3581
  • Improved colliderect() function by @itzpr3d4t0r in https://github.com/pygame/pygame/pull/3322
  • Add VScode? _headers/ folder to gitignore by @Starbuck5 in https://github.com/pygame/pygame/pull/3587
  • Remove LGTM badges by @novialriptide in https://github.com/pygame/pygame/pull/3599
  • Fix list_cameras being empty on linux by @ankith26 in https://github.com/pygame/pygame/pull/3594
  • Fix some more math memory leaks by @ankith26 in https://github.com/pygame/pygame/pull/3590
  • Use Python 3.11.0 rather than 3.11rc2 by @Starbuck5 in https://github.com/pygame/pygame/pull/3611
  • Add quickstart section to docs front page by @Starbuck5 in https://github.com/pygame/pygame/pull/3541
  • Add premul_alpha method to surface by @MyreMylar in https://github.com/pygame/pygame/pull/3276
  • Add "window" attribute to DROPFILE and DROPTEXT event by @yunline in https://github.com/pygame/pygame/pull/3568
  • Fix minor grammar and punctuation mistakes in tom_games6.rst by @cvionis in https://github.com/pygame/pygame/pull/3616
  • Added __round__ method for vectors by @Matiiss in https://github.com/pygame/pygame/pull/3559
  • Segfault fix in freetype.get_version by @oddbookworm in https://github.com/pygame/pygame/pull/3567
  • Convert surface to texture's pixel format in Texture.update by @zoldalma999 in https://github.com/pygame/pygame/pull/3548
  • Performance improvement for draw.circle by @MightyJosip in https://github.com/pygame/pygame/pull/3550
  • Fix build errors on win_arm64 by @cgohlke in https://github.com/pygame/pygame/pull/3583
  • Consolidate SSE2 and NEON code paths by @Starbuck5 in https://github.com/pygame/pygame/pull/3588
  • Correct set_(shifts/masks) docs and cleanup code by @Starbuck5 in https://github.com/pygame/pygame/pull/3620
  • Update README.rst by @CodeMaster7000 in https://github.com/pygame/pygame/pull/3625
  • Deprecate gamma and _sdl2 window brightness functionality by @SSS-Says-Snek in https://github.com/pygame/pygame/pull/3622
  • Change all (to|from)string to (to|from)bytes in image.c by @Matiiss in https://github.com/pygame/pygame/pull/3633
  • Update docs generation to sphinx 6.0 by @MyreMylar in https://github.com/pygame/pygame/pull/3647
  • Raise minimum SDL version to 2.0.8 by @Starbuck5 in https://github.com/pygame/pygame/pull/3618
  • Replace music.set_pos current error message with SDL_GetError() by @Matiiss in https://github.com/pygame/pygame/pull/3641
  • Fixed typo in pygame.image.tobytes docs by @oddbookworm in https://github.com/pygame/pygame/pull/3657
  • Update README.rst by @SmashedFrenzy16 in https://github.com/pygame/pygame/pull/3638
  • fixed segfault by @oddbookworm in https://github.com/pygame/pygame/pull/3666
  • Fix event button attr for fast mousewheel by @ankith26 in https://github.com/pygame/pygame/pull/3642
  • Change casting to list to using copy in pygame.sprite by @Matiiss in https://github.com/pygame/pygame/pull/3655
  • Removing redudancy in regex by @TheVroum in https://github.com/pygame/pygame/pull/3595
  • Remove bit of MIR code by @Starbuck5 in https://github.com/pygame/pygame/pull/3617
  • Fix scrap typing (use only bytes and not AnyStr) by @ankith26 in https://github.com/pygame/pygame/pull/3395
  • wasm: clean up for #3439 by @pmp-p in https://github.com/pygame/pygame/pull/3593
  • Syntax highlighting fix by @novialriptide in https://github.com/pygame/pygame/pull/3684
  • Port SDL_ttf text shaping capability by @Starbuck5 in https://github.com/pygame/pygame/pull/3330
  • Fix the memory leak by @Starbuck5 in https://github.com/pygame/pygame/pull/3649
  • Update linter ubuntu version by @MyreMylar in https://github.com/pygame/pygame/pull/3689
  • Linter run by @novialriptide in https://github.com/pygame/pygame/pull/3695
  • Correct update statement by @chimosky in https://github.com/pygame/pygame/pull/3694
  • Update sprite.rst by @Librichard in https://github.com/pygame/pygame/pull/3648
  • Re-order display fullscreen handling and ensure toggle_fullscreen works for maximized window by @Temmie3754 in https://github.com/pygame/pygame/pull/3497
  • Fix the fault of stubtest by @yunline in https://github.com/pygame/pygame/pull/3703
  • Don't set adaptive vsync by default by @fladd in https://github.com/pygame/pygame/pull/3609
  • Add support for ppc64le by @mgiessing in https://github.com/pygame/pygame/pull/3605
  • Example games fixed | Fixed UnicodeDecodeError for musicdropfade.pyโ€ฆ by @Vazno in https://github.com/pygame/pygame/pull/3387
  • Updated README.rst to include feature description by @ChristianKearns in https://github.com/pygame/pygame/pull/3710
  • pgScancodeWrapper now raises exception when trying to use iter by @PurityLake in https://github.com/pygame/pygame/pull/3495
  • Suggested improvement to font_init by @PurityLake in https://github.com/pygame/pygame/pull/3489
  • grayscale for Surfaces and Colors by @ScriptLineStudios in https://github.com/pygame/pygame/pull/3556
  • "SDL_CreateWindowFrom" in "display" module by @Rabbid76 in https://github.com/pygame/pygame/pull/2981
  • github build-macos: Add pkg-config dependency by @illume in https://github.com/pygame/pygame/pull/3716
  • Fix SDL_WINDOWID with SDL by @Rabbid76 by @illume in https://github.com/pygame/pygame/pull/3718
  • Add grayscale for surfaces and colors by @ScriptLineStudios by @illume in https://github.com/pygame/pygame/pull/3717
  • 2.1.3 -> 2.2.0.dev1 by @illume in https://github.com/pygame/pygame/pull/3711
  • Add a simple check for mypy by @illume in https://github.com/pygame/pygame/pull/3723
  • manylinux: Revert compiling harfbuzz on MacOS by @illume in https://github.com/pygame/pygame/pull/3724
  • manylinux: Add more pythons to be built with by @illume in https://github.com/pygame/pygame/pull/3725
  • Fix of inverted boolean of borderless window property by @joaquin30 in https://github.com/pygame/pygame/pull/3727
  • That time numpy was giving me grief by @illume in https://github.com/pygame/pygame/pull/3731

Please file an issue if you notice a problem: https://github.com/pygame/pygame/issues

- C
Published by notpygame over 3 years ago

pygame - pygame 2.1.3 - make it count

pygame so there

๐ŸŒน โŠ‚_ใƒฝ ใ€€ ๏ผผ๏ผผ ใ€€ใ€€ ๏ผผ( อกยฐ อœส– อกยฐ) ใ€€ใ€€ใ€€ >ใ€€โŒ’ใƒฝ ใ€€ใ€€ใ€€/ ใ€€ ใธ๏ผผ ใ€€ใ€€ /ใ€€ใ€€/ใ€€๏ผผ๏ผผ ใ€€ใ€€ ๏พšใ€€ใƒŽใ€€ใ€€ ใƒฝใค python -m pip install -U pygame==2.1.3 --user ใ€€ใ€€/ใ€€/ ใ€€ /ใ€€/| ใ€€(ใ€€(ใƒฝ ใ€€|ใ€€|ใ€๏ผผ ใ€€| ไธฟ ๏ผผ โŒ’) ใ€€| |ใ€€ใ€€) / ใƒŽ )ใ€€ใ€€L๏พ‰ (๏ผ | |_____________________________________________________________ ```        60 contributors, 34 new contributors

New Contributors

  • @SergioArnaud made their first contribution in https://github.com/pygame/pygame/pull/2975
  • @JovialKnoll made their first contribution in https://github.com/pygame/pygame/pull/3000
  • @eoghanriley made their first contribution in https://github.com/pygame/pygame/pull/3022
  • @gresm made their first contribution in https://github.com/pygame/pygame/pull/3027
  • @ThanhChinhBK made their first contribution in https://github.com/pygame/pygame/pull/3028
  • @GregoryMorse made their first contribution in https://github.com/pygame/pygame/pull/3053
  • @thanice made their first contribution in https://github.com/pygame/pygame/pull/3037
  • @blankRiot96 made their first contribution in https://github.com/pygame/pygame/pull/3050
  • @wxh06 made their first contribution in https://github.com/pygame/pygame/pull/3073
  • @SnoopJ made their first contribution in https://github.com/pygame/pygame/pull/2661
  • @brccabral made their first contribution in https://github.com/pygame/pygame/pull/3111
  • @mariospapaz made their first contribution in https://github.com/pygame/pygame/pull/3095
  • @JoshuaDRose made their first contribution in https://github.com/pygame/pygame/pull/3154
  • @dbrown3562 made their first contribution in https://github.com/pygame/pygame/pull/3146
  • @elgcodes made their first contribution in https://github.com/pygame/pygame/pull/3164
  • @EunhoKang made their first contribution in https://github.com/pygame/pygame/pull/3176
  • @Yvant2000 made their first contribution in https://github.com/pygame/pygame/pull/3182
  • @kharissa made their first contribution in https://github.com/pygame/pygame/pull/3205
  • @StarDexterity made their first contribution in https://github.com/pygame/pygame/pull/3263
  • @SSS-Says-Snek made their first contribution in https://github.com/pygame/pygame/pull/3266
  • @ryanking13 made their first contribution in https://github.com/pygame/pygame/pull/3280
  • @kevin-pease made their first contribution in https://github.com/pygame/pygame/pull/3281
  • @Vicky-Vicky27 made their first contribution in https://github.com/pygame/pygame/pull/3286
  • @fQ7N made their first contribution in https://github.com/pygame/pygame/pull/3298
  • @rlatowicz made their first contribution in https://github.com/pygame/pygame/pull/3338
  • @Emc2356 made their first contribution in https://github.com/pygame/pygame/pull/3321
  • @JamesC01 made their first contribution in https://github.com/pygame/pygame/pull/3326
  • @Vazno made their first contribution in https://github.com/pygame/pygame/pull/3382
  • @lebedevhhh made their first contribution in https://github.com/pygame/pygame/pull/3391
  • @stefpivser made their first contribution in https://github.com/pygame/pygame/pull/3421
  • @pycoinfu made their first contribution in https://github.com/pygame/pygame/pull/3455
  • @muelletm made their first contribution in https://github.com/pygame/pygame/pull/3485
  • @Temmie3754 made their first contribution in https://github.com/pygame/pygame/pull/3494
  • @cvionis made their first contribution in https://github.com/pygame/pygame/pull/3504

What's Changed

  • 2.1.2 by @illume in https://github.com/pygame/pygame/pull/2957
  • Fix path dependencies by @SergioArnaud in https://github.com/pygame/pygame/pull/2975
  • Add test for pygame.locals by @ankith26 in https://github.com/pygame/pygame/pull/2958
  • Fix Pygame imported class typehints by @MightyJosip in https://github.com/pygame/pygame/pull/2965
  • Fix some bugs in camera.py by @ankith26 in https://github.com/pygame/pygame/pull/2961
  • Clean modinit C code, fix bugs, use recommended API by @ankith26 in https://github.com/pygame/pygame/pull/2952
  • Python2 to Python3 code modernization by @novialriptide in https://github.com/pygame/pygame/pull/2984
  • SDL 2.0.20 by @illume in https://github.com/pygame/pygame/pull/2983
  • Update the image doc, delineate bytes and str by @Starbuck5 in https://github.com/pygame/pygame/pull/2959
  • Add pixel format name into display info by @MyreMylar in https://github.com/pygame/pygame/pull/2964
  • Add missing copy test for Vector3 by @JovialKnoll in https://github.com/pygame/pygame/pull/3000
  • New black formatting by @novialriptide in https://github.com/pygame/pygame/pull/3013
  • Misc fixes: Fix UCS_4 UCS4 typo, incorrect color methods export and display.c error handling bugs by @ankith26 in https://github.com/pygame/pygame/pull/2987
  • Snake casify _sdl2.video.Image.flipX and .flipY by @avaxar in https://github.com/pygame/pygame/pull/2978
  • Removed unused imports by @novialriptide in https://github.com/pygame/pygame/pull/3016
  • Fix warnings, make warnings error on CI by @ankith26 in https://github.com/pygame/pygame/pull/2919
  • Added Rect typing and docs that it is iterable by @novialriptide in https://github.com/pygame/pygame/pull/2969
  • Fix there typo in tests.rst by @eoghanriley in https://github.com/pygame/pygame/pull/3022
  • C code cleanups + cdrom/overlay removal by @Starbuck5 in https://github.com/pygame/pygame/pull/3014
  • Make sure surfaces start as opaque black. (MacOS) by @Starbuck5 in https://github.com/pygame/pygame/pull/2973
  • Add transform.scaleby, transform.smoothscaleby functions by @Starbuck5 in https://github.com/pygame/pygame/pull/2723
  • Fix typo in C_api display docs by @gresm in https://github.com/pygame/pygame/pull/3027
  • Font rwops by @Starbuck5 in https://github.com/pygame/pygame/pull/2911
  • transform.averagecolor: Add optional parameter 'consideralpha' to remove black artifacts if alpha present by @dr0id in https://github.com/pygame/pygame/pull/2968
  • pygame.docs: remove warning in docs generation due to a reference toโ€ฆ by @dr0id in https://github.com/pygame/pygame/pull/3029
  • Add __new__ and __init__ functions for some types by @zoldalma999 in https://github.com/pygame/pygame/pull/3001
  • Regenerate cython files by @ankith26 in https://github.com/pygame/pygame/pull/3032
  • 2.1.3.dev2 by @illume in https://github.com/pygame/pygame/pull/3039
  • Add .move_towards() for Vector2 and Vector3 by @novialriptide in https://github.com/pygame/pygame/pull/2929
  • Save Surfaces with palettes as indexed 8P PNG by @ThanhChinhBK in https://github.com/pygame/pygame/pull/3028
  • Rect collidelistall unittests added and updated docs to document different argument types by @dr0id in https://github.com/pygame/pygame/pull/2989
  • Add some more events by @ankith26 in https://github.com/pygame/pygame/pull/2953
  • Fix bufferproxy doc typo by @gresm in https://github.com/pygame/pygame/pull/3044
  • VideoInfo string missing closing parenthesis by @GregoryMorse in https://github.com/pygame/pygame/pull/3053
  • Fix stubtest warnings, run stubtest on CI by @ankith26 in https://github.com/pygame/pygame/pull/2999
  • Cursors example improvements - including showing new system, color, and image cursors by @thanice in https://github.com/pygame/pygame/pull/3037
  • Improve example textinput by @blankRiot96 in https://github.com/pygame/pygame/pull/3050
  • Use github downloads for windows prebuilts downloads by @illume in https://github.com/pygame/pygame/pull/3059
  • 2.1.3.dev4 and 2.1.3dev5 by @illume in https://github.com/pygame/pygame/pull/3060
  • Fix more typestub warnings with dunders by @ankith26 in https://github.com/pygame/pygame/pull/3075
  • Fix APPMOUSEFOCUS naming, update const values by @ankith26 in https://github.com/pygame/pygame/pull/3043
  • Pkgdata import in init for PyInstaller by @Starbuck5 in https://github.com/pygame/pygame/pull/3082
  • Fix logos page by @Grimmys in https://github.com/pygame/pygame/pull/2977
  • Fix segfault in resource loading function by @ankith26 in https://github.com/pygame/pygame/pull/3089
  • Fix pygame logo image in README.rst by @novialriptide in https://github.com/pygame/pygame/pull/3090
  • Add black badge by @novialriptide in https://github.com/pygame/pygame/pull/3091
  • Use static dot declarations for type objects by @ankith26 in https://github.com/pygame/pygame/pull/3067
  • Windows prebuilts updates with freetype and SDL_ttf 2.0.18 by @Starbuck5 in https://github.com/pygame/pygame/pull/3086
  • Get rid of sprintf calls in the codebase by @ankith26 in https://github.com/pygame/pygame/pull/3041
  • Fix and normalize function pointer calls for METH_NOARGS by @pmp-p in https://github.com/pygame/pygame/pull/3080
  • Update list of datafiles in generated docs by @wxh06 in https://github.com/pygame/pygame/pull/3073
  • Improve draw doc accuracy and example style by @Starbuck5 in https://github.com/pygame/pygame/pull/3074
  • Check SDL version earlier, report known incompat (closes #2657) by @SnoopJ in https://github.com/pygame/pygame/pull/2661
  • Lint/format examples/*.py by @Starbuck5 in https://github.com/pygame/pygame/pull/3093
  • Fix missing pointer cast fix by @pmp-p in https://github.com/pygame/pygame/pull/3104
  • Add a .clamp_magnitude() to Vector2 and Vector3 by @novialriptide in https://github.com/pygame/pygame/pull/2990
  • examples/mask.py change default image to one with alpha channel by @brccabral in https://github.com/pygame/pygame/pull/3111
  • Fix mousegetpos takes no argument by @pmp-p in https://github.com/pygame/pygame/pull/3115
  • Small fixes to the documentation header by @hnrkcode in https://github.com/pygame/pygame/pull/3094
  • Rect and Color support collections.abc.Container, add tests and stubs by @ankith26 in https://github.com/pygame/pygame/pull/3066
  • Don't raise python errors in v4l2readframe by @ankith26 in https://github.com/pygame/pygame/pull/3052
  • Fix name/definition conflict for pgSurface_New by @pmp-p in https://github.com/pygame/pygame/pull/3106
  • Add pygame.font.getsdlttfversion() for getting version of SDLttf library by @mariospapaz in https://github.com/pygame/pygame/pull/3095
  • Math's Vectors have not documented methods by @gresm in https://github.com/pygame/pygame/pull/3122
  • Event tests and types improvements (Minor event refactor part 3) by @ankith26 in https://github.com/pygame/pygame/pull/3063
  • Cleanup old compatibility code in windows sysfont by @Starbuck5 in https://github.com/pygame/pygame/pull/3126
  • Fix display.set_mode docs for DOUBLEBUF by @Starbuck5 in https://github.com/pygame/pygame/pull/3129
  • Make pgBuffer_Release retain previously set errors by @ankith26 in https://github.com/pygame/pygame/pull/3127
  • Change renderer names to strings in get_drivers by @zoldalma999 in https://github.com/pygame/pygame/pull/3132
  • Takeover of Newbie guide PR #2718 by @davidpendergast by @MyreMylar in https://github.com/pygame/pygame/pull/3118
  • Fixed Vector.clamp_magnitude() parameters by @novialriptide in https://github.com/pygame/pygame/pull/3133
  • SIMD version of BLENDRGBAMULT for 32bit surfaces by @MyreMylar in https://github.com/pygame/pygame/pull/2988
  • Update constants.c to clang-format version 14.0 by @MyreMylar in https://github.com/pygame/pygame/pull/3137
  • Add pygame.context module by @Starbuck5 in https://github.com/pygame/pygame/pull/3100
  • Add pygame.get_pref_locales by @ankith26 in https://github.com/pygame/pygame/pull/3038
  • Use more optimal line functions in polygon by @Starbuck5 in https://github.com/pygame/pygame/pull/3141
  • Proposal: add Rect.collidelistallobjects that returns the colliding objects by @dr0id in https://github.com/pygame/pygame/pull/3026
  • Remove Solaris compatibility code to re-enable SIGALARM by @MyreMylar in https://github.com/pygame/pygame/pull/3142
  • Fix Vector subclass methods to return the correct subtype instance by @novialriptide in https://github.com/pygame/pygame/pull/3088
  • Raise only pygame.error when mixer loading fails by @ankith26 in https://github.com/pygame/pygame/pull/3148
  • Fix typo in SpriteIntro.rst tutorial by @JoshuaDRose in https://github.com/pygame/pygame/pull/3154
  • Fixed windows version parsing in Camera that errored on versions like 8.1 by @Matiiss in https://github.com/pygame/pygame/pull/3158
  • Fix "-auto" setup.py argument not being used properly in buildconfig by @robertpfeiffer in https://github.com/pygame/pygame/pull/3157
  • Updates to moveit.py example by @dbrown3562 in https://github.com/pygame/pygame/pull/3146
  • Update to SDL 2.0.22 on Windows by @Starbuck5 in https://github.com/pygame/pygame/pull/3162
  • Typo fix, ball -> bat by @elgcodes in https://github.com/pygame/pygame/pull/3164
  • Typo fix or -> for by @elgcodes in https://github.com/pygame/pygame/pull/3165
  • Fix sysfont.get_fonts stop returning None, warn fc-list issues by @ankith26 in https://github.com/pygame/pygame/pull/3159
  • Fix _sdl2.controller for static build, pygame.h is in _sdl2 parent directory by @pmp-p in https://github.com/pygame/pygame/pull/3105
  • Add SIMD versions of RGB_MUL blitter by @MyreMylar in https://github.com/pygame/pygame/pull/3136
  • Fix typo in korean document by @EunhoKang in https://github.com/pygame/pygame/pull/3176
  • Add evfilter guard mutex, fix pymalloc without GIL (Minor event refactor part 2.1) by @ankith26 in https://github.com/pygame/pygame/pull/3177
  • Add test for fullscreen toggle by @PurityLake in https://github.com/pygame/pygame/pull/3171
  • SIMD versions of RGBADD, RGBAADD, RGBMUL & RGBAMUL by @MyreMylar in https://github.com/pygame/pygame/pull/3170
  • Static build support for WebAssembly by @pmp-p in https://github.com/pygame/pygame/pull/3108
  • Correction of a comment by @Yvant2000 in https://github.com/pygame/pygame/pull/3182
  • Regenerate cython files by @Starbuck5 in https://github.com/pygame/pygame/pull/3183
  • Simplify some boolean handling by @Starbuck5 in https://github.com/pygame/pygame/pull/3192
  • Fix DLL loading problems on Windows Store Python installations by @Starbuck5 in https://github.com/pygame/pygame/pull/3196
  • wasm: fence simd/avx by @pmp-p in https://github.com/pygame/pygame/pull/3191
  • Removed Python 2 nonzero by @blankRiot96 in https://github.com/pygame/pygame/pull/3194
  • Use CircleCI for manylinux aarch64 builds by @ankith26 in https://github.com/pygame/pygame/pull/3188
  • Remove custom JPEG saver by @Starbuck5 in https://github.com/pygame/pygame/pull/3180
  • Update build-emsdk.yml by @pmp-p in https://github.com/pygame/pygame/pull/3185
  • Improve clang format source file detection by @zoldalma999 in https://github.com/pygame/pygame/pull/3140
  • Clang format touch.c to fix failing lint tests by @ankith26 in https://github.com/pygame/pygame/pull/3201
  • Fix Chimp tutorial code to use the correct module name alias by @kharissa in https://github.com/pygame/pygame/pull/3205
  • Fix a few pylint issues by @ankith26 in https://github.com/pygame/pygame/pull/3206
  • pyupgrade --py36-plus */.py by @cclauss in https://github.com/pygame/pygame/pull/3208
  • Fix print () --> print() by @cclauss in https://github.com/pygame/pygame/pull/3213
  • Make latest pypy wheels on mac/linux, cibuildwheel on manylinux and other minor updates by @ankith26 in https://github.com/pygame/pygame/pull/3187
  • Remove more code for legacy Python by @cclauss in https://github.com/pygame/pygame/pull/3207
  • More Python f-strings with flynt by @cclauss in https://github.com/pygame/pygame/pull/3212
  • Add SIMD versions of RGB & RGBA BLENDMAX, BLENDMIN blit modes by @MyreMylar in https://github.com/pygame/pygame/pull/3181
  • Use custom SDL2_ttf on Windows by @Starbuck5 in https://github.com/pygame/pygame/pull/3193
  • Typos: get em out of here! by @Starbuck5 in https://github.com/pygame/pygame/pull/3216
  • setup.cfg: Sort pylint disables to simplify future edits by @cclauss in https://github.com/pygame/pygame/pull/3220
  • sysfont.py: check for emscripten platform by @pmp-p in https://github.com/pygame/pygame/pull/3225
  • Fix undefined name: getpythoninc() by @cclauss in https://github.com/pygame/pygame/pull/3219
  • Added strikethrough option to Font by @MightyJosip in https://github.com/pygame/pygame/pull/2991
  • Fixed window not staying centered on second call of display.set_mode by @PurityLake in https://github.com/pygame/pygame/pull/3172
  • Fix Vector memory leak by @MightyJosip in https://github.com/pygame/pygame/pull/3236
  • wasm disable mutex usage, wasm CI updates by @ankith26 in https://github.com/pygame/pygame/pull/3203
  • wasm: pygame.surfarray could load on 3.10.5 backport by @pmp-p in https://github.com/pygame/pygame/pull/3246
  • Refactor font.render by @Starbuck5 in https://github.com/pygame/pygame/pull/3186
  • Fix Controller.rumble returning wrong bool on error by @ankith26 in https://github.com/pygame/pygame/pull/3248
  • wasm: wrong logic masks pgExc_SDLError by @pmp-p in https://github.com/pygame/pygame/pull/3247
  • Make textinput show a candidate list by @Starbuck5 in https://github.com/pygame/pygame/pull/3244
  • Cleaned up test/README.TXT by @novialriptide in https://github.com/pygame/pygame/pull/3254
  • Fix typos in sprite docs by @StarDexterity in https://github.com/pygame/pygame/pull/3263
  • Fix Surf.set_palette to be usable without an initialized display by @Starbuck5 in https://github.com/pygame/pygame/pull/3259
  • Replaced some truth testing with is not None checks in sprite module by @Matiiss in https://github.com/pygame/pygame/pull/3271
  • Include user fonts for pygame.font.match_font() on Windows by @novialriptide in https://github.com/pygame/pygame/pull/3184
  • Add SysFont pygame.font.get_fonts() verification test by @SSS-Says-Snek in https://github.com/pygame/pygame/pull/3266
  • Fix wasm build when no PREFIX variable is defined by @ryanking13 in https://github.com/pygame/pygame/pull/3280
  • Remove deprecated blend argument from test and docs by @kevin-pease in https://github.com/pygame/pygame/pull/3281
  • Fix controller build on SDL < 2.0.9 by @Starbuck5 in https://github.com/pygame/pygame/pull/3272
  • Add unit test for display.glsetattribute() by @MyreMylar in https://github.com/pygame/pygame/pull/3256
  • Fix docs and types for math.Vector2.cross() return to float by @Vicky-Vicky27 in https://github.com/pygame/pygame/pull/3286
  • Prettify joystick documentation + add Nintendo Switch mapping by @novialriptide in https://github.com/pygame/pygame/pull/3290
  • Sprite typestub updates, use generics and protocols by @ankith26 in https://github.com/pygame/pygame/pull/3138
  • Adjusted examples and rewrote documentation accordingly by @dbrown3562 in https://github.com/pygame/pygame/pull/3092
  • More efficiently track pixels in AVX blitters by @Starbuck5 in https://github.com/pygame/pygame/pull/3294
  • Fix sprite docs DrawPlain ---> RenderPlain by @fQ7N in https://github.com/pygame/pygame/pull/3298
  • Fix new static analyzer (VS 2022) warnings by @ankith26 in https://github.com/pygame/pygame/pull/3295
  • Cleaned up draw.aaline() code for small speedup by @itzpr3d4t0r in https://github.com/pygame/pygame/pull/3300
  • wasm: add pygame.gfxdraw to static preloader by @pmp-p in https://github.com/pygame/pygame/pull/3304
  • Raise minimum SDL to 2.0.4, patch so it can build on that by @Starbuck5 in https://github.com/pygame/pygame/pull/3239
  • Update SDLttf 2.20.0, SDLmixer 2.6.0 on Windows by @Starbuck5 in https://github.com/pygame/pygame/pull/3287
  • Restore correct checksum for SDL_ttf windows dep download by @itzpr3d4t0r in https://github.com/pygame/pygame/pull/3329
  • setup.py: fix user+deprecation warnings on 3.11+ by @pmp-p in https://github.com/pygame/pygame/pull/3228
  • Add FASTCALL compat macros, update Color.update to use the same by @ankith26 in https://github.com/pygame/pygame/pull/3325
  • Fix latest stubtest issues by @ankith26 in https://github.com/pygame/pygame/pull/3332
  • Fix wrong relative imports in _sdl2 cython code by @pmp-p in https://github.com/pygame/pygame/pull/3313
  • Add usecompat to key.name, fix keycode compat issues by @ankith26 in https://github.com/pygame/pygame/pull/3312
  • Add srcrect NULL check to pgSurface_Blit by @MyreMylar in https://github.com/pygame/pygame/pull/3284
  • Add BGRA format for pycairo compatibility by @rlatowicz in https://github.com/pygame/pygame/pull/3338
  • Move alphabit.c SSE2 blitters to main SSE2 file by @Starbuck5 in https://github.com/pygame/pygame/pull/3296
  • Surface.blits() speedups and code cleanup by @itzpr3d4t0r in https://github.com/pygame/pygame/pull/3314
  • Optimized vectordistance_helper by @itzpr3d4t0r in https://github.com/pygame/pygame/pull/3335
  • Use macos-12 for all Mac CI builds by @ankith26 in https://github.com/pygame/pygame/pull/3347
  • Added tobytes/frombytes aliases for pygame.image.(to|from)string by @Emc2356 in https://github.com/pygame/pygame/pull/3321
  • Remove constants repetition and duplicate define by @Starbuck5 in https://github.com/pygame/pygame/pull/3344
  • Add clamp(val, min, max) function to pygame.math by @JamesC01 in https://github.com/pygame/pygame/pull/3326
  • BGRA format added to fromstring & tostring by @rlatowicz in https://github.com/pygame/pygame/pull/3342
  • Use memcpy and memset when appropriate by @Starbuck5 in https://github.com/pygame/pygame/pull/3364
  • SDLUCS4ToUTF8 may exist from SDLkeyboard.c by @pmp-p in https://github.com/pygame/pygame/pull/3349
  • edited docs for pygame.Vector2.angle_to by @oddbookworm in https://github.com/pygame/pygame/pull/3359
  • Deprecate Color.set_length by @blankRiot96 in https://github.com/pygame/pygame/pull/3352
  • Vendor in SDL PNG save function, fix new 2.1.3 regression by @ankith26 in https://github.com/pygame/pygame/pull/3376
  • Merge 32/64bit SSE blitter codepaths by @Starbuck5 in https://github.com/pygame/pygame/pull/3375
  • Document pygame.math.Vector epsilon attribute by @oddbookworm in https://github.com/pygame/pygame/pull/3373
  • test.testutils.runtests.py: Fix exit using RuntimeError for better message by @Vazno in https://github.com/pygame/pygame/pull/3382
  • Cleanup sysfont.py to use f-strings by @lebedevhhh in https://github.com/pygame/pygame/pull/3391
  • setup.py | io module no longer used. by @Vazno in https://github.com/pygame/pygame/pull/3388
  • Update DisplayModes.rst - PEP Changes by @JoshuaDRose in https://github.com/pygame/pygame/pull/3385
  • Fix some METHNOARGS usage, use METHO where possible by @ankith26 in https://github.com/pygame/pygame/pull/3366
  • Make pygame.math.clamp only take numbers by @JamesC01 in https://github.com/pygame/pygame/pull/3361
  • Add _GenericVector to math typestubs, fixes by @ankith26 in https://github.com/pygame/pygame/pull/3150
  • Fix tests that had overshadowed names by @ankith26 in https://github.com/pygame/pygame/pull/3384
  • Replaced more expressions to f strings by @Vazno in https://github.com/pygame/pygame/pull/3392
  • scale(), scaleby(), smoothscale(), smoothscaleby() reorganization and speed up by @itzpr3d4t0r in https://github.com/pygame/pygame/pull/3319
  • config_unix: Removed unused sys import by @Vazno in https://github.com/pygame/pygame/pull/3397
  • Fix edge case bug in Vector.move_towards, add more tests by @ankith26 in https://github.com/pygame/pygame/pull/3400
  • Go back to old memcpy strategy for non-flip flip by @Starbuck5 in https://github.com/pygame/pygame/pull/3416
  • Fix incref issue in PixelArray context manager API by @ankith26 in https://github.com/pygame/pygame/pull/3414
  • Update some deps in manylinux scripts by @ankith26 in https://github.com/pygame/pygame/pull/3042
  • Fix freetype compilation flags when building with clang instead of gcc by @pmp-p in https://github.com/pygame/pygame/pull/3381
  • Relax SDL minor version exact match check by @ankith26 in https://github.com/pygame/pygame/pull/3428
  • Clean bash-completion file in macdeps builds by @ankith26 in https://github.com/pygame/pygame/pull/3431
  • Optimized rect getters by @itzpr3d4t0r in https://github.com/pygame/pygame/pull/3401
  • Delete rect subscripts should error not segfault by @ankith26 in https://github.com/pygame/pygame/pull/3440
  • Vector clamp shouldn't allow kwargs, improve error reporting and unit tests by @ankith26 in https://github.com/pygame/pygame/pull/3396
  • Make sure set_mode always returns a cleared window by @ankith26 in https://github.com/pygame/pygame/pull/3317
  • Improved mixer.set_reserved() documentation by @Vicky-Vicky27 in https://github.com/pygame/pygame/pull/3434
  • SSE alpha blitter optimization by @Starbuck5 in https://github.com/pygame/pygame/pull/3378
  • Add Spanish translation of chimp tutorial by @stefpivser in https://github.com/pygame/pygame/pull/3421
  • Update and sync SDL_mixer and SDL_ttf to 2.6.2 and 2.20.1 respectively by @ankith26 in https://github.com/pygame/pygame/pull/3433
  • Compile freetype with harfbuzz, reduce manylinux wheelsize by @ankith26 in https://github.com/pygame/pygame/pull/3445
  • Freshen up arraydemo.py by @Starbuck5 in https://github.com/pygame/pygame/pull/3453
  • Refactor examples/mask.py by @pycoinfu in https://github.com/pygame/pygame/pull/3455
  • Fix new mypy-0.981 fails by @ankith26 in https://github.com/pygame/pygame/pull/3470
  • 2.1.3.dev6 and 2.1.3.dev7 by @illume in https://github.com/pygame/pygame/pull/3471
  • Fix pypy rect freelist issue, unskip tests by @ankith26 in https://github.com/pygame/pygame/pull/3452
  • Fix es folder location and fix some sphinx issues in ChimpanceLineaporLinea.rst by @illume in https://github.com/pygame/pygame/pull/3473
  • Fixed typo in aliens example by @muelletm in https://github.com/pygame/pygame/pull/3485
  • overview.rst -> ๊ฐœ์š”.rst by @novialriptide in https://github.com/pygame/pygame/pull/3474
  • Add 3.11.0.rc2 to Appveyor by @Starbuck5 in https://github.com/pygame/pygame/pull/3486
  • Cleanup of symbian code and references to bitbucket/motherhamster bugzilla by @ankith26 in https://github.com/pygame/pygame/pull/3490
  • Fixed segault in subclass of Sound by @PurityLake in https://github.com/pygame/pygame/pull/3492
  • Relax strict pixel match tests in testsrcalphasdl2blitter by allowing a small delta by @Temmie3754 in https://github.com/pygame/pygame/pull/3494
  • manylinux: Upgrade to SDL2-2.0.22 by @illume in https://github.com/pygame/pygame/pull/3475
  • Internalize "SDL"_UCS4ToUTF8 by @Starbuck5 in https://github.com/pygame/pygame/pull/3487
  • blitters fix compile error when no SIMD by @ankith26 in https://github.com/pygame/pygame/pull/3498
  • Python 3.11 on mac/manylinux (with updated cibuildwheel) by @ankith26 in https://github.com/pygame/pygame/pull/3484
  • v2.1.3.dev8 by @illume in https://github.com/pygame/pygame/pull/3503
  • Remove pygame.context for later renaming by @illume in https://github.com/pygame/pygame/pull/3508
  • Correct typo in tom_games3.rst by @cvionis in https://github.com/pygame/pygame/pull/3504
  • Add debian s390x and ppc64le tests to CI by @ankith26 in https://github.com/pygame/pygame/pull/3496
  • docs: Add experimental feedback links to new APIs by @illume in https://github.com/pygame/pygame/pull/3511

- C
Published by notpygame over 3 years ago

pygame - 2.1.3.dev8 ๐Ÿฆด

๐Ÿฆด




๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด ๐Ÿ‘ปpython3 -m pip install pygame==2.1.3.dev8 ๐Ÿ’€๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด๐Ÿ’€๐Ÿฆด




This is a pre-release for testing. https://github.com/pygame/pygame/issues

Thanks to all.

What's Changed

  • 2.1.3.dev6 and 2.1.3.dev7 by @illume in https://github.com/pygame/pygame/pull/3471
  • Fix pypy rect freelist issue, unskip tests by @ankith26 in https://github.com/pygame/pygame/pull/3452
  • Fix es folder location and fix some sphinx issues in ChimpanceLineaporLinea.rst by @illume in https://github.com/pygame/pygame/pull/3473
  • Update aliens.py by @muelletm in https://github.com/pygame/pygame/pull/3485
  • overview.rst -> ๊ฐœ์š”.rst by @novialriptide in https://github.com/pygame/pygame/pull/3474
  • Add 3.11.0.rc2 to Appveyor by @Starbuck5 in https://github.com/pygame/pygame/pull/3486
  • Cleanup of symbian code and references to bitbucket/motherhamster bugzilla by @ankith26 in https://github.com/pygame/pygame/pull/3490
  • Fixed segault in subclass of Sound by @PurityLake in https://github.com/pygame/pygame/pull/3492
  • Relax strict pixel match tests in testsrcalphasdl2blitter by allowing a small delta by @Temmie3754 in https://github.com/pygame/pygame/pull/3494
  • manylinux: Upgrade to SDL2-2.0.22 by @illume in https://github.com/pygame/pygame/pull/3475
  • Internalize "SDL"_UCS4ToUTF8 by @Starbuck5 in https://github.com/pygame/pygame/pull/3487
  • blitters fix compile error when no SIMD by @ankith26 in https://github.com/pygame/pygame/pull/3498
  • Python 3.11 on mac/manylinux (with updated cibuildwheel) by @ankith26 in https://github.com/pygame/pygame/pull/3484

New Contributors

  • @muelletm made their first contribution in https://github.com/pygame/pygame/pull/3485
  • @Temmie3754 made their first contribution in https://github.com/pygame/pygame/pull/3494

Full Changelog: https://github.com/pygame/pygame/compare/2.1.3.dev6...2.1.3.dev8

- C
Published by notpygame over 3 years ago

pygame - 2.1.3.dev6 - ๐Ÿ’€

๐Ÿ’€




๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด ๐Ÿ‘ปpython3 -m pip install pygame==2.1.3.dev6 ๐Ÿ’€๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด๐Ÿ’€๐Ÿ‘ป๐Ÿฆด๐Ÿ’€๐Ÿฆด




What's Changed

It's a lot.




This is a pre-release for testing and giggles only. Got issues? Don't just tell your therapist. Let us know too? Thanks to all.



* 2.1.3.dev4 and 2.1.3dev5 by @illume in https://github.com/pygame/pygame/pull/3060 * Fix more typestub warnings with dunders by @ankith26 in https://github.com/pygame/pygame/pull/3075 * Fix APPMOUSEFOCUS naming, update const values by @ankith26 in https://github.com/pygame/pygame/pull/3043 * Pkgdata import in init for PyInstaller by @Starbuck5 in https://github.com/pygame/pygame/pull/3082 * Fix logos page by @Grimmys in https://github.com/pygame/pygame/pull/2977 * Fix segfault in resource loading function by @ankith26 in https://github.com/pygame/pygame/pull/3089 * Fix pygame logo image in README.rst by @novialriptide in https://github.com/pygame/pygame/pull/3090 * Add black badge by @novialriptide in https://github.com/pygame/pygame/pull/3091 * Use static dot declarations for type objects by @ankith26 in https://github.com/pygame/pygame/pull/3067 * Windows prebuilts updates with freetype and SDLttf 2.0.18 by @Starbuck5 in https://github.com/pygame/pygame/pull/3086 * Get rid of sprintf calls in the codebase by @ankith26 in https://github.com/pygame/pygame/pull/3041 * fix/norm function pointer calls for METHNOARGS by @pmp-p in https://github.com/pygame/pygame/pull/3080 * Update list of datafiles in generated docs by @wxh06 in https://github.com/pygame/pygame/pull/3073 * Improve draw doc accuracy and example style by @Starbuck5 in https://github.com/pygame/pygame/pull/3074 * Check SDL version earlier, report known incompat (closes #2657) by @SnoopJeDi in https://github.com/pygame/pygame/pull/2661 * Lint/format examples/.py by @Starbuck5 in https://github.com/pygame/pygame/pull/3093 * missing pointer cast fix by @pmp-p in https://github.com/pygame/pygame/pull/3104 * Add a .clampmagnitude() to Vector2 and Vector3 by @novialriptide in https://github.com/pygame/pygame/pull/2990 * examples/mask.py change default image to one with alpha channel by @brccabral in https://github.com/pygame/pygame/pull/3111 * mousegetpos takes no argument by @pmp-p in https://github.com/pygame/pygame/pull/3115 * Small fixes to the documentation header by @hnrkcode in https://github.com/pygame/pygame/pull/3094 * Rect and Color support collections.abc.Container, add tests and stubs by @ankith26 in https://github.com/pygame/pygame/pull/3066 * Don't raise python errors in v4l2readframe by @ankith26 in https://github.com/pygame/pygame/pull/3052 * fix name/definition conflict for pgSurfaceNew by @pmp-p in https://github.com/pygame/pygame/pull/3106 * Add pygame.font.getsdlttfversion() for getting version of SDLttf library by @mariospapaz in https://github.com/pygame/pygame/pull/3095 * Math's Vectors have not documented methods by @gresm in https://github.com/pygame/pygame/pull/3122 * Event tests and types improvements (Minor event refactor part 3) by @ankith26 in https://github.com/pygame/pygame/pull/3063 * Cleanup old compatibility code in windows sysfont by @Starbuck5 in https://github.com/pygame/pygame/pull/3126 * Fix display.setmode docs for DOUBLEBUF by @Starbuck5 in https://github.com/pygame/pygame/pull/3129 * Make pgBufferRelease retain previously set errors by @ankith26 in https://github.com/pygame/pygame/pull/3127 * Change renderer names to strings in get_drivers by @zoldalma999 in https://github.com/pygame/pygame/pull/3132 * Takeover of PR #2718 by @davidpendergast by @MyreMylar in https://github.com/pygame/pygame/pull/3118 * Fixed Vector.clampmagnitude() parameters by @novialriptide in https://github.com/pygame/pygame/pull/3133 * SIMD version of BLENDRGBAMULT for 32bit surfaces by @MyreMylar in https://github.com/pygame/pygame/pull/2988 * update constants.c to clang-format version 14.0 by @MyreMylar in https://github.com/pygame/pygame/pull/3137 * Add pygame.context module by @Starbuck5 in https://github.com/pygame/pygame/pull/3100 * Add `pygame.getpreflocalesby @ankith26 in https://github.com/pygame/pygame/pull/3038 * Use more optimal line functions in polygon by @Starbuck5 in https://github.com/pygame/pygame/pull/3141 * Proposal: add Rect.collidelistallobjects that returns the colliding objects by @dr0id in https://github.com/pygame/pygame/pull/3026 * Remove Solaris compatibility code to re-enable SIGALARM by @MyreMylar in https://github.com/pygame/pygame/pull/3142 * Fix Vector subclass methods to return the correct subtype instance by @novialriptide in https://github.com/pygame/pygame/pull/3088 * Raise only pygame.error when mixer loading fails by @ankith26 in https://github.com/pygame/pygame/pull/3148 * Fix typo in SpriteIntro.rst tutorial by @JoshuaDRose in https://github.com/pygame/pygame/pull/3154 * Fixed windows version parsing in Camera that errored on versions like 8.1 by @Matiiss in https://github.com/pygame/pygame/pull/3158 * Fix "-auto" setup.py argument not being used properly in buildconfig by @robertpfeiffer in https://github.com/pygame/pygame/pull/3157 * Updates to moveit.py example by @dbrown3562 in https://github.com/pygame/pygame/pull/3146 * Update to SDL 2.0.22 on Windows by @Starbuck5 in https://github.com/pygame/pygame/pull/3162 * ball -> bat (typo fix) by @elgcodes in https://github.com/pygame/pygame/pull/3164 * typo fix or -> for by @elgcodes in https://github.com/pygame/pygame/pull/3165 * Fixsysfont.getfontsstop returningNone, warnfc-list` issues by @ankith26 in https://github.com/pygame/pygame/pull/3159 * Fix sdl2.controller for static build, pygame.h is in _sdl2 parent directory by @pmp-p in https://github.com/pygame/pygame/pull/3105 * Add SIMD versions of RGBMUL blitter by @MyreMylar in https://github.com/pygame/pygame/pull/3136 * fix typo in korean document by @EunhoKang in https://github.com/pygame/pygame/pull/3176 * Add evfilter guard mutex, fix pymalloc without GIL (Minor event refactor part 2.1) by @ankith26 in https://github.com/pygame/pygame/pull/3177 * Add test for fullscreen toggle by @PurityLake in https://github.com/pygame/pygame/pull/3171 * SIMD versions of RGBADD, RGBAADD, RGBMUL & RGBAMUL by @MyreMylar in https://github.com/pygame/pygame/pull/3170 * static build support for WebAssembly by @pmp-p in https://github.com/pygame/pygame/pull/3108 * correction of a comment by @Yvant2000 in https://github.com/pygame/pygame/pull/3182 * Regenerate cython files by @Starbuck5 in https://github.com/pygame/pygame/pull/3183 * Simplify some boolean handling by @Starbuck5 in https://github.com/pygame/pygame/pull/3192 * Fix DLL loading problems on Windows Store Python installations by @Starbuck5 in https://github.com/pygame/pygame/pull/3196 * wasm: fence simd/avx by @pmp-p in https://github.com/pygame/pygame/pull/3191 * Removed Python 2 nonzero by @blankRiot96 in https://github.com/pygame/pygame/pull/3194 * Use CircleCI for manylinux aarch64 builds by @ankith26 in https://github.com/pygame/pygame/pull/3188 * Remove custom JPEG saver by @Starbuck5 in https://github.com/pygame/pygame/pull/3180 * Update build-emsdk.yml by @pmp-p in https://github.com/pygame/pygame/pull/3185 * Improve clang format source file detection by @zoldalma999 in https://github.com/pygame/pygame/pull/3140 * Clang format touch.c to fix failing lint tests by @ankith26 in https://github.com/pygame/pygame/pull/3201 * Fix Chimp tutorial code to use the correct module name alias by @kharissa in https://github.com/pygame/pygame/pull/3205 * Fix a few pylint issues by @ankith26 in https://github.com/pygame/pygame/pull/3206 * pyupgrade --py36-plus */*.py by @cclauss in https://github.com/pygame/pygame/pull/3208 * Fix print () --> print() by @cclauss in https://github.com/pygame/pygame/pull/3213 * Make latest pypy wheels on mac/linux, cibuildwheel on manylinux and other minor updates by @ankith26 in https://github.com/pygame/pygame/pull/3187 * Remove more code for legacy Python by @cclauss in https://github.com/pygame/pygame/pull/3207 * More Python f-strings with flynt by @cclauss in https://github.com/pygame/pygame/pull/3212 * Add SIMD versions of RGB & RGBA BLENDMAX, BLENDMIN blit modes by @MyreMylar in https://github.com/pygame/pygame/pull/3181 * Use custom SDL2ttf on Windows by @Starbuck5 in https://github.com/pygame/pygame/pull/3193 * Typos: get em out of here! by @Starbuck5 in https://github.com/pygame/pygame/pull/3216 * setup.cfg: Sort pylint disables to simplify future edits by @cclauss in https://github.com/pygame/pygame/pull/3220 * sysfont.py: check for emscripten platform by @pmp-p in https://github.com/pygame/pygame/pull/3225 * Fix undefined name: getpythoninc() by @cclauss in https://github.com/pygame/pygame/pull/3219 * Added strikethrough option to Font by @MightyJosip in https://github.com/pygame/pygame/pull/2991 * Fixed window not staying centered on second call of `display.setmodeby @PurityLake in https://github.com/pygame/pygame/pull/3172 * Fix Vector memory leak by @MightyJosip in https://github.com/pygame/pygame/pull/3236 * wasm disable mutex usage, wasm CI updates by @ankith26 in https://github.com/pygame/pygame/pull/3203 * wasm: pygame.surfarray could load on 3.10.5 backport by @pmp-p in https://github.com/pygame/pygame/pull/3246 * Refactor font.render by @Starbuck5 in https://github.com/pygame/pygame/pull/3186 * Fix Controller.rumble returning wrong bool on error by @ankith26 in https://github.com/pygame/pygame/pull/3248 * wasm: wrong logic masks pgExc_SDLError by @pmp-p in https://github.com/pygame/pygame/pull/3247 * Make textinput show a candidate list by @Starbuck5 in https://github.com/pygame/pygame/pull/3244 * Cleaned up test/README.TXT by @novialriptide in https://github.com/pygame/pygame/pull/3254 * Fix typos in sprite docs by @StarDexterity in https://github.com/pygame/pygame/pull/3263 * Fix Surf.set_palette to be usable without an initialized display by @Starbuck5 in https://github.com/pygame/pygame/pull/3259 * Replaced some truth testing withis not Nonechecks in sprite module by @Matiiss in https://github.com/pygame/pygame/pull/3271 * Include user fonts for pygame.font.match_font() on Windows by @novialriptide in https://github.com/pygame/pygame/pull/3184 * Add SysFont pygame.font.get_fonts() verification test by @SSS-Says-Snek in https://github.com/pygame/pygame/pull/3266 * Fix wasm build when no PREFIX variable is defined by @ryanking13 in https://github.com/pygame/pygame/pull/3280 * Remove deprecated blend argument from test and docs by @kevin-pease in https://github.com/pygame/pygame/pull/3281 * Fix controller build on SDL < 2.0.9 by @Starbuck5 in https://github.com/pygame/pygame/pull/3272 * Add unit test for display.gl_set_attribute() by @MyreMylar in https://github.com/pygame/pygame/pull/3256 * Fix docs and types for math.Vector2.cross() return to float by @Vicky-Vicky27 in https://github.com/pygame/pygame/pull/3286 * Prettify joystick documentation + add Nintendo Switch mapping by @novialriptide in https://github.com/pygame/pygame/pull/3290 * Sprite typestub updates, use generics and protocols by @ankith26 in https://github.com/pygame/pygame/pull/3138 * Adjusted examples and rewrote documentation accordingly by @dbrown3562 in https://github.com/pygame/pygame/pull/3092 * More efficiently track pixels in AVX blitters by @Starbuck5 in https://github.com/pygame/pygame/pull/3294 * Fix sprite docs DrawPlain ---> RenderPlain by @fQ7N in https://github.com/pygame/pygame/pull/3298 * Fix new static analyzer (VS 2022) warnings by @ankith26 in https://github.com/pygame/pygame/pull/3295 * Cleaned up draw.aaline() code for small speedup by @itzpr3d4t0r in https://github.com/pygame/pygame/pull/3300 * wasm: add pygame.gfxdraw to static preloader by @pmp-p in https://github.com/pygame/pygame/pull/3304 * Raise minimum SDL to 2.0.4, patch so it can build on that by @Starbuck5 in https://github.com/pygame/pygame/pull/3239 * Update SDL_ttf 2.20.0, SDL_mixer 2.6.0 on Windows by @Starbuck5 in https://github.com/pygame/pygame/pull/3287 * Restore correct checksum for SDL_ttf windows dep download by @itzpr3d4t0r in https://github.com/pygame/pygame/pull/3329 * setup.py: fix user+deprecation warnings on 3.11+ by @pmp-p in https://github.com/pygame/pygame/pull/3228 * Add FASTCALL compat macros, update Color.update to use the same by @ankith26 in https://github.com/pygame/pygame/pull/3325 * Fix latest stubtest issues by @ankith26 in https://github.com/pygame/pygame/pull/3332 * Fix wrong relative imports in _sdl2 cython code by @pmp-p in https://github.com/pygame/pygame/pull/3313 * Add use_compat to key.name, fix key_code compat issues by @ankith26 in https://github.com/pygame/pygame/pull/3312 * Add srcrect NULL check to pgSurface_Blit by @MyreMylar in https://github.com/pygame/pygame/pull/3284 * Add BGRA format for pycairo compatibility by @rlatowicz in https://github.com/pygame/pygame/pull/3338 * Move alphabit.c SSE2 blitters to main SSE2 file by @Starbuck5 in https://github.com/pygame/pygame/pull/3296 * Surface.blits() speedups and code cleanup by @itzpr3d4t0r in https://github.com/pygame/pygame/pull/3314 * Optimized _vector_distance_helper by @itzpr3d4t0r in https://github.com/pygame/pygame/pull/3335 * Use macos-12 for all Mac CI builds by @ankith26 in https://github.com/pygame/pygame/pull/3347 * added aliases for pygame.image.(to|from)string by @Emc2356 in https://github.com/pygame/pygame/pull/3321 * Remove constants repetition and duplicate define by @Starbuck5 in https://github.com/pygame/pygame/pull/3344 * Add clamp(val, min, max) function to pygame.math by @JamesC01 in https://github.com/pygame/pygame/pull/3326 * BGRA format added to fromstring & tostring by @rlatowicz in https://github.com/pygame/pygame/pull/3342 * Use memcpy and memset when appropriate by @Starbuck5 in https://github.com/pygame/pygame/pull/3364 * SDL_UCS4ToUTF8 may exist from SDL_keyboard.c by @pmp-p in https://github.com/pygame/pygame/pull/3349 * edited docs for pygame.Vector2.angle_to by @oddbookworm in https://github.com/pygame/pygame/pull/3359 * DeprecateColor.setlength` by @blankRiot96 in https://github.com/pygame/pygame/pull/3352 * Vendor in SDL PNG save function, fix new 2.1.3 regression by @ankith26 in https://github.com/pygame/pygame/pull/3376 * Merge 32/64bit SSE blitter codepaths by @Starbuck5 in https://github.com/pygame/pygame/pull/3375 * Document pygame.math.Vector epsilon attribute by @oddbookworm in https://github.com/pygame/pygame/pull/3373 * test.testutils.runtests.py: Fix exit using RuntimeError for better message by @Vazno in https://github.com/pygame/pygame/pull/3382 * changed the f strings (sysfont.py) by @lebedevhhh in https://github.com/pygame/pygame/pull/3391 * setup.py | io module no longer used. by @Vazno in https://github.com/pygame/pygame/pull/3388 * Update DisplayModes.rst - PEP Changes by @JoshuaDRose in https://github.com/pygame/pygame/pull/3385 * Fix some METHNOARGS usage, use METHO where possible by @ankith26 in https://github.com/pygame/pygame/pull/3366 * Make pygame.math.clamp only take numbers by @JamesC01 in https://github.com/pygame/pygame/pull/3361 * Add _GenericVector to math typestubs, fixes by @ankith26 in https://github.com/pygame/pygame/pull/3150 * Fix tests that had overshadowed names by @ankith26 in https://github.com/pygame/pygame/pull/3384 * Replaced more expressions to f strings by @Vazno in https://github.com/pygame/pygame/pull/3392 * scale(), scaleby(), smoothscale(), smoothscaleby() reorganization and speed up by @itzpr3d4t0r in https://github.com/pygame/pygame/pull/3319 * configunix: Removed unused sys import by @Vazno in https://github.com/pygame/pygame/pull/3397 * Fix edge case bug in Vector.movetowards, add more tests by @ankith26 in https://github.com/pygame/pygame/pull/3400 * Go back to old memcpy strategy for non-flip flip by @Starbuck5 in https://github.com/pygame/pygame/pull/3416 * Fix incref issue in PixelArray context manager API by @ankith26 in https://github.com/pygame/pygame/pull/3414 * Update some deps in manylinux scripts by @ankith26 in https://github.com/pygame/pygame/pull/3042 * fix CPython was built with clang instead of gcc by @pmp-p in https://github.com/pygame/pygame/pull/3381 * Relax SDL minor version exact match check by @ankith26 in https://github.com/pygame/pygame/pull/3428 * Clean bash-completion file in macdeps builds by @ankith26 in https://github.com/pygame/pygame/pull/3431 * Optimized rect getters by @itzpr3d4t0r in https://github.com/pygame/pygame/pull/3401 * Delete rect subscripts should error not segfault by @ankith26 in https://github.com/pygame/pygame/pull/3440 * Vector clamp shouldn't allow kwargs, improve error reporting and unit tests by @ankith26 in https://github.com/pygame/pygame/pull/3396 * Make sure setmode always returns a cleared window by @ankith26 in https://github.com/pygame/pygame/pull/3317 * Improved mixer.setreserved() documentation by @Vicky-Vicky27 in https://github.com/pygame/pygame/pull/3434 * SSE alpha blitter optimization by @Starbuck5 in https://github.com/pygame/pygame/pull/3378 * Add Spanish translation of chimp tutorial by @stefpivser in https://github.com/pygame/pygame/pull/3421 * Update and sync `SDLmixerandSDL_ttfto 2.6.2 and 2.20.1 respectively by @ankith26 in https://github.com/pygame/pygame/pull/3433 * Compile freetype with harfbuzz, reduce manylinux wheelsize by @ankith26 in https://github.com/pygame/pygame/pull/3445 * Freshen up arraydemo.py by @Starbuck5 in https://github.com/pygame/pygame/pull/3453 * Refactorexamples/mask.py` by @pycoinfu in https://github.com/pygame/pygame/pull/3455 * Fix new mypy-0.981 fails by @ankith26 in https://github.com/pygame/pygame/pull/3470

New Contributors

  • @wxh06 made their first contribution in https://github.com/pygame/pygame/pull/3073
  • @SnoopJeDi made their first contribution in https://github.com/pygame/pygame/pull/2661
  • @brccabral made their first contribution in https://github.com/pygame/pygame/pull/3111
  • @mariospapaz made their first contribution in https://github.com/pygame/pygame/pull/3095
  • @JoshuaDRose made their first contribution in https://github.com/pygame/pygame/pull/3154
  • @Matiiss made their first contribution in https://github.com/pygame/pygame/pull/3158
  • @dbrown3562 made their first contribution in https://github.com/pygame/pygame/pull/3146
  • @elgcodes made their first contribution in https://github.com/pygame/pygame/pull/3164
  • @EunhoKang made their first contribution in https://github.com/pygame/pygame/pull/3176
  • @PurityLake made their first contribution in https://github.com/pygame/pygame/pull/3171
  • @Yvant2000 made their first contribution in https://github.com/pygame/pygame/pull/3182
  • @kharissa made their first contribution in https://github.com/pygame/pygame/pull/3205
  • @StarDexterity made their first contribution in https://github.com/pygame/pygame/pull/3263
  • @SSS-Says-Snek made their first contribution in https://github.com/pygame/pygame/pull/3266
  • @ryanking13 made their first contribution in https://github.com/pygame/pygame/pull/3280
  • @kevin-pease made their first contribution in https://github.com/pygame/pygame/pull/3281
  • @Vicky-Vicky27 made their first contribution in https://github.com/pygame/pygame/pull/3286
  • @fQ7N made their first contribution in https://github.com/pygame/pygame/pull/3298
  • @itzpr3d4t0r made their first contribution in https://github.com/pygame/pygame/pull/3300
  • @rlatowicz made their first contribution in https://github.com/pygame/pygame/pull/3338
  • @Emc2356 made their first contribution in https://github.com/pygame/pygame/pull/3321
  • @JamesC01 made their first contribution in https://github.com/pygame/pygame/pull/3326
  • @oddbookworm made their first contribution in https://github.com/pygame/pygame/pull/3359
  • @Vazno made their first contribution in https://github.com/pygame/pygame/pull/3382
  • @lebedevhhh made their first contribution in https://github.com/pygame/pygame/pull/3391
  • @stefpivser made their first contribution in https://github.com/pygame/pygame/pull/3421
  • @pycoinfu made their first contribution in https://github.com/pygame/pygame/pull/3455

Full Changelog: https://github.com/pygame/pygame/compare/2.1.3.dev4...2.1.3.dev6

- C
Published by notpygame over 3 years ago

pygame - 2.1.3.dev4 - the peace and solidarity pre-release

Since development release a week ago, a bunch of nice improvements landed.

We still have some things open in the 2.1.3 milestone.

What's Changed

  • Add .move_towards() for Vector2 and Vector3 by @novialriptide in https://github.com/pygame/pygame/pull/2929
  • Save Surfaces with palettes as indexed 8P PNG by @ThanhChinhBK in https://github.com/pygame/pygame/pull/3028
  • Rect collidelistall unittests added and updated docs to document different argument types by @dr0id in https://github.com/pygame/pygame/pull/2989
  • Add some more events by @ankith26 in https://github.com/pygame/pygame/pull/2953
  • Fix really tiny mistake by @gresm in https://github.com/pygame/pygame/pull/3044
  • VideoInfo string missing closing parenthesis by @GregoryMorse in https://github.com/pygame/pygame/pull/3053
  • Fix stubtest warnings, run stubtest on CI by @ankith26 in https://github.com/pygame/pygame/pull/2999
  • Cursors example update by @thanice in https://github.com/pygame/pygame/pull/3037
  • Improve example textinput by @blankRiot96 in https://github.com/pygame/pygame/pull/3050
  • Use github downloads for windows prebuilts downloads by @illume in https://github.com/pygame/pygame/pull/3059

New Contributors

  • @ThanhChinhBK made their first contribution in https://github.com/pygame/pygame/pull/3028
  • @GregoryMorse made their first contribution in https://github.com/pygame/pygame/pull/3053
  • @thanice made their first contribution in https://github.com/pygame/pygame/pull/3037
  • @blankRiot96 made their first contribution in https://github.com/pygame/pygame/pull/3050

Full Changelog: https://github.com/pygame/pygame/compare/2.1.3.dev2...2.1.3.dev4

- C
Published by notpygame over 4 years ago

pygame - 2.1.3.dev2 - education means to inspire people

๐ŸŒบ๐ŸŒป๐ŸŒน๐Ÿฅ€๐ŸŒท๐ŸŒผ๐ŸŒธ๐Ÿ’๐Ÿ’ฎ๐ŸŒบ๐ŸŒป๐ŸŒน๐Ÿฅ€๐ŸŒท๐ŸŒผ๐ŸŒธ๐Ÿ’๐Ÿ’ฎ๐ŸŒบ๐ŸŒป๐ŸŒน๐Ÿฅ€๐ŸŒท๐ŸŒผ๐ŸŒธ๐Ÿ’ ๐ŸŒผ๐ŸŒธ python3 -m pip install pygame==2.1.3.dev2 ๐ŸŒบ๐ŸŒป๐ŸŒน๐Ÿฅ€๐ŸŒท๐ŸŒผ๐ŸŒธ๐Ÿ’๐Ÿ’ฎ๐ŸŒบ๐ŸŒป๐ŸŒน๐Ÿฅ€๐ŸŒท๐ŸŒผ๐ŸŒธ๐Ÿ’๐Ÿ’ฎ๐ŸŒบ๐ŸŒป๐ŸŒน๐Ÿฅ€๐ŸŒท๐ŸŒผ๐ŸŒธ๐Ÿ’

This is a development release, to give more people the opportunity to test out the work we've already done. We still have a big pile of PRs with a lot more changes coming for the 2.1.3 release milestone.

Before we get to what's new, here's something to ponder...

"Real education means to inspire people to live more abundantly, to learn to begin with life as they find it and make it better," -- Carter G. Woodson

What's Changed

  • Add pixel format name into display info by @MyreMylar in https://github.com/pygame/pygame/pull/2964
  • Fix path dependencies by @SergioArnaud in https://github.com/pygame/pygame/pull/2975
  • Add test for pygame.locals by @ankith26 in https://github.com/pygame/pygame/pull/2958
  • Fix Pygame imported class typehints by @MightyJosip in https://github.com/pygame/pygame/pull/2965
  • fix some bugs in camera.py by @ankith26 in https://github.com/pygame/pygame/pull/2961
  • clean modinit code, fix bugs, use recommended API by @ankith26 in https://github.com/pygame/pygame/pull/2952
  • Python2 to Python3 code modernization by @novialriptide in https://github.com/pygame/pygame/pull/2984
  • SDL 2.0.20 by @illume in https://github.com/pygame/pygame/pull/2983
  • Update the image doc, delineate bytes and str by @Starbuck5 in https://github.com/pygame/pygame/pull/2959
  • adding missing copy test for Vector3 by @JovialKnoll in https://github.com/pygame/pygame/pull/3000
  • New black formatting by @novialriptide in https://github.com/pygame/pygame/pull/3013
  • Misc fixes: Fix UCS_4 UCS4 typo, incorrect color methods export and display.c error handling bugs by @ankith26 in https://github.com/pygame/pygame/pull/2987
  • Snake casify _sdl2.video.Image.flipX and .flipY by @avaxar in https://github.com/pygame/pygame/pull/2978
  • Removed unused imports by @novialriptide in https://github.com/pygame/pygame/pull/3016
  • Fix warnings, make warnings error on CI by @ankith26 in https://github.com/pygame/pygame/pull/2919
  • Added Rect typing by @novialriptide in https://github.com/pygame/pygame/pull/2969
  • Fix there typo in tests.rst by @eoghanriley in https://github.com/pygame/pygame/pull/3022
  • C code cleanups + cdrom/overlay removal by @Starbuck5 in https://github.com/pygame/pygame/pull/3014
  • Make sure surfaces start as opaque black. (MacOS) by @Starbuck5 in https://github.com/pygame/pygame/pull/2973
  • Add scaleby, smoothscaleby functions by @Starbuck5 in https://github.com/pygame/pygame/pull/2723
  • Fix really tiny grammar mistake by @gresm in https://github.com/pygame/pygame/pull/3027
  • Font rwops by @Starbuck5 in https://github.com/pygame/pygame/pull/2911
  • Add optional parameter 'consideralpha' to the transform.averagecoloโ€ฆ by @dr0id in https://github.com/pygame/pygame/pull/2968
  • pygame.docs: remove warning in docs generation due to a reference toโ€ฆ by @dr0id in https://github.com/pygame/pygame/pull/3029
  • Add __new__ and __init__ functions for some types by @zoldalma999 in https://github.com/pygame/pygame/pull/3001
  • Regenerate cython files by @ankith26 in https://github.com/pygame/pygame/pull/3032

New Contributors

  • @SergioArnaud made their first contribution in https://github.com/pygame/pygame/pull/2975
  • @JovialKnoll made their first contribution in https://github.com/pygame/pygame/pull/3000
  • @eoghanriley made their first contribution in https://github.com/pygame/pygame/pull/3022
  • @gresm made their first contribution in https://github.com/pygame/pygame/pull/3027

Full Changelog: https://github.com/pygame/pygame/compare/2.1.2...2.1.3.dev2

- C
Published by notpygame over 4 years ago

pygame - 2.1.2

What's Changed

There are a couple of quick fixes for issues in the last release in this one.

  • Fix segfault in display.update by @ankith26 in https://github.com/pygame/pygame/pull/2954
  • Quick fix to get 'python -m pygame.docs' working by @ankith26 in https://github.com/pygame/pygame/pull/2955

Full Changelog: https://github.com/pygame/pygame/compare/2.1.1...2.1.2

- C
Published by notpygame over 4 years ago

pygame - 2.1.1 - solstice meow

Don't worry, relax... have a pygame.

๐ŸŒบ๐ŸŒป๐ŸŒน๐Ÿฅ€๐ŸŒท๐ŸŒผ๐ŸŒธ๐Ÿ’๐Ÿ’ฎ๐ŸŒบ๐ŸŒป๐ŸŒน๐Ÿฅ€๐ŸŒท๐ŸŒผ๐ŸŒธ๐Ÿ’๐Ÿ’ฎ๐ŸŒบ๐ŸŒป ๐ŸŒผ๐ŸŒธ python3 -m pip install pygame==2.1.1 ๐ŸŒบ๐ŸŒป๐ŸŒน๐Ÿฅ€๐ŸŒท๐ŸŒผ๐ŸŒธ๐Ÿ’๐Ÿ’ฎ๐ŸŒบ๐ŸŒป๐ŸŒน๐Ÿฅ€๐ŸŒท๐ŸŒผ๐ŸŒธ๐Ÿ’๐Ÿ’ฎ๐ŸŒบ๐ŸŒป

``` The north enters a winter solstice and the south a summer solstice. The shortest day of the year for people up top, and the longest day of the year for people down under.

For people in the middle, it's pretty much the same every day ;)

Whatever the length of your day, this pygame is for you. ```


Before we get to What's new in pygame 2.1.1...

At the bottom of this post we have a special treat... some games people have made this year. Some of the themes: Aliens, moose, cars, giant robots, trees, and... menus


But first...

What's Changed?

We have a new SDL 2.0.18 release which brings a lot of fixes and optimizations.

What changed in SDL 2.0.18?

In addition to lots of bug fixes, here are the major changes in this SDL release:

General:

  • The SDL wiki documentation and development headers are automatically kept in sync
  • Each function has information about in which version of SDL it was introduced
  • SDL-specific CMake options are now prefixed with 'SDL_'. Be sure to update your CMake build scripts accordingly!
  • Added the hint SDL_HINT_APP_NAME to let SDL know the name of your application for various places it might show up in system information
  • Added SDL_RenderGeometry() and SDL_RenderGeometryRaw() to allow rendering of arbitrary shapes using the SDL 2D render API
  • Added SDL_SetTextureUserData() and SDL_GetTextureUserData() to associate application data with an SDL texture
  • Added SDL_RenderWindowToLogical() and SDL_RenderLogicalToWindow() to convert between window coordinates and logical render coordinates
  • Added SDL_RenderSetVSync() to change whether a renderer present is synchronized with vblank at runtime
  • Added SDL_PremultiplyAlpha() to premultiply alpha on a block of SDL_PIXELFORMAT_ARGB8888 pixels
  • Added a window event SDL_WINDOWEVENT_DISPLAY_CHANGED which is sent when a window changes what display it's centered on
  • Added SDL_GetWindowICCProfile() to query a window's ICC profile, and a window event SDL_WINDOWEVENT_ICCPROF_CHANGED that is sent when it changes
  • Added the hint SDL_HINT_VIDEO_EGL_ALLOW_TRANSPARENCY to allow EGL windows to be transparent instead of opaque
  • SDL_WaitEvent() has been redesigned to use less CPU in most cases
  • Added SDL_SetWindowMouseRect() and SDL_GetWindowMouseRect() to confine the mouse cursor to an area of a window
  • You can now read precise mouse wheel motion using 'preciseX' and 'preciseY' event fields
  • Added SDL_GameControllerHasRumble() and SDL_GameControllerHasRumbleTriggers() to query whether a game controller supports rumble
  • Added SDL_JoystickHasRumble() and SDL_JoystickHasRumbleTriggers() to query whether a joystick supports rumble
  • SDL's hidapi implementation is now available as a public API in SDL_hidapi.h

Windows:

  • Improved relative mouse motion over Windows Remote Desktop
  • Added the hint SDL_HINT_IME_SHOW_UI to show native UI components instead of hiding them (defaults off)

Windows/UWP:

  • WGI is used instead of XInput for better controller support in UWP apps

Linux:

  • Added the hint SDL_HINT_SCREENSAVER_INHIBIT_ACTIVITY_NAME to set the activity that's displayed by the system when the screensaver is disabled
  • Added the hint SDL_HINT_LINUX_JOYSTICK_CLASSIC to control whether /dev/input/js* or /dev/input/event* are used as joystick devices
  • Added the hint SDL_HINT_JOYSTICK_DEVICE to allow the user to specify devices that will be opened in addition to the normal joystick detection
  • Added SDL_LinuxSetThreadPriorityAndPolicy() for more control over a thread priority on Linux

Android:

  • Added support for audio output and capture using AAudio on Android 8.1 and newer
  • Steam Controller support is disabled by default, and can be enabled by setting the hint SDL_HINT_JOYSTICK_HIDAPI_STEAM to "1" before calling SDL_Init()

Apple Arcade:

  • Added SDL_GameControllerGetAppleSFSymbolsNameForButton() and SDL_GameControllerGetAppleSFSymbolsNameForAxis() to support Apple Arcade titles

iOS:

  • Added documentation that the UIApplicationSupportsIndirectInputEvents key must be set to true in your application's Info.plist in order to get real Bluetooth mouse events.
  • Steam Controller support is disabled by default, and can be enabled by setting the hint SDL_HINT_JOYSTICK_HIDAPI_STEAM to "1" before calling SDL_Init()

We also have a new Vector2d.copy() method, a way to check if rect in rect. Some draw assembly optimizations are enabled on aarch64 (M1 and rasbperry pi), and rect drawing is much faster.

Work continues on code cleanup, and we reached a milestone where all PRs are checked for code formatting and linting. Work on enforcing stricter C level static analysis checks is in progress. Our examples were cleaned up to use simplified color names, and semantic variable names for colors (instead of naming the variables after colors). Work on other cleanups progresses too... but we can tell you about that in the next release notes!

Bugfixes

  • Working gamma test on windows by @MyreMylar in https://github.com/pygame/pygame/pull/2906
  • Freetype: Fix intermittent crash with testfontfilenotfound by @illume in https://github.com/pygame/pygame/pull/2944

New contributor bugfixes

  • @JoshuaShequin fixed the return value for music.get_pos() after pausing and unpausing. #2899
  • Addressing set error inconsistencies in certain src_c/{base.c, rect.c} functions by @anmallie in https://github.com/pygame/pygame/pull/2934
  • @mingzhang96 fixed SysFont on MacOS not being able to find Arial on their system. #2849

@ankith26

  • a strange issue where pygame failed on import on some systems in #2870
  • FileNotFoundErrors not being displayed properly from pathlib loading in #2840
  • transform.average_color failing on the ppc64le architecture with -O3 in #2876
  • hang on exit fix in #2816
  • GIL release in transform module in https://github.com/pygame/pygame/pull/2904

@MightyJosip

  • pygame.version.SDL and pygame.version.vernum fixed in https://github.com/pygame/pygame/pull/2938
  • Large ellipses are no longer drawn as diamonds in #2880
  • Fixed a pygame.draw.rect bug where unfilled drawn rects had weird corners in #2927. In the process of this pygame.draw.rect saw some large speedups.

@Starbuck5

  • The initial display surface could have artifacts and not be set up right on MacOS in #2859
  • freetype.Font could raise IOError instead of FileNotFoundError in #2922
  • Writing fixes, corrected audio device mistake in https://github.com/pygame/pygame/pull/2925

Enhancements

  • SDL 2.0.18 has now been added. Skip some focus related tests by @illume in https://github.com/pygame/pygame/pull/2939
  • @Starbuck5 added a shiny new, special icon just for MacOS (provided by @TomSchimansky), improving pygame's look on MacOS in #2858
  • New contributor @michaelasp added a __contains__ operation to the Rect class, allowing you to check if Rect1 in Rect2 in #2897
  • New contributor @novialriptide added a copy() method to Vector2 and Vector3. #2894
  • New contributor @GustavoQuintero99 added a couple CSS colors we were missing into pygame's named colors. #2865
  • @ankith26 enabled blitting optimizations by default on aarch64 (M1 and new raspberry) in #2818

Docs and Types

  • @AvaxarXapaxa fixed a bunch of "it's" that should've been "its." #2923
  • @Starbuck5 added the documentation into the installation itself. python -m pygame.docs will launch a local copy of the docs now. #2826
  • New contributor @Radiicall fixed a spelling mistake. #2864
  • New contributor @novialriptide fixed a grammar mistake in #2835 and fixed some typing for AbstractGroup in #2896 and #2930
  • @ankith26 cleaned type stubs and fixed some of them in #2882

Deprecations

  • New contributor @CAPTAIN1947 deprecated sprite.LayeredDirty.set_timing_treshold in favor of set_timing_threshold. #2921
  • New contributor @novialriptide deprecated Vector.rotate_ip_rad methods in favor of the more consistent Vector.rotate_rad_ip. #2863
  • @zoldalma999 added deprecation warnings and undocumented the long deprecated enable/disable swizzle functions in pygame.math. #2856
  • @ankith26 deprecated the fastevent module because the SDL2 event queue makes it unnecessary. A python shim is still available. #2843

Development and Cleanups

  • Reform colors across the examples by @maxsteep, @rbsampang, @ian-sartor, and @taimur-hassan in https://github.com/pygame/pygame/pull/2901
  • @Grimmys made sure we can still build the docs without worrying about all the requirements of building pygame. #2907
  • @bydariogamer cleaned up python code throughout the codebase, now that it doesn't need to worry about Python2 or SDL1. #2833, #2845
  • @ankith26 did plenty of cleaning up too, through C code and python code. #2844, #2854
  • @Starbuck5 did some miscellaneous fixes, including raising the cython language level. Replaced get_num_audio_devices and get_audio_device_name with get_audio_device_names. #2841, #2920
  • @illume continued on the work of @queueseven and added custom blend modes to the _sdl2.Renderer class. #2790
  • @Pierre-Sassoulas added setup.py lint to keep the codebase squeaky clean. @illume integrated it into the pygame development workflow by adding setup.py format and a format test to CI, and formatted all the code in the repository. #2285, #2857, #2842

Many many special Thanks go to

  • everyone writing up issues, answering questions, sharing your work, or moderating discussions on different forums.
  • code reviewers, doing an important and tireless job. Thanks especially to @ankith26, @MyreMylar, @Starbuck5, @illume, @MightyJosip and for to new reviewers!
  • patreon.com/pygame sponsors: Daniel Lawrence, Leif Theden, zoldalma, rosa, Dasterin, and Anonymous. With their help half of the first patreon goal of covering the monthly hosting costs has been covered.
  • the people supporting pygame financially by buying the pre-release of a pygame book. It's a book by a long time pygame contributor where all funds go towards pygame development.
  • The reddit, and discord mods for making nice communities where people can hang out
  • Stackoverflow Q&A folk
  • People sharing code to their games on github the pygame website, and elsewhere.

Thanks to you! It's hard making these release notes (Thanks @Starbuck5 and @illume). If we've missed someone, or made a mistake... firstly sorry! Secondly, feel free to get in touch with us to make a correction.


Some games and apps

Here's a few things people have released recently using pygame (but made mostly with their own sweat and tears).


Tempest Run

And then this summer, tank king Lord Commentarios of Freeduck and Spooky made "Tempest Run" for a jam hosted by this server:

A cross between Tempest (1981) and Temple Run (2011), "Tempest Run" puts a new spin on those iconic games and was made for the Pygame Community Summer Jam 2021, whose theme was "Recreate an old game with a twist."

  • url: https://tank-king.itch.io/tempest-run
  • github: https://github.com/davidpendergast/pygame-summer-team-jam
  • youtube: https://www.youtube.com/watch?v=48InrM39w5g&ab_channel=RounakBhowmik


RESYNC, A platformer about robots.

  • app/game link: not available yet, still in development
  • title: RESYNC (subject to change~)
  • github/source host link: https://github.com/davidpendergast/circuits
  • "dev log" https://twitter.com/Ghast_NEOH


GRAVITY

A puzzle game where you can control the gravity in the room you're in.

  • github: https://github.com/novialriptide/Gravity


Flyre

Flyre is a 2d pixel art shoot-em-up, where you improve through a skill tree !

  • url: https://cozyfractal.itch.io/flyre
  • source: https://gitlab.com/ddorn/flyre
  • youtube trailer: https://www.youtube.com/watch?v=_AwWQzmCyjg


Gearhead Caramel

It's been a year since the Typhon Incident, when a biomonster from the Age of Superpowers awoke and rampaged across the Earth. Aegis Overlord, having consolidated power on Luna, begins preparation to extend their domination across the solar system. The L5 Alliance attempts to maintain a fragile peace while their member-states bicker and war among themselves. To make matters worse, the cyberpop band Love Magnet just announced that they're splitting up. I trust that all of you know what this means.

It's time to fire up your giant robot and go do some stomping.

  • url: https://gearhead.itch.io/gearhead-caramel
  • github: https://github.com/jwvhewitt/gearhead-caramel
  • youtube: https://www.youtube.com/watch?v=b1441O0PT5E&feature=emb_logo


Imperios Estelares - Surgimiento

Imperios Estelares - Surgimiento is a turn-based 4X strategy game set on space, in the Orion Arm. You can choose between nine different species, expand by dozens of solar systems and hundreds of planets. Design your warships, recruit troops and crush your rivals or develop your technologies to get a diplomatic victory or a combination of everything to achieve first place at the end of the game.

https://a5-studios.itch.io/imperios-estelares-surgimiento


PySprint

Remake the Atari ST port of Super Sprint by Electric Dreams from 1985 in Python with Pygame

  • github: https://github.com/salem-ok/PySprint#readme
  • twitter: https://twitter.com/salem_ok


DUGA 2021

My old game, DUGA has been updated and now supports hardware acceleration! Never has it been so smooth! Thanks to Pygame for updating to version 2 :-)

  • github: https://github.com/MaxwellSalmon/DUGA
  • twitter: https://twitter.com/MaxwellSalmon/status/1445479363433037824


Run my dear LD49

a Mini game where you play as a deer exercising on an UNSTABLE treadmill that is changing its speed unpredictably.

  • url: https://ldjam.com/events/ludum-dare/49/run-my-dear
  • github: https://github.com/OmarMoBadr/Run-my-Dear-LD49

Tree Maker

Create different trees and tree-like structures using fractal-like math.

Many natural things exhibit patterns of self-similarity. For example, a whole tree looks like a branch and a branch looks like a leaf.

  • url: https://2pi360.itch.io/tree-maker
  • source: https://gitlab.com/2pi360/tree_maker


Pygame menu - 4.1.5

Menu for pygame, simple, lightweight and easy to use

  • github: https://github.com/ppizarror/pygame-menu
  • url: https://pygame-menu.readthedocs.io/en/4.2.0/
  • url: https://www.pygame.org/project/3165/8089


Thanks for stopping by. Ciao!

- C
Published by notpygame over 4 years ago

pygame - 2.1.1.dev4

Another pre-release for testing. Test your app is still working as expected with this?

bash python3 -m pip install pygame==2.1.1.dev4

Full release notes will come in the full release.

What's Changed

  • Fix pygame.version.SDL and pygame.version.vernum by @MightyJosip in https://github.com/pygame/pygame/pull/2938
  • SDL 2.0.18, skip some focus related tests by @illume in https://github.com/pygame/pygame/pull/2939
  • 2.1.1.dev2 by @illume in https://github.com/pygame/pygame/pull/2942
  • Reform colors across the examples by @maxsteep in https://github.com/pygame/pygame/pull/2901
  • fix GIL release in transform module by @ankith26 in https://github.com/pygame/pygame/pull/2904
  • Working gamma test on windows by @MyreMylar in https://github.com/pygame/pygame/pull/2906
  • Addressing set error inconsistencies in certain src_c/{base.c, rect.c} functions by @anmallie in https://github.com/pygame/pygame/pull/2934
  • Writing fixes, corrected audio device mistake by @Starbuck5 in https://github.com/pygame/pygame/pull/2925
  • freetype: Fix intermittent crash with testfontfilenotfound by @illume in https://github.com/pygame/pygame/pull/2944

New Contributors

  • @maxsteep made their first contribution in https://github.com/pygame/pygame/pull/2901
  • @anmallie made their first contribution in https://github.com/pygame/pygame/pull/2934

Full Changelog: https://github.com/pygame/pygame/compare/2.1.0...2.1.1.dev4

- C
Published by notpygame over 4 years ago

pygame - 2.1.1.dev2 - for your testing pleasure

This is a pre-release for testing.

Test your app is still working as expected with this? bash python3 -m pip install pygame==2.1.1.dev2

Full release notes will come in the full release.

What's Changed

  • 2.1.0 and 2.1.0.dev2 by @illume in https://github.com/pygame/pygame/pull/2825
  • Minor Grammar Mistake by @novialriptide in https://github.com/pygame/pygame/pull/2835
  • Release GIL on SDL_Quit, fix deadlock by @ankith26 in https://github.com/pygame/pygame/pull/2816
  • neon optimisations default on arm64 by @ankith26 in https://github.com/pygame/pygame/pull/2818
  • Create a setup.py lint function by @Pierre-Sassoulas in https://github.com/pygame/pygame/pull/2285
  • remove old SDL1 and PY2 tests by @bydariogamer in https://github.com/pygame/pygame/pull/2833
  • The formatting all the C and Python code PR by @illume in https://github.com/pygame/pygame/pull/2842
  • Deprecate fastevent, compat shim based on event by @ankith26 in https://github.com/pygame/pygame/pull/2843
  • add sysfont path for macos by @mingzhang96 in https://github.com/pygame/pygame/pull/2849
  • remove pygame.compat and black tests and src_py by @bydariogamer in https://github.com/pygame/pygame/pull/2845
  • correct a spelling mistake by @Radiicall in https://github.com/pygame/pygame/pull/2864
  • Miscellaneous fixes by @Starbuck5 in https://github.com/pygame/pygame/pull/2841
  • Prepare math.enable/disable_swizzling for removal by @zoldalma999 in https://github.com/pygame/pygame/pull/2856
  • colordict.py is missing a few CSS standard colors #2850 by @GustavoQuintero99 in https://github.com/pygame/pygame/pull/2865
  • Fix some typehints, clean stubs by @ankith26 in https://github.com/pygame/pygame/pull/2882
  • Continue on Sdl compose custom blend mode by @illume in https://github.com/pygame/pygame/pull/2790
  • Add docs to the CI-generated wheels by @Starbuck5 in https://github.com/pygame/pygame/pull/2826
  • Fix weird MacOS display surf weirdness by @Starbuck5 in https://github.com/pygame/pygame/pull/2859
  • Added .copy() to Vector2 and Vector3 by @novialriptide in https://github.com/pygame/pygame/pull/2894
  • workaround for average_color due to bug in ppc gcc , update test+types by @ankith26 in https://github.com/pygame/pygame/pull/2876
  • Fix drawing of big ellipses by @MightyJosip in https://github.com/pygame/pygame/pull/2880
  • py2 code cleanups + doc updates by @ankith26 in https://github.com/pygame/pygame/pull/2844
  • Add __contains__ method to the Rect class by @michaelasp in https://github.com/pygame/pygame/pull/2897
  • Renamed some Vector methods to keep consistency by @novialriptide in https://github.com/pygame/pygame/pull/2863
  • Changed AbstractGroup.draw() to return List[Rect] by @novialriptide in https://github.com/pygame/pygame/pull/2896
  • Improve MacOS icon by @Starbuck5 in https://github.com/pygame/pygame/pull/2858
  • fix filenotfound errors on pathlib loading by @ankith26 in https://github.com/pygame/pygame/pull/2840
  • Fix misnamed class aliasing in init file by @ankith26 in https://github.com/pygame/pygame/pull/2870
  • add missing typehints to Vector2 and Vector3 by @bydariogamer in https://github.com/pygame/pygame/pull/2908
  • Fix for paused music and get_pos() by @JoshuaShequin in https://github.com/pygame/pygame/pull/2899
  • Fix docs building without config by @Grimmys in https://github.com/pygame/pygame/pull/2907
  • C cleanups to remove more old compat code by @ankith26 in https://github.com/pygame/pygame/pull/2854
  • Pylinting, format and lint check with setup.py lint by @illume in https://github.com/pygame/pygame/pull/2857
  • Cython code modernizations by @Starbuck5 in https://github.com/pygame/pygame/pull/2920
  • Fix some "it's" -> "its" in the docs by @AvaxarXapaxa in https://github.com/pygame/pygame/pull/2923
  • Renamed pygame.sprite.LayeredDirty.settimingtreshold to pygame.sprite.LayeredDirty.settimingthreshold by @CAPTAIN1947 in https://github.com/pygame/pygame/pull/2921
  • Recorrected typehint for AbstractGroup by @novialriptide in https://github.com/pygame/pygame/pull/2930
  • Fix rect drawing with width by @MightyJosip in https://github.com/pygame/pygame/pull/2927
  • Freetype FileNotFound by @Starbuck5 in https://github.com/pygame/pygame/pull/2922

New Contributors

  • @novialriptide made their first contribution in https://github.com/pygame/pygame/pull/2835
  • @mingzhang96 made their first contribution in https://github.com/pygame/pygame/pull/2849
  • @Radiicall made their first contribution in https://github.com/pygame/pygame/pull/2864
  • @GustavoQuintero99 made their first contribution in https://github.com/pygame/pygame/pull/2865
  • @michaelasp made their first contribution in https://github.com/pygame/pygame/pull/2897
  • @JoshuaShequin made their first contribution in https://github.com/pygame/pygame/pull/2899
  • @CAPTAIN1947 made their first contribution in https://github.com/pygame/pygame/pull/2921

Full Changelog: https://github.com/pygame/pygame/compare/2.1.0...2.1.1.dev2

- C
Published by notpygame over 4 years ago

pygame - 2.1.0 - the 7688 less lines of code release

This is a pretty minimal release in terms of user facing features. If you're happy with 2.0.3, you probably can stick with that one.

You can probably ignore this release

  • 7688 lines of source code were removed (more to come)
  • There's no binary wheels for python2.7, or python3.5
  • pygame no longer compiles from source with SDL1
  • pygame 2.0.3 is there for python 2 users

What's changed

There were lots of internal changes removing old code related to backwards compatibility with SDL1, and python2.

  • Officially drop python2 (and 3.5) and SDL1 support by @Starbuck5 in https://github.com/pygame/pygame/pull/2817
  • Remove most PY2/PY3 C compatibility code by @Starbuck5 in https://github.com/pygame/pygame/pull/2819
  • Simple fix to swap numpy.float type out in favour of float by @MyreMylar in https://github.com/pygame/pygame/pull/2815
  • Remove most SDL1/SDL2 compatibility c code by @Starbuck5 in https://github.com/pygame/pygame/pull/2823
  • Ubuntu 18/20 SDL2 sdist CI, mac CI pp36 drop by @ankith26 in https://github.com/pygame/pygame/pull/2821
  • SDL1 buildconfig removal by @robertpfeiffer and @illume in https://github.com/pygame/pygame/pull/2824

Full Changelog: https://github.com/pygame/pygame/compare/2.0.3...2.1.0

- C
Published by notpygame over 4 years ago

pygame - 2.1.0.dev2 - kick the wheels pre-release

This is a quick pre-release, which mainly contains python 2 and SDL 1 removal.

Please kick the wheels? Changes are very minimal over 2.0.3, except for python2 and SDL1 removal.

- C
Published by notpygame over 4 years ago

pygame - 2.0.3 - the many many manylinux M1 && good bye SDL1 goodbye py2 release

๐Ÿ‚๐ŸŠ๐ŸŒฐ๐Ÿฅฎ๐Ÿฅง๐ŸŒ†๐ŸŒ‡๐Ÿ”ฅ๐ŸŽƒ๐ŸŽ‘๐Ÿฎ๐Ÿ‚๐ŸŠ๐Ÿ‚๐Ÿฅฎ๐ŸŒฐ๐ŸŽƒ๐Ÿฅฎ ๐Ÿฅฎ python3 -m pip install pygame==2.0.3 ๐ŸŠ๐Ÿ‚๐Ÿฅฎ๐ŸŒฐ๐Ÿฅง๐ŸŒ‡๐Ÿ”ฅ๐ŸŒ†๐ŸŽƒ๐Ÿฎ๐Ÿ‚๐ŸŠ๐Ÿฎ๐Ÿ‚๐Ÿฅฎ๐ŸŒฐ๐Ÿฅง๐Ÿฅฎ

Goodbye python 2, goodbye SDL 1.

Firstly, everyone raise their glasses for python 2. This will (probably) be our last python 2 supporting release. From your weird unicode, to your print statement that didn't need (). We will miss you, but we will always remember you.

Secondly, raise a second glass (at the same time!) for SDL1. Oh, SDL 1.2.x how great it was to know you and use you on dead platforms like BeOS and DOS, with your now exotic features like cdrom support. So many pixels, so many sound waves. You stuck around with us several years after retirement, and for that we thank you. SDL 1, take your gold watch and enjoy your retro computing nostalgia after-life.

The python 2 wheels will still be there, and you can still use SDL1 through the pygame 1.9.6 wheels if you need. But it's time for us to move on.

You can stop raising your glasses now. Onto the goodies!

Here we go...

There's lots of build improvements in here, including support for M1 macs and much better linux support (fullscreen and multi touch is working!). There's some regression fixes including on pygame.time.set_timer and when compiling from source on older linux distros. New in here is a loops keyword argument has been added to mixer.music.queue. The Camera module got some further improvements removing some unused legacy code and some code cleanups.

One very cool highlight is that are UCS4 unicode (including emoji) rendering is working. Rendering emoji and some other human languages is now possible!

We now have much better error newbie friendly messages for image/resource loading issues. Which should help people when they make typos or path issues when loading images. This is a common problem for newbies, so it's a really nice improvement.

A bunch of difficult bugs were fixed, and python 3.10 wheels for manylinux (which were accidentally forgotten in the 2.0.2 release). There were also some docs improvements for the new Cursor class and get_desktop_sizes function as well as some type improvements for the experimental _sdl2 modules.

On mac and linux we are using libjpegturbo, so on those platforms jpeg loading should be smoking fast. Additionally lots of our dependencies on mac and linux have been improved (and they share the same build scripts now). Things like fluidsynth being actually compiled in and support for the opus sound files being compiled in properly.

What's Changed

Here's what we have in this release for you in a bit more detail. If you want ALL the details please scroll to the bottom to see the full commits and code diffs.

  • config_darwin.py improvements by @jmroot in https://github.com/pygame/pygame/pull/2768
  • Remove redundant python includes, fix compiler warnings on re-exported symbols by @ankith26 in https://github.com/pygame/pygame/pull/2673
  • GH Actions make /usr/local cache for mac deps by @ankith26 in https://github.com/pygame/pygame/pull/2762
  • Fix regression in set_timer, old events not removed by @ankith26 in https://github.com/pygame/pygame/pull/2769
  • Added loops option for mixer.music.queue by @thorhunter1 in https://github.com/pygame/pygame/pull/2770
  • document getdesktopsizes by @robertpfeiffer in https://github.com/pygame/pygame/pull/2506
  • Add sdl2_video types by @Starbuck5 in https://github.com/pygame/pygame/pull/2664
  • Split GH actions mac builds into 5 matrix builds by @ankith26 in https://github.com/pygame/pygame/pull/2773
  • Change shield to 2.0.2 by @MayuSakurai in https://github.com/pygame/pygame/pull/2784
  • update mixer/music docs, unskip mp3 tests by @ankith26 in https://github.com/pygame/pygame/pull/2780
  • Lots of cleanups by @Starbuck5 in https://github.com/pygame/pygame/pull/2779
  • Simplify pygame resource loaders by @Starbuck5 in https://github.com/pygame/pygame/pull/2695
  • Camera improvements by @Starbuck5 in https://github.com/pygame/pygame/pull/2772
  • Add python 3.10 building in manylinux by @illume in https://github.com/pygame/pygame/pull/2787
  • More informative FileNotFoundError by @Starbuck5 in https://github.com/pygame/pygame/pull/2694
  • Added doc for Cursor object by @fortwoone in https://github.com/pygame/pygame/pull/2709
  • Continue on Cursor docs by @illume in https://github.com/pygame/pygame/pull/2788
  • Fix issue #2543 segfault in font dealloc after reinit by @REW1L in https://github.com/pygame/pygame/pull/2548
  • Old API removal in ftunicode, sdlmainosx cleanups by @ankith26 in https://github.com/pygame/pygame/pull/2433
  • BytesIO fix on 32-bit platforms by @ankith26 in https://github.com/pygame/pygame/pull/2776
  • Remove restriction on rendering 4-byte characters on pygame.font part 1 of 2 by @AvaxarXapaxa in https://github.com/pygame/pygame/pull/2627
  • Remove restriction on rendering 4-byte characters on pygame.font part 2 of 2 by @illume in https://github.com/pygame/pygame/pull/2746
  • test image: Fix test which relied on removed image by @illume in https://github.com/pygame/pygame/pull/2793
  • Redirect pygame github image to pygame webpage by @MightyJosip in https://github.com/pygame/pygame/pull/2789
  • fix syntax error for slightly older versions of libSDL by @ckuttruff in https://github.com/pygame/pygame/pull/2798
  • Build arm64 mac wheels on CI by @ankith26 in https://github.com/pygame/pygame/pull/2782
  • Remove travis again by @illume in https://github.com/pygame/pygame/pull/2803
  • add opus, brotli and bzip2 to dep builds by @ankith26 in https://github.com/pygame/pygame/pull/2804
  • Fix selection of manylinux to build by @illume in https://github.com/pygame/pygame/pull/2805
  • Fix portmidi building for wrong arch on m1 mac by @ankith26 in https://github.com/pygame/pygame/pull/2808

New Contributors

  • @jmroot made their first contribution in https://github.com/pygame/pygame/pull/2768
  • @thorhunter1 made their first contribution in https://github.com/pygame/pygame/pull/2770
  • @MayuSakurai made their first contribution in https://github.com/pygame/pygame/pull/2784
  • @fortwoone made their first contribution in https://github.com/pygame/pygame/pull/2709
  • @REW1L made their first contribution in https://github.com/pygame/pygame/pull/2548
  • @ckuttruff made their first contribution in https://github.com/pygame/pygame/pull/2798
  • @AvaxarXapaxa made their first contribution in https://github.com/pygame/pygame/pull/2627

Thanks all

Thanks to all for reporting issues, doing reviews and helping out in other ways than code contributions. Especially issue reporters, wiki editors, discord mods/folk, redditors, patreons, and such like.

As all releases, this one too would not have been possible without support from the community, from people submitting issues, to people making PRs for all kinds of improvements, from typo fixes, to fixing complex segfaults in C code, every contribution matters a lot!

Special thanks are in order with with this release. For help with last minute testing by /dev/mario, @pkulev, @solozobov, @interstellartaurus, fxbeta and @kajott. Thanks!

python3 -m pip install pygame==2.0.3


- C
Published by notpygame over 4 years ago

pygame - 2.0.3.dev6

Another quick dev pre-release. python3 -m pip install pygame==2.0.3.dev6

What's Changed

Mainly this release fixes some issues with MacOS M1 based arm64 computers, but also some issues with manylinux binary wheels for linux users.

We would appreciate feedback from M1 users, and linux users particularly.

```bash python3 -m pip install pygame==2.0.3.dev6

run an example game

python3 -m pygame.examples.aliens

run the full test suite

python3 -m pygame.tests ```

Please report your successes or failures with the release here: https://github.com/pygame/pygame/pull/2807

Or chat to us in the #contributing discord, or send an email.


  • Redirect pygame github image to pygame webpage by @MightyJosip in https://github.com/pygame/pygame/pull/2789
  • fix syntax error for slightly older versions of libSDL by @ckuttruff in https://github.com/pygame/pygame/pull/2798
  • Build arm64 mac wheels on CI by @ankith26 in https://github.com/pygame/pygame/pull/2782
  • Remove travis again by @illume in https://github.com/pygame/pygame/pull/2803
  • add opus, brotli and bzip2 to dep builds by @ankith26 in https://github.com/pygame/pygame/pull/2804
  • Fix selection of manylinux to build by @illume in https://github.com/pygame/pygame/pull/2805

Thanks all

Thanks to all for reporting issues, doing reviews and helping out in other ways. Especially issue reporters, wiki editors, discord mods/folk, redditors, patreons, and such like.


- C
Published by notpygame over 4 years ago

pygame - 2.0.3.dev4 - let's merge em in?

Pygame 2.0.3.dev4

Another quick dev pre-release. pip install pygame==2.0.3.dev4

What's Changed

This release we've been trying to merge in many PRs which have been taking a long time. But some highlights are UCS4 unicode (including emoji) rendering is working, much better error newbie friendly messages for image/resource loading issues, a bunch of difficult bugs were fixed, and python 3.10 wheels for manylinux (which were accidentally forgotten in the 2.0.2 release). There were also some docs improvements for the new Cursor class and getdesktopsizes function as well as some type improvements for the experimental _sdl2 modules.

We'll have proper detailed release notes for the real 2.0.3 release.

  • document getdesktopsizes by @robertpfeiffer in https://github.com/pygame/pygame/pull/2506
  • Add sdl2_video types by @Starbuck5 in https://github.com/pygame/pygame/pull/2664
  • Split GH actions mac builds into 5 matrix builds by @ankith26 in https://github.com/pygame/pygame/pull/2773
  • Change shield to 2.0.2 by @MayuSakurai in https://github.com/pygame/pygame/pull/2784
  • update mixer/music docs, unskip mp3 tests by @ankith26 in https://github.com/pygame/pygame/pull/2780
  • Lots of cleanups by @Starbuck5 in https://github.com/pygame/pygame/pull/2779
  • Simplify pygame resource loaders by @Starbuck5 in https://github.com/pygame/pygame/pull/2695
  • Camera improvements by @Starbuck5 in https://github.com/pygame/pygame/pull/2772
  • Add python 3.10 building in manylinux by @illume in https://github.com/pygame/pygame/pull/2787
  • More informative FileNotFoundError by @Starbuck5 in https://github.com/pygame/pygame/pull/2694
  • Added doc for Cursor object by @fortwoone in https://github.com/pygame/pygame/pull/2709
  • Continue on Cursor docs by @illume in https://github.com/pygame/pygame/pull/2788
  • Fix issue #2543 segfault in font dealloc after reinit by @REW1L in https://github.com/pygame/pygame/pull/2548
  • Old API removal in ftunicode, sdlmainosx cleanups by @ankith26 in https://github.com/pygame/pygame/pull/2433
  • BytesIO fix on 32-bit platforms by @ankith26 in https://github.com/pygame/pygame/pull/2776
  • Remove restriction on rendering 4-byte characters on pygame.font part 2 of 2 by @illume in https://github.com/pygame/pygame/pull/2746
  • test image: Fix test which relied on removed image by @illume in https://github.com/pygame/pygame/pull/2793

New Contributors

  • @MayuSakurai made their first contribution in https://github.com/pygame/pygame/pull/2784
  • @fortwoone made their first contribution in https://github.com/pygame/pygame/pull/2709
  • @REW1L made their first contribution in https://github.com/pygame/pygame/pull/2548

Thanks all

Thanks to all for reporting issues, doing reviews and helping out in other ways.

We have a pygame 2.0.3 milestone tracking the rest of the work that's most likely going to go into it. The Mac arm64 support had some good progress, and there are some manylinux improvements to help with some linux issues. Hopefully some of that will make it into the release.

Please test, and if you notice anything please raise an issue so we can have a look. Would be much appreciated :)


- C
Published by illume over 4 years ago

pygame - 2.0.3.dev2

Pygame 2.0.3.dev2

A quick dev pre-release, because we can do quicker dev releases now. There's a few build improvements in here, and also a regression fix on pygame.time.set_timer and a loops keyword argument added to mixer.music.queue.

pip install pygame==2.0.3.dev2

2768 mac build improvements by @jmroot

2673 Remove redundant python includes, fix compiler warnings on re-exported symbols by @ankith26

2762 GH Actions make /usr/local cache for mac deps, greatly speeding up mac CI builds by @ankith26

2769 Fix regression in set_timer, old events not removed, by @ankith26

2770 Added loops option for mixer.music.queue, by @thorhunter1

Thanks to all for reporting issues, doing reviews and helping out in other ways.

We have a pygame 2.0.3 milestone tracking the rest of the work that's most likely going to go into it.


- C
Published by notpygame over 4 years ago

pygame - 2.0.2 - O2 release

Pygame 2.0.2 - O2 release

Hello everyone! 2.0.2 is finally here!

๐Ÿ”ท๐Ÿ”ฌ ๐Ÿ’ง๐Ÿ“˜๐Ÿ’™๐ŸŒŒโ„๏ธ๐Ÿ’Ž ๐Ÿ”ท๐Ÿ”ฌ ๐Ÿ’ง๐Ÿ“˜๐Ÿ’™๐ŸŒŒโ„๏ธ๐Ÿ’Ž ๐ŸŸฆ pip install pygame --upgrade ๐ŸŒŒโ„๏ธ๐Ÿ’Ž๐Ÿ”ท ๐Ÿ”ฌ ๐Ÿ’ง๐Ÿ“˜๐Ÿ’™๐ŸŒŒโ„๏ธ๐Ÿ’Ž ๐Ÿ”ท๐Ÿ”ฌ ๐Ÿ’ง๐Ÿ“˜๐Ÿ’™

How do you summarize over 10 months of development, with over 40 contributors contributing 1000s of lines of fixes and enhancements? If you're interested in seeing the changes in more detail, you can check out the release notes for the 2.0.2.dev2 and 2.0.2.dev4 pre-releases. Below is a summary of some highlights.

2.0.2 release greatest hits

  • Rumble support for Joysticks and Controllers
  • Python 3.10 support
  • MacOS 10.9- MacOS 10.13 support for the first time in the 2.x series (intel chips)
  • SDL 2.0.14 -> SDL 2.0.16
  • MP3 music support for Mac and Linux (Windows already had it)
  • Lots of work refining the type hints.
  • Documentation improvements galore, and the documentation build system was updated.
  • Native webcam support for Windows

And many more bugfixes and enhancements to improve the pygame experience.


- C
Published by notpygame over 4 years ago

pygame - 2.0.2.dev4

Pygame 2.0.2.dev4

python3 -m pip install pygame==2.0.2.dev4 --pre

pygame

The previous pre-release 2.0.2.dev2 was aimed to test whether our new build machinery for releasing pygame worked. And it worked great, except on Mac. Now mac wheels are hopefully fixed in this pre-release. In fact, we now have Mac wheels that support down to MacOS 10.9, unlike previous 2.x releases, that only supported 10.13 and above.

Apart from that there's a bunch of other nice stuff in here too. Including python 3.10 support, a new Windows camera module, support for rumble controllers/joysticks, support for building on windows with MSYS2 (gcc and friends for windows), and significant documentation improvements and even a new SVG/vector version of the logo (as you can see above).

Hopefully this will be the last pre release. Next up we can do the real 2.0.2 release... Unless people find some serious issues when testing this one?

Docs + Type Hints + Examples

@rethanon fixed up some type hint and documentation errors in #2697 and #2717.

@rethanon fixed up the playmus examples, and added a good note to the mixer.music docs in #2745. @rethanon continued tidying the music docs in #2751.

@vnmabus enhanced the type hints by moving to use Sequence in places. (#2682)

New contributor @Mega-JC made some beautiful upscaled logos for us in #2704. I mean, just check out the README now ๐Ÿ˜.

@bydariogamer spruced up the docs in #2715.

@Grimmys made it much easier to generate the documentation locally in #2714. No need to install build tools now!

@Grimmys got us up to date with our docs build tooling. We can now generate the docs on Sphinx 4.0. (#2666)

@Starbuck5 wrote a docs README for new contributors in #2667.

Bug Fixes

@ankith26 fixed a regression where a few modules would return True instead of None on init() and quit(). (#2719)

@MightyJosip fixed a bug where rotating a Surface with no width or no height (or both) would cause a segmentation fault. (#2725)

@njbradley, @Starbuck5, and @illume collaborated to get mp3 support for mixer.music on Linux. (#2712)

@zaphodikus Fixed broken unicode len checking in examples/textinput.py https://github.com/pygame/pygame/pull/2567

Devops

@bydariogamer simplified the implementations of surfarray and sndarray in #2708.

@ankith26 improved our Github Actions system significantly, also allowing us to generate Python 3.10 wheels on Mac and Windows. (#2605)

@illume fixed an issue with downloading the jpeg library on windows. (#2743)

@illume added python 3.10 builds to appveyor in #2757.

Many thanks to @illume, assisted by @ankith26, for fixing the mac dependency situation that was the primary release blocker for this release. (#2742). Mac builds should support MP3 music now!

New contributor @Pycryptor10 made sure the metadata in setup.cfg reflects that we support Python 3.10. (#2753)

Many thanks to new contributor @dciabrin, who added support for MSYS2 windows builds. (#2592)

Thanks to @Starbuck5, @ankith26, and @illume for coordinating the 2.0.2.dev4 pre-release.

Additions

@Starbuck5 added a namehint argument to music.queue. (#2750)

@Starbuck5 added built in webcam support for Windows to the pygame.camera module. (#2630)

@zoldalma999 added rumble support to the joystick and controller modules. https://github.com/pygame/pygame/pull/2741


- C
Published by notpygame over 4 years ago

pygame - 2.0.2.dev2

Pygame 2.0.2.dev2 - Drumroll release

๐Ÿ’๐Ÿ’๐Ÿ˜‰๐Ÿ˜Š๐Ÿ’๐Ÿ’ โ˜• Cheer Up! ๐Ÿต ๐Ÿ‚ โœจ )) โœจ ๐Ÿ‚ ๐Ÿ‚โ”ƒ (( * โ”ฃโ”“ ๐Ÿ‚ we have a python3 -m pip install pygame==2.0.2.dev2 ๐Ÿ‚โ”ƒ*๐Ÿ’— โ”ฃโ”› ๐Ÿ‚ ๐Ÿ‚โ”—โ”โ”โ”› ๐Ÿ‚ ๐ŸŽ‚ For YOU ๐Ÿฐ ๐Ÿ’๐Ÿ’๐Ÿ˜Œ๐Ÿ˜Š๐Ÿ’๐Ÿ’

Hello internet strangers. Weโ€™re back with a new release, packed with tons of mundane bug fixes and unexciting improvements! Itโ€™s been a while since the last release, but in that time pygame development has been moving ahead. This release, 36 contributors (25 new ones!) contributed over 75 pull requests. Since 2.0.1, over 200 files were edited, with more than 16,000 lines added, and more than 7,000 lines deleted.

This is a development pre-release, so we can test out new release machinery. Probably we will do a couple more dev pre-releases, but we hope to have a full 2.0.2 release soon. There's a bunch of PRs still open that we want to help resolve and merge in before that.

css So grab a beverage, and doom scroll our release notes, we prepared just for you, (&& those other interweb weirdos)

Bug Fixes ๐Ÿ›

Artisanal source code like ours has the best intentions, but there's nothing like computers to bamboozle our best efforts. It used to be actual bugs climbing inside the pipe organs programmed to play and the looms programmed to weave, but these days that excuse doesn't really work. Our bad.

Bugs in this 1910 Jacquard loom would be actual bugs

New contributor @mhollands fixed an issue where arcs wouldnโ€™t fully draw in #2480 arc drawing image

(See more the video at https://www.youtube.com/watch?v=1PBd3VJrfDw if you're interested)

@ankith26 fixed - the init systems to prevent bugs from init-quit-init (#2428) - an error handling bug in pixelarray in #2444 - the pygame default font would break when packaged with PyInstaller (#2604)

@Starbuck5 fixed: - 20 second load times for SysFont on Mac, and also gave Windows SysFont some love (#2594, #2640). - A bug where freetype would think coordinates of -1 represented an error was fixed in #2576. - A rare segfault in mixer.pre_init() on Mac, in #2494 - Where window size couldn't be reduced after leaving SCALED mode on Windows (#2587) - Exiting fullscreen would put your window at (0, 0) in #2460 - A failure in display.set_gamma() in #2524 - The pygame.scrap module building properly on Mac and Windows (#2499, #2495).

@MightyJosip fixed duplicate entries in display.list_modes() in #2470

@robertpfeiffer fixed - IME placement in SCALED mode in #2451 - A rare bug where Color.hsva would return invalid values in #2467

Sysfont fixes

One module in particular has come a long way in this release โ€” sysfont. Thanks to @Starbuck5

As well as working better on windows and mac... Before, if you requested "Cambria," pygame would silently give out Cambria bold. before

Now, Cambria is Cambria after

(Of course you can still request bold from SysFont and it will hook you up, at least for Cambria)

New Features โœจ

@dr0id added - vector projection to the Vector2 and Vector3 classes in #2510 - a โ€œtouchโ€ attribute to all mouse events in #2514

projected = v3.project(v3) This is useful for collision detection in finding the components in a certain direction (e.g. in direction of the wall). For a more detailed explanation see Wikipedia <https://en.wikipedia.org/wiki/Vector_projection>_.

The .touch attribute is for events that were generated by a touch input device, and not a real mouse. You might want to ignore such events, if your application already handles finger events.

@robertpfeiffer added an exclude argument to pygame.event.get(), allowing inverse filtering, in #2512, with a test in #2546.

@MyreMylar worked on - changing mixer.set_reserved() to return the number of channels actually reserved in #2490 - adding an actual implementation to the force parameter of mixer.find_channel() in #2491 Before it simply wasn't implemented, only documented.

@Starbuck5 added - a namehint argument to mixer.music.load() for easier loading of music from file-like objects. (#2497) - Vector2 support to the transform, display, and Mask modules, as well as keyword argument support to the transform and Mask modules (#2536, #2557, #2581)

Internal / Portability

New contributor @Muxelmann fixed the path to homebrew in #2636, fixing some pygame issues on M1 Mac!

New contributor @odidev and @illume added aarch64 wheel build support, along with a docker file, and github actions tests for it in #2610 and #2675

New contributor @fniephaus made a compatibility fix for GraalPython in #2580

@MyreMylar updated the sse2neon header to make it build alpha blitter on arm in #2425

@ankith26 and @illume added github actions, disabled travis builds except arm64 in #2507 and #2600. This was crucial to keep pygame development functional after the shutdown of travis-ci.org.

@Pierre-Sassoulas used their pylint expertise to keep pygameโ€™s code base clean and functional in #2509, #2579, and #2634.

@Starbuck5 added Python 3.10 support in #2586, updated functions to return bools rather than ints in #2534, and moved to SDL 2.0.16 on Windows in #2670.

@illume moved to SDL 2.0.16 on Linux, as well as many other dependency updates, in #2676

Docs

css _________________________ =(__ ___ __ __)= | | | | | python -m pygame.docs | | | | A large number | | documentation fixes | | were made in this | | release. | | | |__ ___ __ _____| =(_________________________)=

@llindstrom, @Pierre-Sassoulas, and @Starbuck5 corrected incorrection information in: #2485, #2582, #2654. @robertpfeiffer added to the TEXTINPUT documentation in #2456.

New contributors @SplatRT, @bambalamm, @deek80, @NKID00, @MaukWM, and @shawnbyday all cleaned up the documentation with grammar and typo fixes, in: #2431, #2437, #2519, #2555, #2583, #2644. @Starbuck5 contributed to this worthy goal in #2590

New contributor @Grimmys and @Starbuck5 worked on the documentation build system, upgrading it from Sphinx 1 to Sphinx 3, hiding the obsolete Overlay and cdrom modules from the top bar, and adding the --fullgeneration flag to setup.py docs. #2513, #2511, #2617, #2624.

New contributor @Taffer added a page to showcase all of pygameโ€™s named colors, in #2559. When it is live, it will be at https://www.pygame.org/docs/ref/color_list.html.

New contributor @kaiec noticed that SDL_Image, pygameโ€™s image loading backend, supports more than we had documented, so updated the documentation accordingly, in #2619. (We support WebP and SVG, who knew?) New contributor @duthades continued this by adding tests for the new image formats in #2656.

Finally, new contributor @ayushbisht2001 added a nice logo to the README in #2441, sprucing it up nicely.

Type Hints

Typehints got some neat updates in this release as well, so that you can code with pygame in your favourite IDE and you get that sweet auto-correct/autocomplete and type-checking to catch bugs even before they are reported!

New contributor @jakebailey made tons of good typehint fixes in #2537, the most important ones being, correctly exporting submodules in a way that typehints are recognized for the submodules, and generic types used in annotations being fixed to include the missing type params, among other fixes.

New contributors: - @w-v fix set_mods() type hint in #2457 - @nathanielconroy less strict type checking for AbstractGroup.add in #2646 - @sandipanpanda Fixed wrong kwargs types in sprite.pyi in #2652 - @vnmabus Fix syntax for typing AbstractGroup attributes in #2663 - @bydariogamer Update Vector3 overloaded constructor signature in #2674 - @shingo-kagami Fixed mouse.get_pressed() type hint in #2685

@MyreMylar Add str and RGBA tuple types to freetype/font type hints in #2462, and Correct blits typehint sequence arg to cover blit inputs in #2482

@ankith26 and @zoldalma999 overhauled many incorrect uses of Optional in #2678

Examples

New contributor @jonozw added a needed pg.quit() for IDLE compatibility in the stars example (#2560). Many other examples needed this too, so another expeditious new contributor (@AnudeepGunukula) swept through and made sure it was on every example in #2643.

@MightyJosip fixed a crash in the mask example in #2606.

New contributor @mljli improved the aliens example in #2608, new contributor @njbradley improved the font_viewer example in #2655 (itโ€™s cool check it out), and @Starbuck5 overhauled the chimp example in #2651.

Experimental super secret _sdl2 things

TODO: this section is supposed to be top secret! No one is supposed to know about these new APIs yet, except people wanting to give feedback and live dangerously. So I guess bikers, and skydivers can know about this stuff?

@galexandreg added blend_mode, color tuples, origin=None, to _sdl2.Image in #2426 and draw_blend_mode to Renderers in #2520

@Starbuck5 added prototype docs to the sdl2.video system in #2533. They will be live at https://www.pygame.org/docs/ref/sdl2video.html.

@zoldalma999 did lots of work getting the SDL2 controller system ported in #2423.

Thank Yous

  • To all the returning contributors who helped improve pygame this release: Josip Komljenoviฤ‡ (@MightyJosip) | Dan Lawrence (@MyreMylar) | Pierre Sassoulas (@Pierre-Sassoulas) | Charlie Hayden (@Starbuck5) | Ankith (@ankith26) | @droid | @galexandreg | Rene Dudfield (@illume) | Lenard Lindstrom (@llindstrom) | @robertpfeiffer | @zoldalma999
  • And to all the new contributors who put themselves out there by volunteering fixes: @MaukWM | Chris Herborth (@Taffer) | NKID00 (NK) (@NKID00) | Fabio Niephaus (@fniephaus) | Ayush Bisht (@ayushbisht2001) | Nathaniel Conroy (@nathanielconroy) | Kai Eckert (@kaiec) | Anudeep Gunukula (@AnudeepGunukula) | @bydariogamer | Don Patterson (@deek80) | @njbradley | @odidev | @SplatRT | Max Zangs (@Muxelmann) | mljli (@mljli) | shawnbyday (@shawnbyday) | Bambalam (@bambalamm) | Grimmys (@Grimmys) | Carlos Ramos Carreรฑo (@vnmabus) | Jake Bailey (@jakebailey) | Sanket Duthade (@duthades) | Matt Hollands (@mhollands) | @w-v | @sandipanpanda | jonozw (@jonozw) | Shingo Kagami (@shingo-kagami)
  • As all releases, this one too would not have been possible without support from the community, from people submitting issues, to people making PRs for all kinds of improvements, from typo fixes, to fixing complex segfaults in C code, every contribution matters a lot!
  • patreon.com/pygame sponsors: Christopher Cacho, Daniel Lawrence, Tommi Sinivuo, Leif Theden, zoldalma, rosa, Nova Dasterin, and Bob Johnson. With their help half of the first patreon goal of covering the monthly hosting costs has been covered and a number of pygame tutorials have been made.
  • To the people making all the software pygame depends on, from SDL&python, to sphinx&git and many others.
  • The people supporting pygame financially by buying the pre-release of a pygame book. It's a book by a long time pygame contributor where all funds go towards pygame development.
  • People helping out the community in general, from making youtube tutorials, to answering questions on various forums of discussions, to helping with packaging pygame!

- C
Published by Starbuck5 almost 5 years ago

pygame - 2.0.1 - The Age Of Aquarius release

๐ŸŒบ๐ŸŒป๐ŸŒน๐Ÿฅ€๐ŸŒท๐ŸŒผ๐ŸŒธ๐Ÿ’๐Ÿ’ฎ๐ŸŒบ๐ŸŒป๐ŸŒน๐Ÿฅ€๐ŸŒท๐ŸŒผ๐ŸŒธ๐Ÿ’๐Ÿ’ฎ๐ŸŒบ๐ŸŒป ๐ŸŒผ๐ŸŒธ python3 -m pip install pygame==2.0.1 ๐ŸŒบ๐ŸŒป๐ŸŒน๐Ÿฅ€๐ŸŒท๐ŸŒผ๐ŸŒธ๐Ÿ’๐Ÿ’ฎ๐ŸŒบ๐ŸŒป๐ŸŒน๐Ÿฅ€๐ŸŒท๐ŸŒผ๐ŸŒธ๐Ÿ’๐Ÿ’ฎ๐ŸŒบ๐ŸŒป

The Age Of Aquarius, the northern Winter Solstice, and the southern Summer Solstice bring us... a new pygame to play with :)

This is a bug fix release, with a bunch of features and optimizations thrown in for good measure. Thank you to the people reporting issues related to pygame 1 compatibility. Some of them will take a bit longer to discuss, work through, and find solutions. We say goodbye to Travis the CI that served us well. We said goodbye to the pygame discord that had grown too big, only for a few more to have sprouted up in its place. We said hello to the patreon.com/pygame and we took a breather for a little bit.

Enough bla bla bla... what's new?

Backwards compatibility fixes

Firstly, a few backwards compatibility fixes have been made.

Dan Lawrence @MyreMylar worked some more on the alpha blitter so it's more compatible. - Change opaque surface test to use SDLISPIXELFORMATALPHA() macro #2269

Renรฉ Dudfield (@illume) worked on making some old audio driver and video driver names that had been renamed work in backwards compatible env vars, SDLVIDEODRIVER=windib, SDLAUDIODRIVER=pulse or dsound #2292

Major event refactor

Ankith (@ankith26) did a major event refactor in #2357 #2404 #2416 and #2398 This not only cleaned up the event processing code, but fixed a bunch of issues an introduced some new features making event processing more comfy along the way.

  • #1236 unicode keydown field does not appear occasionally
  • #1238 posting keydown events fills the all fields.
  • #1524 Unicode property not returned on KEYUP event
  • #1550 time.set_timer accept event object
  • #2146 Segfault in pygame.event.post() fixed
  • #2214 WINDOWEVENT API upgrade
  • #2319 event.get(type) does not return a list of all events posted
  • #2347 pygame.time.set_timer() accepts loops param
  • #2378 unicode keydown field working when mashing 4 keys at once

Here's a graph to treat your eyes, on an event benchmark where getting lots of events has been sped up a lot. As you can see, its a 7 times speed up. There are also less peaks in there, due to less thread locking on the event queue and using batching API calls.

Figure_1

New contributors

Thanks to @bwright8 for adding a unit test for image.load_basic() #2307 and also for adding some Surface.convert tests in #2368.

@kristofszentes made a unit test for image.load_extended() in #2324

Paul m. p. P. (@pmp-p) fixed typo in windib driver handler condition https://github.com/pygame/pygame/pull/2342

The Dog Lulu (@Iamsoto) updated the TYPE_HEAD macro to use a newer API #2363

@aminouhammou added a unit test for display.glgetattribute() #2375

Tom Fryers (@TomFryers) Capitalised "Python" in the import message. #2389

Pierre Sassoulas (@Pierre-Sassoulas) has been working on some code quality fixes using the pylint tool (and apart from these merged PRs working on setting up other code quality tools and a pre-commit checker). - Add parentheses to print so it works in py2 and py3 #2284 - Merge some comparisons in lists for simplicity #2290 - Change range(len(x)) to enumerate(x) when applicable #2291 - Temporarily skip testsoundargs on windows and Appveyor #2371

Color.update() and Rect.update()

@zoldalma999 (who recently joined the pygame team on github after contributing several high quality patches to pygame) worked on a proposal by David Lรถnnhager (@dlon) to add Color.update and Rect.update #2277

Vectors already have an update() method. Now Color, and Rect do too :)

```python

c = pygame.Color(0, 0, 0) c2 = pygame.Color(1, 2, 3, 4) c (0, 0, 0, 255) c.update(c2) c (1, 2, 3, 4)

rect = pygame.Rect(0, 0, 1, 1) rect.update(1, 2, 3, 4) rect rect = pygame.Rect(0, 0, 1, 1) rect2 = pygame.Rect(1, 2, 3, 4) rect.update(rect2) rect ```

@zoldalma999 also worked on: - the "edit on github" link in the docs was fixed to now point to main branch. #2318 - document that sprite groups are ordered in python 3.6 and above #2336 - Remove unittest skip from freetypeFontrendertomono #2351 - Fix render_to returning unpositioned rect #2410

Renรฉ Dudfield (@illume) was hacking on some things like these: - Fixing some sysfont test failures #2354 - docs, tests and types for pathlib support #2387 - fix for a gl crash #2394 - SDL 2.0.14, and manylinux improvements (pulseaudio and other deps) #2395 - Fix and skip test failures #2415

SDL 2.0.14

libsdl is a library pygame is built on. It had a new release after almost 9 months of development. The 2.0.14 release notes detail things a little bit. More than 9 months worth of effort is a bit much to explain.

There's been a number of bugs fixed we reported in the pygame 2 series. One of which was pygame.display.update() updating the whole screen on windows. So, now 'dirty rect drawing' is faster again on windows. From the list you'll notice a lot of work went into joystick and game controller improvements. Including support for more than 4 xbox controllers at once on windows. But linux, android, mac, and even freebsd got joystick improvements. On linux the Kernel Mode Setting (KMSDRM) video driver was improved a lot. For retro computing fans, the OS2 port got a lot of love. Lots of portability things were improved, like fixing compilation for M1 CPUs, improving the build system. Raspberry Pi support has been improved, as have most video drivers for other platforms.

Xbox One port

Victor Lopez started on an Xbox one port, and has had some success.

I can confirm Xbox One is able to run the aliens sample with joystick support, audio and sprites, it needs, however, heavy testing.

These are the relevant repositories: - https://github.com/greentwip/cpython - https://github.com/greentwip/pygame

pathlib support for image, sound, and font loading.

pathlib is an object oriented way of doing path handling in python 3 (there's also a backport to python2). Before pygame didn't handle these objects in resource loading functions for image and sound loading. Now it does pathlib!

python path = pathlib.Path('.') / "data" / "house_lo.wav" sound1 = mixer.Sound(path)

Thanks to @ankith26 in #2366 and Renรฉ Dudfield (@illume) in #2387 .

Cursor object API

@Starbuck5 worked on a new Cursor object in https://github.com/pygame/pygame/pull/2331

Now you can add system cursors, and color cursors out of surfaces along with the other ones you could draw with ascii art.

```python box = pygame.cursors.Cursor((10,10), pygame.Surface((20,20))) pg.mouse.set_cursor(box)

pg.mouse.setcursor(pg.SYSTEMCURSORNO) pg.mouse.getcursor()

```

@Starbuck5 - added a link to patreon on github in #2362 - Improved the README.rst by clarifying, restructuring and improving links. #2396 - Cleaned up 'import pygame.view' in packagerimports by removing it. #2384 - Docs build fixes + home for the Korean tutorial #2420

@Starbuck5 added a deprecation warning for mouse.setsystemcursor() #2397 after a long discussion and research with a number of us on if we should have deprecation warnings anyway?.

pygame.draw.rect fixes.

Another project @Starbuck5 worked on was fixing some draw.rect issues in PR #2406 found by @gummbum and @dr0id

This script by @dr0id made it much easier to spot the problems. 2359-ex3

@galexandreg worked on text_input documentation improvements on by default, needed for pygame.TEXTINPUT https://github.com/pygame/pygame/pull/2333

@robertpfeiffer made a few fixes to issues with android support. Added KACBACK key constant, fixed data_file pruning and "STRIPPED" install #2311

Ankith @ankith26 merged these ones in (whilst also looking at some difficult event posting issues, and cleaning up some image loading code). - Unittests for event module #2283 - Delete obsolete test/util files #2303 - Documented pygame.image loadbasic, loadextended, saveextended. image.c code cleanups. https://github.com/pygame/pygame/pull/2270 - Pathlib support for most pygame functions #2366 - Drop PyLongFromUnicode, removed in python 3.10 #2385 - little music doc fix #2414

@mcpalmer1980 Added experimental relative mouse motion support to video.Window in #2392 They have also been using the experimental _sdl2 features quite a lot and coming up with some good improvements and discussions on that (including a new package!).

Dan Lawrence ( @MyreMylar ) was on a coding rampage and made a number of improvements:

  • mixer.music.get_busy() return False when the music is paused #2295
  • Small improvement to the get_locks() test #2281
  • Interactive test for touch.get_finger() #2279
  • Removed the link to the closed Discord server from GitHub #2296 ๐Ÿ˜ข
  • pygame.midi pass the output buffersize down to portmidi #2272
  • interactive test for setgammaramp() #2278
  • Rejiged the alpha blitter path logic to cover issue on mac #2345
  • Account for mixer.init()/pre_init() returning more channels than asked #2372
  • Fix typo in image.frombuffer() type hint #2383

Many many special Thanks go to

  • everyone writing up issues, answering questions, sharing your work, or moderating discussions on different forums.
  • reviewers including: @illume, @siggisv, @ankith26, @robertpfeiffer, @MyreMylar, @Starbuck5, @pmp-p, and others.
  • patreon.com/pygame sponsors: Christopher Cacho, Daniel Lawrence, Tommi Sinivuo, Leif Theden, zoldalma, and Bob Johnson. With their help half of the first patreon goal of covering the monthly hosting costs has been covered and a number of pygame tutorials have been made.
  • the people supporting pygame financially by buying the pre-release of a pygame book. It's a book by a long time pygame contributor where all funds go towards pygame development.

See ya!


- C
Published by illume over 5 years ago

pygame - pygame 2.0 - the happy dance birthday release

The 28th of October 2020 is the pygame 2.0 release date, because pygame turns 20 years of age.


css ,--. | oo| | ~~| o o o o o o o o o o o o o |/\/\| python3 -m pip install pygame==2.0.0

What's the best feature of pygame 2? Maybe it's "backwards compatibility". For many, many apps pygame 2 is backwards compatible. Have an pygame app from the year 2000? It will probably work. We still have some known issues and open backwards compatibility issues(see below), but a lot of things work just as they did before. Yes, we still have python 2 support.

How does one summarize the 3306 changes since we started the pygame 2 series in July of 2018 based on patches going back to 2012 and even earlier?

  • Support for Metal, Direct 3d, Vulkan, OpenGL 3.0+ in various profiles (core, compatibility, debug, robust, etc), OpenGL ES, and other modern hardware accelerated video APIs across many platforms.
  • SSE2/Neon assembly image drawing. Much faster drawing routines, image loading, and alpha blending.
  • Type Hints, for code completion (and to help you make the squiggly lines disappear) in editors and IDEs.
  • Code cleanup, using lots of code robustness tools like static analyzers, and automated CI/CD. We've been able to help dozens of people new to community projects contribute. We have lots of work to go on code quality, but we're currently the highest rated Python and highest rate C large project on LGTM.
  • Many, many bug fixes including in our pygame.draw routines, pygame.math(for vectors), and pygame.mask for pixel perfect collision detection.
  • better support for PyPy (the fast JIT based implementation of python). See our milestone Are we pypy yet? No. for our progress on making PyPy the best python for games.
  • libsdl version 2 support. Technically pygame 2.0 still works with SDL 1, but we recommend SDL2 which is vastly improved over SDL1 for most use cases. Probably we will remove SDL 1 support starting pygame 2.1.
  • Touch support (multitouch, gestures, etc)
  • Audio input support (make games with your microphone!).
  • Message alert boxes (Press OK, or Cancel).
  • Better keyboard support. Proper unicode input and IME support.
  • Much improved game controller support.
  • Better image and audio format support. Including: webp, 32bit wav files, and much more reliable mp3 support.
  • Multiple display support, and multiple window support (multi window support is still experimental, more will come in pygame 2.1).
  • Android support through python for android (fork of pygame subset for android). Better documentation, and better support will come in future releases.
  • to make distributing your apps easier, a built in "pyinstaller hook"and compatibility with cxfreeze.
  • binary "wheels" on many platforms and versions of python from the old python 2.7 - to the latest python 3.9 (and with pypy!).
  • lots of quality of life improvements like Surface.fill('black') instead of Surface.fill(pygame.Color(0, 0, 0)). Also keywords are supported for many more function arguments. You can draw rounded corners on rects.
  • plenty of new examples, like python3 -m pygame.examples.font_viewer, and python3 -m pygame.examples.music_drop_fade. Additionally the example source code has been cleaned up a lot to follow a more current python style.
  • Hundreds of documentation improvements, include a new Korean tutorial.
  • a special SCALED mode which takes low pixel games and automatically translates them to a larger window. Imagine your 320x200 resolution game of glorious pixel art... on modern screens that would be a very tiny windows. Now with SCALED it shows up big on a Full HD screen, or even a 4K/8K screen and the translation of mouse coordinates and up-scaling of pixels is done for you (hardware accelerated of course).

That was a summary of some of the goodies in pygame 2. We will be releasing more articles and tutorials on new features as time goes on. You can also look at the previous release notes for more info (see end of this post).

thank you ๐ŸŽ‰

Probably one of the better realizations thinking about pygame on its 20th birthday is that there is a much larger group of people who have contributed to crafting pygame in recent years. Some have moved onto other things like jobs, family or writing cookbooks in the Canadian wilderness. Much respect for volunteering time to a community project like pygame.

Firstly thanks to the pygame team members who contributed to the pygame 2 series, new and old...

David Lรถnnhager (@dlon) | Renรฉ Dudfield (@illume) | Charles (@charlesej) | Dan Lawrence (@MyreMylar) | Ankith (@ankith26) | Niels Thykier (@nthykier) | Lenard Lindstrom (@llindstrom) | Sigurรฐur Sveinn Halldรณrsson (@siggisv) | @robertpfeiffer | Josip Komljenoviฤ‡ (@MightyJosip) | Travis Chang (@Reminisque) | xFly_Dragon (@husano896) | Adam Andrews (@adamandrews1) | (@galexandreg) | Thiago Jobson (@thiagojobson) | (@mcpalmer1980) | @charlesoblack | Daniel Pope (@lordmauve) | Thomas Kluyver (@takluyver) | @e1000 | Andy Nguyen (@anguye13) | @Starbuck5 | Ian Mallett (@imallett)

Equally important thank you go out to all the other contributors, some of which contributed to a community project for the first time.

Pedro de la Peรฑa @pedrodelapena | @lkito | @khuang0312 | @tsadama | @Bottersnike | @alphaCTzo7G | Amos Bastian (@amosbastian) | Andrey Lopukhov (@andreyx86) | Augusto Noronha (@augusto2112) | Bernardo Sulzbach (@bernardosulzbach) | (@Bottersnike) | Cai Q.T. (@CAIQT) | (@Cerealdragon) | (@ChrisWeissNike) | (@cmtrapp02) | Daniel Molina (@daniel-molina) | David Caughell (@DavidCaughell) | (@dr0id) | burmer (@dtschirmer) | (@IchMageBaume) | (@LambdaGoblin) | Franรงois Magimel (@Linkid) | (@LiquidFenrir) | Mark Hurley (@markph0204) | Marius Gedminas (@mgedmin) | (@metulburr) | Michael Farrell (@micolous) | Dominik George (@Natureshadow) | Nik (@nikolas) | Nunu-Willump (@Nunu-Willump) | (@pleboulanger) | Rebecca Chen (@rchen152) | (@robertpfeiffer) | Sett (@sw00) | @seenemikk | Nguyแป…n Gia Phong (@McSinyx)| Sebastian Henz | @BastiHz | Alice Lia Stapleton (@slimelia)

raphacosta27 (@raphacosta27) | Bill (@AdditionalPylons) | Gabriel Moreira (@gabsmoreira) | zoldalma999 (@zoldalma999) | amipy (@amipy) | DGMcKenney (@DGMcKenney) | Grigoris Tsopouridis ((@gtsopus)) | Ilia Gogotchuri (@Gogotchuri) | Jim Quach (@jiquach) | Aaron Li (@AaronLi) | Clark Seanor (@cruxicheiros) | K Duggan (@kduggan15) | Michaล‚ Gรณrny (@mgorny) | Clark Seanor (@cruxicheiros) | jtoloff (@jtoloff) | 41aaronb (@41aaronb) | Prasanna Venkatesh (@hanzohasashi33) | zoldalma999 (@zoldalma999) | Nihal Mittal (@codescientist703) | leopoldwe (@leopoldwe) | Scott Noyes (@snoyes)

Vicente Gonzรกlez Ruiz (@vicente-gonzalez-ruiz)| Douglas (@douglas-cpp) | wuzh07 (@wuzh07) | Gerardo Antonio Hagad (@ginohagad) | Evan Kanter (@evank28) | Inada Naoki (@methane) | Jani Tiainen (@jtiaicomparison) | Christian Clauss (@cclauss) | Gosha Zacharov (@Gosha) | Steven Chua (@Graphcalibur) | K Duggan (@kduggan15) | PeanutbutterWarrior (@PeanutbutterWarrior) | Nachiket Naganure (@NachiketUN) | Pierre Haou (@pierrehaou) | Daniel Gillet (@dangillet) | Stefano Rivera (@stefanor) | Andre Miras (@AndreMiras) | glennmackintosh (@glennmackintosh) | Vilhelm Prytz (@vilhelmprytz) | DotMars (@DotMars) | Gabriel Duque (@zuh0) | Mark Hurley (@markph0204) | Henrik Petersson (@hnrkcode) | Grigoriy (@flaambe) | Matt Sheppard (@mampersat) | s0lst1ce (@s0lst1ce) | Norman Packard (@nhpackard) | peanutbutterandcrackers (@peanutbutterandcrackers)

A special thanks to all the people who help out others. From making videos, to answering questions, to writing guides (and even whole books). MyreMylar, MichaelCPalmer, jtiai, claudeb, DaFluffyPotato, Rabbid76, The Big Kahuna, sloth, Kingsley, ... and lots of other people. Thanks to the mods on forums, chat rooms and Q&A sites. Special thanks to Zireael07 for cheering on pull requests that people make ๐ŸŽ‰ Thanks to people adding support and integration to libraries and tools like pgzero(lordmauve and co), Mu Editor (Nicholas and team), and pymunk (Victor Blomqvist). Very many people have contributed by reporting issues. This is fantastic help for people ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘ Without these issue reports and help in testing bugs and new features many parts simply wouldn't work. Thanks to the SDL folk, to the fluidsynth crew, to numpy devs (Matti and co), python for android, pypy project, and the python community at large. Thanks to the folks running game jams like ludumdare(Mike), pyweek(lordmauve), and alakajam. Thanks to renpytom for pygame subset for android and pygame_sdl2, thanks to Marcus von Appen for pysdl2. Thanks to people sharing your work with others on the pygame website, or on places like the pygame reddit, discord, or youtube. Thanks to the kind folk who work on packaging pygame from Debian, Ubuntu, Arch, FreeBSD, and piwheels (@bennuttall). Thanks for the people teaching and learning with pygame all over the world. Last but not least... a very special thanks to everyone we've missed that should be listed here.

Really. Thank you (you). Thanks.

Known issues

We have an up to date list of issues marked with the Compatibility Python 2 label. These are compatibility issues where something worked in pygame 1, but doesn't work in pygame 2.

At the time of writing this included: - the pygame.cdrom package not being there (mainly because it isn't in SDL2 anymore). - pygame.scrap is only working with text, not images (needs some porting and testing done). - pygame.event.post is having issues with some event types. - pygame.display.setpalette is not implemented (not in SDL2). - display.setmode() ignores depth value. It just returns one it thinks is appropriate.

We've already investigated many of these issues, and even have some work in progress on some of them. If you're particularly interested in one of them please let us know. Also if you have any issues with your existing apps, we are very interested in finding out.

๐ŸŒบ๐ŸŒป๐ŸŒน๐Ÿฅ€๐ŸŒท๐ŸŒผ๐ŸŒธ๐Ÿ’๐Ÿ’ฎ๐ŸŒบ๐ŸŒป๐ŸŒน๐Ÿฅ€๐ŸŒท๐ŸŒผ๐ŸŒธ๐Ÿ’๐Ÿ’ฎ๐ŸŒบ๐ŸŒป ๐ŸŒผ๐ŸŒธ python3 -m pip install pygame==2.0.0 ๐ŸŒบ๐ŸŒป๐ŸŒน๐Ÿฅ€๐ŸŒท๐ŸŒผ๐ŸŒธ๐Ÿ’๐Ÿ’ฎ๐ŸŒบ๐ŸŒป๐ŸŒน๐Ÿฅ€๐ŸŒท๐ŸŒผ๐ŸŒธ๐Ÿ’๐Ÿ’ฎ๐ŸŒบ๐ŸŒป

Happy pygame 20th birthday all! ๐ŸŽ‰ ๐Ÿฐ ๐Ÿฅณ


- C
Published by notpygame over 5 years ago

pygame - 2.0.0.dev24

python3 -m pip install pygame=2.0.0.dev24

A bunch of fixes and speedups before the release. Now the default branch on the pygame repo is main.

@MyreMylar Dan Lawrence - Sets SDL Hint for hidden mouse cursor at window edges when full screen #2254 - Documents that integers underlying key code constants differ between Pygame 1 & 2 #2253 - Updates the joystick docs to include controller mappings for X360 & PS4 controllers #2252 - Updates the docs for toggle_fullscreen() #2251 - New Alpha blitter - fixes and speed ups #2243

@siggisv Sigurรฐur Sveinn Halldรณrsson - Add to test/draw_test.py some unit tests for draw.line() #2247

Ankith @ankith26 - A small little deletion of obsolete file #2256 - Do MOUSEBUTTONUP event on MOUSEWHEEL #2242 - Fix event.post KEYDOWN/KEYUP #2244

- C
Published by notpygame over 5 years ago

pygame - 2.0.0.dev22

python3 -m pip install pygame==2.0.0.dev22

Several very difficult to find and fix issues with alpha blending were fixed in this release. - First pass at backwards compatible pygame alpha blit by @MyreMylar

The new alpha blitter has an SSE2 and arm NEON implementation, and keeps compatibility with pygame 1.

Also some progress on other issues, including these...

- C
Published by notpygame over 5 years ago

pygame - 2.0.0.dev20

Another crunchy little release. This time more compatible manylinux wheels (Ubuntu 18.04 Bionic and CPUs without SSE 4.2), some documentation improvements, and pygame.midi fixes. bash python3 -m pip install pygame==2.0.0.dev20

- C
Published by notpygame over 5 years ago

pygame - 2.0.0.dev18

pip install pygame==2.0.0.dev18

This is a small bugfix release to fix a problem with installing pygame from source code.

If 2.0.0.dev16 worked for you, there's no need to upgrade.

- C
Published by notpygame over 5 years ago

pygame - 2.0.0.dev16

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... solarwolf on SDL2 and pypy

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.

@robertpfeiffer - Add Setup.Android.SDL2.in, and default icons to STRIPPED build is an improvement for better Android support.

@Starbuck5 - 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 - Document expected behavior of draw.aaline()

Ankith @ankith26 - Doc improvements for WINDOWEVENT, MOUSEWHEEL, event and misc

This time 4 'critical' backwards compatibility issues were fixed since the last release.


- C
Published by notpygame over 5 years ago

pygame - 2.0.0.dev14

pip install pygame==2.0.0.dev14 dreamlines -- Players, only love you when they're playing

With a very tiny little bit of discussion it was sort of decided that the 28th of October 2020 will be the pygame 2.0 release date, because pygame turns 20.

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.

Thanks to Dan Lawrence @MyreMylar for Adding a numbuttons parameter to mouse.getpressed(). This was a backwards compatibility issue, because it used to return 3 elements. Now it returns 3 elements again by default and you can request 5 if you want. Another critical issue fixed by MyreMylar was a problem with key events being reordered on windows.

But wait... there's more. Another backwards compatibility fix by MyreMylar is the "Backwards compatibility for get_flags() in SDL2" PR, which has stopped some games handling full screen mode properly.

Sigurรฐur Sveinn Halldรณrsson @siggisv fixed a problem with how pygame.draw.aaline didn't look as before. - Fix draw.aaline not always solid, and other problems

Now the anti aliased lines look (and smell) awesome. 13

bugs, worms, shiny-shiny, and such

Ankith @ankith26 - Some mouse cursors documentation improvements - Fix pyinstaller issues with pygame.font.Font - Document some undocumented pygame.image functions - Update pygame.version.rev docs - Adding windowevent constants - Fixes pygame.display failing unit tests on raspberry pi - Remove ancient file kept for python v2.4 compatibility

Josip Komljenoviฤ‡ @MightyJosip - Improved the speed of pygame.draw.line() - A few more type hint fixes

Dan Lawrence @MyreMylar - GitHub issue templates: New style Part 2 - doc header file regen - Changed display.set_palette() test to test correct function

Adam Andrews @adamandrews1 - Code cleanup Removed PGENABLENEWBUF

@Starbuck5 - Python3 needs bool instead of nonzero - timeout option added to event.wait() which is useful if you only want your app to wake up when something happens and also at least every 1 second or so.

Renรฉ Dudfield @illume - Python 3.9 binary wheels (which is a new release of python). - Test sdist on CI - Disable timing based tests on mac CI, because issues

Nguyแป…n Gia Phong @McSinyx - Fix mouse.pyi@setsystemcursor type hints - py.typed for mypy, fix pygame._sdl2 importing touch module type hints - Clean up README and source distribution

Special thanks to the new contributors

@seenemikk - unit test for surface.get_masks()

Sebastian Henz @BastiHz - Fix typo in freetype.rst

Alice Lia Stapleton @slimelia - unit test: display.getwminfo()

This time 4 'critical' backwards compatibility issues were fixed since the last release.


- C
Published by notpygame over 5 years ago

pygame - 2.0.0.dev12

css ,--. | oo| | ~~| o o o o o o o o o o o |/\/\| pip install pygame==2.0.0.dev12

Locked in or Locked out? That's not going to stop a new pygame coming out.

The main theme of this release is testing. With many new contributors having worked on unit tests, we can be much more confident that many more features will continue to work with our SDL2 based pygame 2 as in pygame 1 which is based on SDL1. But we also have a few new features, and plenty of bug fixes.

Thanks to everyone for their help with this release.

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.

We start with some joystick improvements from Daniel Pope @lordmauve. Add SDL2-specific methods to Joystick; rename event fields. Now joysticks(game pads, drum sets, dance mats) can be hot-plugged, and the game will still work properly.

@robertpfeiffer got posting of keydown events working on SDL2. This is part of the android work that has now been merged into the main branch - but it is also a backwards compatibility fix.

Thanks to Dan Lawrence @MyreMylar for fixing segfaults caused when interacting with display surface after quit, which is mainly useful for when writing unit tests or playing with pygame interactively.

Sometimes writing tests for existing functionality finds real issues and bugs. First @tsadama Added unit tests for display.togglefullscreen and display.getactive which uncovered an issue with SDL2. Then Dan Lawrence @MyreMylar Fixed get_active() function so it works as described in docs on windows under SDL2..

Tests

Here we see the amount of unit tests left to write to get full coverage of every pygame method. During this release period you can see a lot of things got new tests. During the testing it uncovered a number of real issues, and some of them were even fixed.

| pygame version | Methods left to test | | --------------------- |---------------------:| | 2.0.0.dev12 | 81 | | 2.0.0.dev10 | 127 | | 2.0.0.dev8 | 143 | | 2.0.0.dev6 | 147 | | 1.9.6 | 156 | | 1.9.5 | 155 | | 1.9.4 | 189 | | 1.9.3 | 194 | | 1.9.2 | 194 | | 1.9.1 | 232 | | 1.9.0 | 232 | | 1.8.1 | 25 | | 1.8.0 | 0 |

The count can be found with the following command run in the pygame code base: grep todo test/*.py | wc -l

'goodfirstissue' is a label applied to issues which would be good for someone who wants to try contributing to a Free, Open Source, or community project (like pygame). A lot of these issues were written up containing unit tests that needed to be finished off.

Unfortunately we will probably run out of things to test in some months. We hope to prepare new types of 'good first issues', and educational material in other areas next. So that there is something else for people who are interested in contributing as a way to learn. Hopefully we can structure it as a learning pathway, with even some advanced topics.

Thanks to Andy Nguyen @anguye13, who worked on a number of tests in the display, image, and surface areas. - Unit test for image.save_extended() - display.setgammaramp() unit test - Added unit test: surface.get_shifts() - Added unit test: surface.get_pitch()

Adam Andrews @adamandrews1 worked on the transform, threads parts of the code base. They have also begun work on cleaning up the buffer code, which is in C and kind of complicated. But that work is still waiting, and will likely make it into the next release. - threads.benchmark_workers and threads.WorkerQueue.do - pygame.transform.smoothscale - Reintroduce sizing checks for transform.smoothscale test

Travis Chang @Reminisque - Added unit test for mouse.get_cursor() - Add unit test for surface.get_losses - Add mouse.set_cursor unit test

Dan Lawrence @MyreMylar - Some colorkey test fixes - Testing mixer.music.play() start parameter & adding mp3 warning

@khuang0312 - Added time.get_ticks() and time test improvements - surface.get_colorkey() test

@lkito - Surface.getbitsize and Surface.getbytesize tests - Surface.testgetabsparent and Surface.testgetabsoffset tests, and fix.

Pedro de la Peรฑa @pedrodelapena - Unit tests for time.Clock.get_time() - Unit tests for transform.rotate()

@galexandreg continued to - Add time.set_timer() unittest - Add some mixer Sound tests

@tsadama - Added unit tests for display.togglefullscreen and display.getactive - Added Unit Test for joystick.init()

pygame.joystick tests

@raphacosta27 Add unit test: joystick.quit() Bill @AdditionalPylons Added unit test: JoystickModuleTest.testgetcount

pygame.display tests

Gabriel Moreira @gabsmoreira Add unit test: display.get_driver @zoldalma999 Adding unit test to display.iconify @amipy Added a unit test for display.flip() @DGMcKenney Adds a unit test of the display.set_icon() function. Grigoris Tsopouridis @gtsopus Add display.set_gamma unit test

pygame.time tests

Ilia Gogotchuri @Gogotchuri Implemented time.Clock.get_fps unit test Jim Quach @jiquach Add unit test to Clock.get_rawtime Aaron Li @AaronLi Added test for time.Clock.tick() Clark Seanor @cruxicheiros Add basic tests for time.Clock.tickbusyloop

pygame.threads tests

K Duggan @kduggan15 Adds test for threadloop Michaล‚ Gรณrny @mgorny Replace long-deprecated Thread.isAlive() with .is_alive() Clark Seanor @cruxicheiros threads.tmap() test and and fix. Unsurfaced bug #1768

pygame.Surface tests

@jtoloff unit test for Surface.get_locks function @41aaronb Added unit test for the surface.lock() function

other tests

Prasanna Venkatesh @hanzohasashi33 math.Vector.scaletolength docs and add test for display.set_palette() @zoldalma999 Add unit test to image.get_extended Nihal Mittal @codescientist703 Added unit test for pygame.cursors.compile @leopoldwe Add key.get focused unit test

draw

Josip Komljenoviฤ‡ @MightyJosip Fixed drawing of ellipse. No more holes.

Old: Old New: New

Scott Noyes @snoyes drawpy.draw_line: Use correct endpoints during swap

Charles @charlesej Fix aatrigon/aapolygon drawing horizontal edges

Math

Daniel Pope @lordmauve Fix OOB access in math.Vector swizzle; add '0' and '1' swizzles

These will be useful to prepare homogenous coordinates for affine transforms by matrix multiplication. Here is a matrix representing a 2x scale + (3, -1) translation:

```python

import numpy as np from pygame.math import Vector2 v = Vector2(0.5, 0.8) mat = np.array([ ... [2, 0, 3], ... [0, 2, -1], ... ]) mat @ v.xy1 array([4. , 0.6]) ```

Community help

A special thanks to all the people who help out others. From making videos, to answering questions, to writing guides. MyreMylar, MichaelCPalmer, jtiai, claudeb, DaFluffyPotato, Rabbid76, The Big Kahuna, sloth, Kingsley, ... and lots of other people.

Special thanks to @Zireael07 for cheering on pull requests that people make ๐ŸŽ‰

Type hints, and lint tools

We are down to zero alerts on the LGTM linting tool on python and C/C++. We are now the largest python codebase with zero alerts on the LGTM platform (and also the largest C/C++ codebase with zero alerts). This doesn't mean we have perfect code yet however!

pylint

pylint is another python code quality tool we are using. With which we currently have thousands of reported issues left. Not only can this tool find correctness problems with the code, it can also offer ideas on how to make the code more readable and 'pythonic'. Once we have the files pylint-clean we can use pylint to take some of the load off the code reviewers.

Dan Lawrence @MyreMylar pylint - version module - sysfont module - pkgdata module - py_draw.py module - midi module - locals.py module - A start on linting the sprite module

Charles @charlesej - colordict.py - _numpysurfarray.py

Josip Komljenoviฤ‡ @MightyJosip - Rect and Color type hint fixes

Android

Some more of the android branch got merged into the main pygame branch.

@robertpfeiffer
- use rwops for font loading - Keep all window events in SDL2 - setup.py cleanup: add -stripped build option to not include docs or tests

big endian CPU architecture

Thanks to Travis CI, we now have a builder which can test our big endian code. Even though big endian is not very common these days, it's still helpful to support it because it helps shake out some bugs we wouldn't normally see just testing on little endian CPU architectures.

Renรฉ Dudfield @illume s390x build robot on travis CI for big endian testing Michaล‚ Gรณrny @mgorny Account for big endian support for RGB/BGR images Dan Lawrence @MyreMylar Remove hard coded RGB bitshifts that don't work with SDLMapRGB()/SDLMapRGBA()

image

Sigurรฐur Sveinn Halldรณrsson @siggisv image.save(namehint='') and image.getsdlimage_version useful for when saving images to file objects and you want to tell it what format to save in (jpg, png, etc).

```python

file = BytesIO() pygame.image.save(surface, file, namehint='.png') ```

Documentation and tutorials

css _________________________ =(__ ___ __ __)= | | | | | python -m pygame.docs | | | | A number of small | | documentation fixes | | were made in this | | release. | | | |__ ___ __ _____| =(_________________________)=

@Starbuck5 Fix typo in draw.rst

Dan Lawrence @MyreMylar - Strengthen warning in event docs about handling the event queue - Key constants link added to event documentation

@wuzh07 Fix typos in draw.rect docs Gerardo Antonio Hagad @ginohagad Chimp tutorial: Changed the variable "wav" to "fullname".

Evan Kanter @evank28 Updated documentation of blit method Vicente Gonzรกlez Ruiz @vicente-gonzalez-ruiz Update SpriteIntro.rst

Douglas @douglas-cpp Fix grammar in sprite docs

mouse

Dan Lawrence @MyreMylar mouse.get_pressed() supports 5 buttons

Optimizations

@nthykier Add a SSE4.2 optimized version of image_tostring for some 32bit surfaces. The new pygame.image.tostring is up to 8x faster on x86 and x64 systems.

Bug fixes and Cleanups

Renรฉ Dudfield @illume - Manylinux builds tested properly on travis CI - Remove unused gp2x files. - freetype.py unused imports, and black code formatting - Move .appveyor.yml config to buildconfig/appveyor.yml One less file in root. - setup.cfg for tooling config. Starting with tox and pylint config. - Name some travis ci jobs (SDL1, manylinux) including - Atlassian Bitbucket deleted repos. Host windows prebuilts file on pygame website - Disable mouse.setsystemcursor on CI - Fix mouse.setsystemcursor when using SDL1 to do nothing.

Inada Naoki @methane Avoid PEP393 deprecated APIs. Niels Thykier @nthykier Fix test failure without SDL_AUDIODRIVER set

Jani Tiainen @jtiai Pipenv: Fixed incorrect base class comparison

Christian Clauss @cclauss Travis CI: Test Py38 on Ubuntu Bionic

Dan Lawrence @MyreMylar - Alphabetised colourdict.py colour names - Defined WINDOWEVENT_MINIMIZED

Sigurรฐur Sveinn Halldรณrsson @siggisv Fix pygame.event.custom_type() off by one error.

Josip Komljenoviฤ‡ MightyJosip - Fix event.custom_event first call - Add PyCharm config directory to gitignore - transform.chop test and fix

@Starbuck5 Internal pyinstaller hook to include dynamic libraries on Windows

Gosha Zacharov @Gosha Allow setting several paths in PYGAMEEXTRABASE

sprite

Sigurรฐur Sveinn Halldรณrsson @siggisv Fix and test sprite.collidecircleratio Josip Komljenoviฤ‡ @MightyJosip Fix sprite drawing on Renderer

Reviews

Special thanks to @MyreMylar, @MightyJosip, @charlesej, @robertpfeiffer, @illume and @nthykier who have provided plenty of code reviews and testing of other peoples work.

It's vitally important that people volunteering (sometimes for the first time) are treated with respect and in a friendly way. It's also important that everyone in our community should feel free to review code, so we can all learn from one another.

Issue gardening

css ******** **************** ******************* ******************** ******************** wWWWw wWWWw \\ // ******** vVVVv (___) wWWWw (___) vVVVv \\\// ******* (___) ~Y~ (___) vVVVv ~Y~ (___) \\\//// ~Y~ \| ~Y~ (___) |/ ~Y~ |||// \| \ |/ \| / \~Y~/ \| \ |/ ||||| \\|// \\|// \\|/// \\|// \\|// \\\|/// ,,,,,,,,,,,//||||\,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

This time 4 'critical' backwards compatibility issues were fixed since the last release.


- C
Published by notpygame over 5 years ago

pygame - 2.0.0.dev10

css ,--. | oo| | ~~| o o o o o o o o o o o |/\/\| pip install pygame==2.0.0.dev10

We only released 2.0.0.dev8 24 days ago. However, the last few weeks have been quite productive! It's as if we were all trapped inside for some reason.

First up, the 'critical' window resizing bugfix thanks to @robertpfeiffer but also to @nthykier. This is another step towards a backwards compatible pygame 2 release. Another 'critical' bug (backwards compatibility bugs that block a pygame 2 release from happening) that got a fix is the pygame.display.update() call on windows. A patch has been merged into SDL so this should be fixed in pygame soon.

Community help

A special thanks to all the people who help out others. From making videos, to answering questions, to writing guides. MyreMylar, MichaelCPalmer, jtiai, claudeb, DaFluffyPotato, Rabbid76, The Big Kahuna, sloth, Kingsley, ... and lots of other people.

Type hints, and lint tools

The last pygame pre-release(2.0.0.dev8) shipped with Type hints, and now Type hints have been refined (not like oil, but more like an expensive fermented vegan cheese). Thanks to Josip Komljenoviฤ‡ aka @MightyJosip

Documentation and tutorials

css _________________________ =(__ ___ __ __)= | | | | | python -m pygame.docs | | | | The type hints were a | | major part of the doc | | work in this release. | | Some examples got an | | update too. | |__ ___ __ _____| =(_________________________)=

an amazing assortment of ammendments

And now have an ARM64 build for testing pygame on Travis CI (who provide it to us for free thanks!). Additionally a few bugs on the release process were fixed. Hopefully this will help us keep things working nicely on ARM platforms like the raspberry PI.

Thanks to @galexandreg Surface.blit can now take very large rects for the area argument. Which is very useful in open world games that could have huge sizes of surfaces. With SDL1 supporting only smaller rects and surfaces, it used to be limited to a 16bit number.

SCALED is a feature for scaling up low resolution game screens to large size screens - like 4k monitors or high resolution phone screens. This received some code cleanups and documentation. Thanks to @robertpfeiffer, and to @nthykier and @MyreMylar for help reviewing/testing.

pygame using SDL1 is building and passing tests again thanks to @MyreMylar and @illume. We stopped testing with SDL1 some time ago, whilst still sort of supporting it theoretically... but then bitrot set in and a few things stopped working again. Why do we want to keep doing this? It's useful for backwards compatibility testing. Additionally SDL1 is still better in a few tiny ways - the main one being on some ancient embedded linux platforms.

As part of a code robustness adventure of fixing... surface.blits was fixed for low memory situations where thanks to @nthykier.

Add support for controlling screensaver state by @nthykier and continued on in https://github.com/pygame/pygame/pull/1843 allows changing the behaviour of pygame with regards to screensavers. By default pygame disables screensavers, which is good for games because you don't want a screensaver kicking in midway through a cut-scene. But some apps don't need this behaviour. So pygame.display.setallowscreensaver(True)

camera

```javascript ___ ()}|=| |] pygame.camera ( \/ |_| | /|\ /| / | \

```

The pygame.camera on windows got some fixes so that it works well on SDL2 with the VideoCapture module. In the process @MyreMylar made some improvements to pygame.image.frombuffer - the function used to quickly share large buffers of data with pygame and other modules.

Mask

```js โ–“โ–“ โ–‘โ–‘ โ–“โ–“โ–ˆโ–ˆโ–’โ–’ โ–’โ–’โ–’โ–’โ–‘โ–‘ โ–‘โ–‘โ–‘โ–‘ โ–‘โ–‘โ–’โ–’โ–‘โ–‘โ–‘โ–‘ โ–’โ–’โ–“โ–“โ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘ โ–“โ–“โ–“โ–“โ–’โ–’ โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–‘โ–‘โ–’โ–’โ–“โ–“โ–“โ–“โ–ˆโ–ˆโ–ˆโ–ˆโ–“โ–“โ–‘โ–‘โ–’โ–’โ–“โ–“โ–“โ–“โ–’โ–’โ–’โ–’ โ–‘โ–‘โ–’โ–’โ–’โ–’โ–’โ–’โ–“โ–“โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–“โ–“โ–“โ–“โ–“โ–“โ–ˆโ–ˆโ–ˆโ–ˆโ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–’โ–’โ–’โ–’โ–‘โ–‘ โ–’โ–’โ–‘โ–‘โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–“โ–“โ–“โ–“โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–“โ–“โ–“โ–“โ–“โ–“โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’ โ–‘โ–‘ โ–ˆโ–ˆโ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–ˆโ–ˆโ–ˆโ–ˆโ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–’โ–’ โ–’โ–’โ–“โ–“โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–“โ–“โ–“โ–“โ–“โ–“โ–ˆโ–ˆโ–ˆโ–ˆโ–“โ–“โ–“โ–“โ–ˆโ–ˆโ–“โ–“โ–’โ–’โ–’โ–’โ–‘โ–‘โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“ โ–’โ–’โ–’โ–’ โ–‘โ–‘โ–’โ–’โ–“โ–“โ–“โ–“โ–ˆโ–ˆโ–“โ–“โ–“โ–“โ–“โ–“ โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–’โ–’โ–‘โ–‘ โ–’โ–’โ–’โ–’โ–“โ–“ โ–‘โ–‘โ–’โ–’โ–“โ–“โ–ˆโ–ˆโ–“โ–“โ–“โ–“ โ–’โ–’โ–“โ–“โ–“โ–“โ–“โ–“โ–’โ–’ โ–‘โ–‘โ–“โ–“โ–’โ–’โ–’โ–’ โ–’โ–’โ–’โ–’โ–ˆโ–ˆโ–“โ–“โ–’โ–’ โ–’โ–’โ–’โ–’โ–“โ–“โ–“โ–“โ–“โ–“ โ–’โ–’โ–’โ–’โ–’โ–’โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–’โ–’โ–ˆโ–ˆโ–“โ–“โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–“โ–“โ–’โ–’โ–“โ–“โ–’โ–’ โ–‘โ–‘โ–’โ–’โ–“โ–“โ–“โ–“โ–’โ–’โ–’โ–’โ–“โ–“โ–“โ–“โ–’โ–’โ–“โ–“โ–’โ–’โ–ˆโ–ˆโ–’โ–’โ–“โ–“โ–’โ–’โ–“โ–“โ–’โ–’โ–“โ–“โ–“โ–“โ–’โ–’โ–“โ–“โ–“โ–“ โ–‘โ–‘โ–’โ–’โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–’โ–’โ–“โ–“โ–“โ–“โ–’โ–’โ–ˆโ–ˆโ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–’โ–’โ–’โ–’โ–’โ–’

                    pygame.Mask -- when 1 bit is enough

```

Mask.to_surface is a way to draw 1bit Mask objects to surfaces. 1bit surfaces are great because they can be processed up to 32x faster than Surfaces with a large color depth(since Surfaces use up to 32bits per pixel). Great for pixel perfect collision detection in particular. Mask.to_surface is already useful, but Charles (aka @charlesej) has been working on preparing to implement the area keyword as seen in Surface.blit.

This could be interesting to those people interested in doing deformable terrain.

good first issue

'goodfirstissue' is a label applied to issues which would be good for someone who wants to try contributing to a Free, Open Source, or community project (like pygame).

Dan Lawrence (aka @MyreMylar) has been hard at work preparing almost 100 "good first issue"s for people to do.

Here are some of the first time contributors:

Daniel Gillet (aka @dangillet) worked on making saving images to BytesIO/StringIO work.

Thanks to kbanger on discord for looking into this "ljpeg and lpng missing in Setup.SDL2.in" issue, and also for working on updating the pygame buildroot package.

Fonts matter (don't they?)

Font got a touch of modernization applied to it. font.bold = True, font.underline = True and font.italics = True are now things... rather than having to do a font.set_bold(True). Now the freetype Font object has a 'bgcolor' attribute to mirror existing 'fgcolor' one. ftfont.Font: Fix NameError when resolution is 0 Thanks to Niels Thykier, aka @nthykier

SysFont is used to load fonts which are already installed on users systems. It's historically been complex and often not working so well. Not anymore! @MyreMylar made some first steps at adding sysfont tests, and updating the font lists for windows and ubuntu. Then @illume noticed some of those new tests failing on MacOS, because sysfont._add_font_paths was adding ttf to 'simple font names'. So now it's working better on the Mac too.

Optimizations

Adds MMX, SSE2 & Arm NEON optimised versions of blitblendpremultiplied() @MyreMylar Some tweaks to the pre-multiply alpha blending

Add a SSE4.2 optimized version of image_tostring for some 32bit surfaces @nthykier

MSVC compiler optimisation hinting, 1% smaller pygame on windows @MyreMylar

Faster methods for drawing filled rects and circles of all kinds, care of @robertpfeiffer

As a small speed up Surface.blits was used in the pygame.sprite module to speed it up a little bit.

Bug fixes and Cleanups

The static code analysis tool by microsoft "/analyze" is now being used. Thanks to Dan Lawrence, aka @MyreMylar https://github.com/pygame/pygame/issues/1328

setup: Error out on unused-value warnings with -pygame-ci @nthykier

Clean up incompatible pointer casts and add a -Werror for it in the CI builds @nthykier

Add pgRect_Normalize to C API

@PeanutbutterWarrior noticed that not all of the modules returned a boolean, sometimes they returned an int Then @MyreMylar stepped up and made a PR to Always return bool from get_init() instead of sometimes returning int

Reject attempts to delete attributes in that cannot be deleted @nthykier

```python

import pygame c = pygame.color.Color('black') del c.a Traceback (most recent call last): File "", line 1, in AttributeError: Cannot delete attribute a ```

Freetype font int casting fix Dan Lawrence (aka @MyreMylar)

In MacOS we had a problem where Default SDL render driver back to opengl from the metal renderer. This had to do with a problem with our new conan based dependency compilation on MacOS. Hopefully that's fixed now.

Issue gardening

css ******** **************** ******************* ******************** ******************** wWWWw wWWWw \\ // ******** vVVVv (___) wWWWw (___) vVVVv \\\// ******* (___) ~Y~ (___) vVVVv ~Y~ (___) \\\//// ~Y~ \| ~Y~ (___) |/ ~Y~ |||// \| \ |/ \| / \~Y~/ \| \ |/ ||||| \\|// \\|// \\|/// \\|// \\|// \\\|/// ,,,,,,,,,,,//||||\,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

This time 2 'critical' backwards compatibility issues were fixed since the last release. Also plenty of work went into looking at the alpha blit issue, and the color key issues.

@MyreMylar made a great effort creating some good first issues, but also continued to go through a lot of older issues seeing if they could reproduce them, and asking questions of the original reporter, and also fixing a few here and there. As a result our issue garden is doing pretty well.


- C
Published by illume about 6 years ago

pygame - 2.0.0.dev8

๐ŸŒบ๐ŸŒป๐ŸŒน๐Ÿฅ€๐ŸŒท๐ŸŒผ๐ŸŒธ๐Ÿ’๐Ÿ’ฎ๐ŸŒบ๐ŸŒป๐ŸŒน๐Ÿฅ€๐ŸŒท๐ŸŒผ๐ŸŒธ๐Ÿ’๐Ÿ’ฎ๐ŸŒบ๐ŸŒป ๐ŸŒผ๐ŸŒธ pip install pygame==2.0.0.dev8 ๐ŸŒบ๐ŸŒป๐ŸŒน๐Ÿฅ€๐ŸŒท๐ŸŒผ๐ŸŒธ๐Ÿ’๐Ÿ’ฎ๐ŸŒบ๐ŸŒป๐ŸŒน๐Ÿฅ€๐ŸŒท๐ŸŒผ๐ŸŒธ๐Ÿ’๐Ÿ’ฎ๐ŸŒบ๐ŸŒป

One year ago today on the 5th of May 2019 we released the first development release of the pygame 2 series. So today is our anniversary of sorts. ๐ŸŽ‰

Type hints for better editor support.

Type hints are now installed thanks to @MightyJosip https://github.com/pygame/pygame/pull/1685 This lets static type checkers do TAB completion and check your function inputs and outputs. Giving an altogether nicer experience when programming with pygame.

Color arguments are fuzzy wuzzy human friendlier

Thanks to new pygame team member @nthykier in https://github.com/pygame/pygame/pull/1676 there is now support for writing colors in an easier way.

```python

surf.fill('black') # surf.fill(pygame.Color('black')) surf.fill('#FFEECCF0') # surf.fill(pygame.Color('#FFEECCF0')) ```

Drawing improvements, and rounded corners.

Drawing improvements including more correct AND faster circle drawing, rounded rects. Thanks to @charlesej @MightyJosip and @robertpfeiffer. https://github.com/pygame/pygame/pull/1503

```python

Draw a rectangle with rounded corners

pygame.draw.rect(screen, GREEN, [115, 210, 70, 40], 10, borderradius=15) pygame.draw.rect(screen, RED, [135, 260, 50, 30], 0, borderradius=10, bordertopleftradius=0, borderbottomrightradius=15)

Draw only one circle quadrant

pygame.draw.circle(screen, BLUE, [250, 250], 40, 0, drawtopright=True) pygame.draw.circle(screen, RED, [250, 250], 40, 30, drawtopleft=True) pygame.draw.circle(screen, GREEN, [250, 250], 40, 20, drawbottomleft=True) pygame.draw.circle(screen, BLACK, [250, 250], 40, 10, drawbottomright=True)

```

pygame recipe added to Python-For-Android

Thanks to @AndreMiras, @robertpfeiffer and others there is a pygame recipe in python-for-android https://github.com/kivy/python-for-android/pull/2164 which is a python for android distribution.

Documentation and tutorials

Lots of little fixes, and even a whole new tutorial were made in this release. When someone takes the time to fix a little problem in the documentation that can help many people in the future from getting lost themselves.

Optimizations

new feature pygame.key.key_code

There's now a function to return the key code from the name of a key.

Thanks to @MyreMylar for digging into C code to implement, document and test this feature.

```python

pygame.key.keycode("return") == pygame.KRETURN True pygame.key.keycode("0") == pygame.K0 True pygame.key.keycode("space") == pygame.KSPACE True ```

Bug fixes and Cleanups

Lots of bug fixes and cleanups continued to happen in the pygame code base. We reached a milestone of turning lots of compiler warnings into errors for our linux builds. In our C/C++ code we are now at zero alerts with LGTM, and only 10 left in our python code.

Dependencies updated

pygame uses a whole lot of different pieces of software to do a lot of the heavy lifting.

Development improvements

Along with the typehints for most pygame functions (which I've already mentioned above) there were some improvements for people developing pygame itself.

Many compiler errors now cause the CI system to fail if present. Thanks again to @charlesej for many fixes https://github.com/pygame/pygame/pull/1634 and to @nthykier for making our CI bots fail for more warnings https://github.com/pygame/pygame/pull/1652

Previous pygame header files for C extensions using pygame were not installed. Now they are thanks to @robertpfeiffer https://github.com/pygame/pygame/pull/1662

Some depreciation warnings from python 3.8 were fixed.

Community help

A special thanks to all the people who help out others. claudeb, DaFluffyPotato, MyreMylar, MichaelCPalmer, jtiai, Rabbid76, The Big Kahuna, sloth, Kingsley, ... Also a big thanks to the people who run community spaces and events like lordmauve who runs pyweek, and the /r/pygame community members.

Issues

@MyreMylar in particular went above and beyond investigating lots of old pygame issues, and closing many. Some of them several years old.

I'm happy that 4 'critical' backwards compatibility issues were fixed since the last release. If you notice a backwards compatibility issue with the pygame 2 series please let us know with a delicious issue report. Nom nom nom ๐Ÿ•


- C
Published by illume about 6 years ago

pygame - 2.0.0.dev6

๐ŸŒบ๐ŸŒป๐ŸŒน๐Ÿฅ€๐ŸŒท๐ŸŒผ๐ŸŒธ๐Ÿ’๐Ÿ’ฎ๐ŸŒบ๐ŸŒป๐ŸŒน๐Ÿฅ€๐ŸŒท๐ŸŒผ๐ŸŒธ๐Ÿ’๐Ÿ’ฎ๐ŸŒบ๐ŸŒป ๐ŸŒผ๐ŸŒธ pip install pygame==2.0.0.dev6 ๐ŸŒบ๐ŸŒป๐ŸŒน๐Ÿฅ€๐ŸŒท๐ŸŒผ๐ŸŒธ๐Ÿ’๐Ÿ’ฎ๐ŸŒบ๐ŸŒป๐ŸŒน๐Ÿฅ€๐ŸŒท๐ŸŒผ๐ŸŒธ๐Ÿ’๐Ÿ’ฎ๐ŸŒบ๐ŸŒป

Python 3.8 support. For pygame 2 anyway. Decided not to do it for pygame 1.9.6, and to instead try and fix a few more of those 'critical' blocker issues (current critical issue count is lucky 13).

Virtual Mouse mode with relative mouse movements was fixed to how it was in pygame 1.9.x - thanks to new committer @mcpalmer1980. Who also added a new pygame.music.fadein() function, plus examples!

Support for old SDL1 SDLVIDEOWINDOWPOS and SDLVIDEO_CENTERED environment variables which were removed in SDL2.

The Great Examples Cleanup of October 2019 is complete.

All of the examples were tidied up. Extra documentation was added, and things clarified. Thanks to new committer @Starbuck5 for their work on examples/eventlist.py. There's now 43 example files!! Cleanups like removing usage of from pygame.locals import *, which is kind of cool... but also not considered good practice in the wider python community. Also the examples are now formatted with the python code for-matter. Additionally two interesting AND EDUCATIONAL new examples: musicdropfade.py, and font_viewer.py were contributed by @mcpalmer1980

bash python3 -m pygame.examples.font_viewer python3 -m pygame.examples.music_drop_fade

Cleanliness brings us joy

As part of the continuing ~~code~~prose cleanups of the pygame ~~code~~prose-base, we are now warning free on the clang C compiler on MacOS. Additionally warnings are now errors on the clang compiler when the robots check our code for us. We are also very close to zero warnings on different gcc versions, and Microsoft Visual C compiler too. We reached a new milestone with the 'LGTM' static analyzer. It now gives pygame an "A+" for both the python code, and the C code - meaning pygame is within the top 5% of projects with those languages. LGTM now checks new pull requests automatically, and helps us find some issues on pull requests. The Coverity static analyzer rates pygame source code as having less defects than high quality code bases like the Linux kernel, OpenSSL, and libcurl. Strangely (to me) pygame is regularly trending on github as a C project. A lot of the cleanups were done by @charlesej, so thanks a lot for that! Oh, and a warning... please don't look at our setup.py file!!!! It's still scary AF. We have over 45,000 lines of python in pygame, and 350,000 lines of C... and a lot of that needs some attention.

Some developer improvements include verbose mode to our test runner (python3 -m pygame.tests -v), and the mechanism to share functions and data in our C API has been documented. See the Hacking developer guide.

Want to collide between a rect and a line?

Well, @charlesej has you covered with the new Rect.clipline(). This can also tell you where a line clips with a Rect. It was great to see the discussion on this as different people talked about API trade offs, and together came up with a very nice API. Thanks to @mcpalmer1980 for the discussion on the design, and also to @thiagojobson (who is now part of the pygame team on github! ๐ŸŽˆ ๐ŸŽ‰ ).

First time committer @hnrkcode fixed how comments are displayed on the website. Also thanks to @0101011 for a doc fix. Speaking of new committers, @galexandreg helped out fixing the pygame.mixer.Sound.getnumchannels() function to return a correct result in some cases (the sound stuff got a number of fixes this release!)

@robertpfeiffer did some more work on the SCALED feature, after a patch from @lordmauve enabling use of it with OpenGL apps.

Thanks to TravisCI who have allowed us to try out their alpha ARM64 support. We don't have pygame building on it yet, but hopefully soon it can join our other ROBOT builders like the power pc one.

In distro packaging news, FreeBSD now has pygame 1.9.6. Which is great, because it stuck around at 1.8.x for many years now. Thanks to Wen, and Nathan in maintaining it there. See the giant list of 119 pygame packages in different distros. No one seems to have packaged a pre-release of pygame 2 yet.

Cheers to the folks in the discord chat helping people out, chatting and sharing project updates on things. Especially to claudeb, and blubberquark.

All the regressions that were reported in issues for the 2.0.0.dev4 release have been fixed. Including one circle drawing regression fix by @MightyJosip, who also fixed a long lasting 'thick line' pygame.draw issue. Both very tricky ones! Also thanks to some very detailed unit tests that were written by @charlesej for the draw module that let us verify the drawing algorithms.

I'm happy that 5 'critical' backwards compatibility issues were fixed since the last release. If you notice a backwards compatibility issue with the pygame 2 series please let us know with a delicious issue report. Nom nom nom ๐Ÿ•


ps. Why dev6 instead of dev5? This time 2.0.0.dev5 was the version given to the git repo. So we can tell if someone is compiling pygame from source in bug reports. The git repo pygame will become 2.0.0.dev7, and when released it will be 2.0.0.dev8. This is how libsdl are doing things now too, and it's a good idea. ๐Ÿค– is coming. Happy hacking!

- C
Published by notpygame over 6 years ago

pygame - 2.0.0.dev4

๐ŸŽฎ๐Ÿ‘พ๐Ÿ‘ฝ๐ŸŽฎ๐Ÿ‘พ๐Ÿ‘ฝ๐ŸŽฎ๐Ÿ‘พ๐Ÿ‘ฝ๐ŸŽฎ๐Ÿ‘พ๐Ÿ‘ฝ๐ŸŽฎ๐Ÿ‘พ

G'day! It's 2.0.0.dev4 time!

๐ŸŽฎ๐Ÿ‘พ๐Ÿ‘ฝ๐ŸŽฎ๐Ÿ‘พ๐Ÿ‘ฝ๐ŸŽฎ๐Ÿ‘พ๐Ÿ‘ฝ๐ŸŽฎ๐Ÿ‘พ๐Ÿ‘ฝ๐ŸŽฎ๐Ÿ‘พ

python3 -m pip install pygame==2.0.0.dev4 --pre --user

What goodies do we have in store?

Firstly, some SDL2 compatibility issues were fixed. Like the window initially defaults to black, and the unicode field of keydown events is filled. Thanks to @dlon.

Speaking of SDL2, we are now shipping SDL 2.0.10 which includes stuff like batching renderer and lots of bug fixes, including to the Metal renderer on Mac, lots of other stuff. Thanks to all the libSDL people.

Many, many fixes thanks to @charlesej and some static analysis tools.

Some new contributors deserve thanks ๐ŸŽ‰ ๐ŸŽˆ including @thiagojobson @flaambe @mampersat @s0lst1ce

@robertpfeiffer and @dlon fixed some issues with the fancy SCALED feature, and @robertpfeiffer got the toggle_fullscreen function working more reliably too!

And speaking of helping out, @robertpfeiffer also helped out @nhpackard with an optimization to transform.scale. When scaling to twice the width and height, a special optimized routine by @nhpackard is used.

Lots of fixes and tests happened to the draw, and mask modules mostly thanks to @charlesej (but also to @thiagojobson)

Lots of infrastructure changes happened to our build system to make things easier for developers. Firstly we started using LGTM which runs some lint tools on our code for us. Secondly we started using lots of other testing tools. Thanks to Travis CI we have a Power PC CPU robot building things. @takluyver made a PR for the new manylinux2010 which we sadly haven't started using yet. As usual a tiny bit more of the release process has been automated.

An article for developers on contemporary C tools is still unfinished(but probably useful for developers of pygame). Here's some issues of those tools applied to pygame: https://github.com/pygame/pygame/labels/tooling

Again @charlesej in particular has been amazing in going through mountains of issues uncovered. The pygame code base is significantly cleaner, more portable, and less buggy because of it.

Indic Scripts including Hindi, Telugu, Tamil are closer to being rendered now thanks to the work of new contributor @peanutbutterandcrackers tracking down things and writing some automated tests for it. This work is ready to be developed further and is moving forward! Thanks!

Thanks for all the people trying out the pygame 2.0.0.dev3 builds and (submitting issues) or patches including: @larryhastings @humanbeast7 @Pololot64 @mcpalmer1980 @husano896 @galexandreg @mgedmin @cgohlke @cipri-tom @noisnemid @DudmasterUltra @agdt3 @crowjdh @JOHNIDnDNIW @lordmauve @dheerajakula

Speaking of bugs, as people have been using the 2.0.0.dev3 release, they've been finding various bugs. All SDL2/pygame 2 related compatibility issues reported by people are marked as critical. https://github.com/pygame/pygame/labels/critical

These "critical" issues will be a focus as we move forward to shipping pygame 2.0.0. If you feel like helping out with any of these "critical" issues, that would be highly appreciated.

- confirm the bug (on your platform).
- cheer people on in the issues
- write a minimal working example script so people can reproduce the issue.
- write a test case, or try and clarify the issue

https://github.com/pygame/pygame/labels/critical


ps. DaFluffyPotato released a new commercial game using the pygame 2.0.0.dev3 release. "Drawn Down Abyss" is getting good reviews... check it out: https://www.pygame.org/project/4294 pps. Feels like progress? Happy hacking!

- C
Published by notpygame over 6 years ago

pygame - 2.0.0.dev3 - pre release

There are binaries for Mac, Windows, and Linux with SDL2.

python3 -m pip install pygame==2.0.0.dev3 --pre --user

So... what's new? Here's a few things.

The documentation has been made more readable on big screens and small ones. It is also updating from github again. @charlesej in particular has made a lot of documentation fixes. See https://www.pygame.org/docs/

It's easier to make custom types that will work with multiple GUI libraries. python FIRST = pygame.event.custom_type() (No more USEREVENT+1 nonsense) Also with pygame 2.0.0.dev3 you can have 8192 custom events instead of 32.

Thanks to @charlesoblack (first time contributor ya!) there is a pygame.Color.lerp() function now. It returns a linear interpolation.

```python

color.lerp(color2, 0.0) -> color color.lerp(color2, 0.5) -> halfway_color color.lerp(color2, 1.0) -> color2 ```

@dlon added support for some Modern OpenGL features. For more detail see: https://github.com/pygame/pygame/pull/1127

Now you can do one-shot timers like this: pygame.time.set_timer(EVENT, 1000, 1)

Thanks to @bennuttall and the piwheels project, pygame has binary wheels for the raspberian linux. See https://www.piwheels.org/project/pygame/

The sound mixer has moved into the modern age and now defaults to a small low latency buffer size of 512 bytes, and uses CD quality audio by default.

Check these lists out for more detailed info on what's changed: - merged PRs - 414 Commits since 1.9.6 stable release - 74 Commits since 2.0.0.dev2 pre release

- C
Published by notpygame almost 7 years ago

pygame - 2.0.0.dev2 - pre release

There are binaries for Mac, Windows, and Linux with SDL2.

You can try it out with a command something like this: python3 -m pip install pygame==2.0.0.dev2 --pre --user

Also, SDL2 is the default now when you compile from source. You can use python setup.py install -sdl1 to compile against SDL 1.2.

Apart from lots and LOTS of work on the Color, Mask, and pygame.draw stuff, there are a few more experimental things. Like the sprite module compiled with Cython into C code. Additionally there is the new SCALED mode, for automagically scaling your low resolution game into a viewable sized window (a 320x200 window is tiny on a 4k screen... so this makes it bigger and scales everything for you).

Check these lists out for more detailed info on what's changed: - merged PRs - 341 Commits since 1.9.6

- C
Published by notpygame almost 7 years ago

pygame - 2.0.0.dev1

This pre-release development build has some windows and mac binaries uploaded which use SDL2.

(plus a whole lot of other improvements over 1.9.5)

- C
Published by notpygame about 7 years ago

pygame - pygame 1.9.6 released with a few regression bug fixes

Whilst we focus like a shark-lazer on pygame 2, here is a bonus pygame 1.9.6 with a couple of small regression bug fixes.

  • mp3 via smpeg was missing in manylinux builds.
  • mixer thread deadlock issue when controlling it from different threads.
  • pygame.version.vernum now has major, minor, and patch attributes.

- C
Published by notpygame about 7 years ago

pygame - 1.9.6.rc1

If anyone is able to test, that'd be wonderful... especially on linux.

python3 -m pip install pygame==1.9.6.rc1 --user --pre

  • mp3 via smpeg was missing in manylinux builds.
  • mixer thread deadlock issue when controlling it from different threads.

- C
Published by notpygame about 7 years ago

pygame - 1.9.5 released into the wilds

pygame 1.9.5

TLDR; Some highlights.

Every single source file has been heavily modified and moved in this release. Initial (source code only) support for SDL2 has been merged in. We also support compiling with SDL1 in the same code base, so the migration to pygame 2 is easier. pygame 2 will be released with SDL2 being the default backend when some remaining issues are ironed out. The 1.9.x releases will continue with SDL1 until then. Also, the C API of pygame is undergoing a transformation with lots of cleanups. Then there have been plenty of other cleanups all throughout the python code as well. There's still lots to clean up, but things should be significantly easier for people to contribute (๐Ÿ‘‹ hello and thanks new contributors!). The documentation has been improved with better examples links, search functionality, and improved navigation. Support for older Macs, and newer Macs has been improved. The mask, midi, draw, and math modules have gotten lots of polish with rough edges removed.

Thanks

A very special thanks to the people who have volunteered commits to pygame since the last release. In alphabetical order...

(@alphaCTzo7G) | Amos Bastian (@amosbastian) | Andrey Lopukhov (@andreyx86) | Augusto Noronha (@augusto2112) | Bernardo Sulzbach (@bernardosulzbach) | (@Bottersnike) | Cai Q.T. (@CAIQT) | (@Cerealdragon) | Charles (@charlesej) | (@ChrisWeissNike) | (@cmtrapp02) | Daniel Molina (@daniel-molina) | David Caughell (@DavidCaughell) | David Lรถnnhager (@dlon) | (@dr0id) | burmer (@dtschirmer) | (@e1000) | xFly_Dragon (@husano896) | (@IchMageBaume) | Renรฉ Dudfield (@illume) | (@LambdaGoblin) | Lenard Lindstrom (@llindstrom) | Franรงois Magimel (@Linkid) | (@LiquidFenrir) | Mark Hurley (@markph0204) | Marius Gedminas (@mgedmin) | (@metulburr) | Michael Farrell (@micolous) | Dominik George (@Natureshadow) | Nik (@nikolas) | Nunu-Willump (@Nunu-Willump) | (@pleboulanger) | Rebecca Chen (@rchen152) | (@robertpfeiffer) | Sett (@sw00) |

Quite a few new people have helped out with this release ๐Ÿค—

An equally special thanks to everyone else who has contributed in other ways. Thanks to claudeb, imallet, and deshipu for moderating the discord chat to keep it friendly. Thanks to the twitter folk, and the stackoverflow Q&A people. Thanks to everyone who puts their game up on the pygame website for others to look at. Thanks to people making tutorials and sharing articles & books they've written. Thanks to the r/pygame mods and community. Thanks to pyladies groups for running fun sessions, and for making things better. Thanks to the teachers providing feedback, and for doing something fun with their students. Thanks to Debian, Raspberrypi, and all the other community groups. ๐Ÿ–ค

More details.

https://github.com/pygame/pygame/pull/945 Vector: Explain slices and swizzling https://github.com/pygame/pygame/pull/944 Update surface documentation https://github.com/pygame/pygame/pull/937 Make mask offset boundary checking consistent https://github.com/pygame/pygame/pull/936 Update midi documentation https://github.com/pygame/pygame/pull/931 Fix drawing 1 pixel wide off-surface ellipses https://github.com/pygame/pygame/pull/929 Use SDLRWops instead of pgFopenUTF8. https://github.com/pygame/pygame/pull/928 Fix LayeredDirty's inconsistent use of its source rect https://github.com/pygame/pygame/pull/927 Workaround for locale errors with PyPy https://github.com/pygame/pygame/pull/926 Update dependencies for manylinux builds. https://github.com/pygame/pygame/pull/924 Upload .whl binaries to a github draft release when creating tag. https://github.com/pygame/pygame/pull/923 Update scrap documentation https://github.com/pygame/pygame/pull/922 https://github.com/pygame/pygame/pull/881 https://github.com/pygame/pygame/pull/879 Fix zero-sized mask segfaults https://github.com/pygame/pygame/pull/920 Fix the SystemError when no type specific clipboard content exists. https://github.com/pygame/pygame/pull/917 Update scrap tests https://github.com/pygame/pygame/pull/914 Update freetype tests https://github.com/pygame/pygame/pull/911 https://github.com/pygame/pygame/pull/893 https://github.com/pygame/pygame/pull/889 https://github.com/pygame/pygame/pull/876 https://github.com/pygame/pygame/pull/874 https://github.com/pygame/pygame/pull/844 https://github.com/pygame/pygame/pull/840 https://github.com/pygame/pygame/pull/831 https://github.com/pygame/pygame/pull/819 Improved mask tests https://github.com/pygame/pygame/pull/900 Add sprite tests https://github.com/pygame/pygame/pull/899 bugfix for dirty sprite when using a source rect https://github.com/pygame/pygame/pull/891 Add missing Vector2.magnitude() https://github.com/pygame/pygame/pull/873 Fix mask index out of bounds segmentation fault https://github.com/pygame/pygame/pull/806 Mask constructor 'fill' argument https://github.com/pygame/pygame/pull/807 Use version directives consistently in documentation and update style https://github.com/pygame/pygame/pull/805 Event functions: pump parameter and keyword arguments https://github.com/pygame/pygame/pull/803 Add customized repr()/str() output for Mask objects https://github.com/pygame/pygame/pull/802 Fix aaline()/aalines() not drawing on a surface's border https://github.com/pygame/pygame/pull/797 Keep surface alpha value for copied surfaces with SRCALPHA flag https://github.com/pygame/pygame/pull/760 https://github.com/pygame/pygame/pull/707 Load images on multiple threads properly https://github.com/pygame/pygame/pull/783 Fix overlapmask() making incorrect mask https://github.com/pygame/pygame/pull/751 https://github.com/pygame/pygame/pull/749 https://github.com/pygame/pygame/pull/748 https://github.com/pygame/pygame/pull/746 https://github.com/pygame/pygame/pull/745 Added getinit() to all modules with an init() function https://github.com/pygame/pygame/pull/725 Allow camera module to be used on Windows https://github.com/pygame/pygame/pull/722 API version macros https://github.com/pygame/pygame/pull/698 Use pre styles in docs https://github.com/pygame/pygame/pull/670 Converting between ANSI notes and MIDI notes or frequencies https://github.com/pygame/pygame/pull/663 Compile for PyPy 3 and PyPy fixes https://github.com/pygame/pygame/pull/665 Chimp tutorial: reindent and clean some code https://github.com/pygame/pygame/pull/664 Chimp tutorial: fix reST syntax https://github.com/pygame/pygame/pull/656 https://github.com/pygame/pygame/pull/649 Handle Unicode objects and paths properly https://github.com/pygame/pygame/pull/631 Fix failing tests testaapolygon and testpie https://github.com/pygame/pygame/pull/630 Fix freetype rotation rendering https://github.com/pygame/pygame/pull/596 aaline cleanup https://github.com/pygame/pygame/pull/582 draw.aaline: blend correctly https://github.com/pygame/pygame/pull/577 https://github.com/pygame/pygame/pull/573 Fixed FreeType memory leaks https://github.com/pygame/pygame/pull/571 Fix surface.blits() bugs

https://github.com/pygame/pygame/pull/560 Added math.Vector2 subclass test for issue https://github.com/pygame/pygame/pull/558 Raise TypeError on invalid point arguments https://github.com/pygame/pygame/pull/557 Update typecheck to allow subtypes https://github.com/pygame/pygame/pull/545 update system font lists in sysfont.py https://github.com/pygame/pygame/pull/538 Mac fonts support using systemprofiler https://github.com/pygame/pygame/pull/559 Allow clean silencing of support prompt https://github.com/pygame/pygame/pull/553 Fix homebrew travis mac builds https://github.com/pygame/pygame/pull/551 Fixed freezing while playing music from file objects https://github.com/pygame/pygame/pull/550 updated for python 3 https://github.com/pygame/pygame/pull/546 Improve message on failed imports & cleanup https://github.com/pygame/pygame/pull/544 Spelling fix in examples/glcube.py https://github.com/pygame/pygame/pull/540 DirtySprite subclass allow other _layer values https://github.com/pygame/pygame/pull/536 dependency version into README & Cleanup SDL1.2 https://github.com/pygame/pygame/pull/534 More test cleanups. https://github.com/pygame/pygame/pull/535 drawpy for Python algos & aaline testing https://github.com/pygame/pygame/pull/534 More Test cleanup https://github.com/pygame/pygame/pull/518 Organise the docs modules by usage, add search form. https://github.com/pygame/pygame/pull/517 Test cleanup n+1 : yet another test cleanup branch https://github.com/pygame/pygame/pull/516 PYVERSIONHEX < 0x02070000 : cleanup https://github.com/pygame/pygame/pull/515 Fix draw polygon ; tests & code cleanup https://github.com/pygame/pygame/pull/514 Cleanup Python < 2.7 references https://github.com/pygame/pygame/pull/511 Fix odd-width ellipses not drawing correctly https://github.com/pygame/pygame/pull/510 Update unit tests draw.ellipse, add unit tests draw.(aa)line(s) https://github.com/pygame/pygame/pull/509 Midi tests : add, refactor, cleanup https://github.com/pygame/pygame/pull/508 More test method cleanup https://github.com/pygame/pygame/pull/507 Improve mac compile times on travis. https://github.com/pygame/pygame/pull/505 Remove "if 1:" pattern in tests https://github.com/pygame/pygame/pull/504 Cleanup mixer test https://github.com/pygame/pygame/pull/503 Clang format all the srcc/.c files https://github.com/pygame/pygame/pull/502 Cleanup some test methods & test/sndarraytest.py https://github.com/pygame/pygame/pull/501 Add drawellipse unit test https://github.com/pygame/pygame/pull/500 Test for overlap mask https://github.com/pygame/pygame/pull/499 Remove boilerplate imports from top of test files https://github.com/pygame/pygame/pull/498 Adding a test for Thick Line Bug https://github.com/pygame/pygame/pull/493 0 sized masks are now possible https://github.com/pygame/pygame/pull/489 transform.scale does not crash for zero sized surfaces https://github.com/pygame/pygame/pull/488 Added unit test 'testzerosurfacetransform' for issue 411 https://github.com/pygame/pygame/pull/486 Moved jquery.plugin.docscomments.js into pygameweb. https://github.com/pygame/pygame/pull/485 Repo cleanup. 8 things in top level. Rest in buildconfig/. Old stuff removed. https://github.com/pygame/pygame/pull/484 Added mac sdl2 support. Changed config.py -sdl2 https://github.com/pygame/pygame/pull/483 Support older mac core duo 2 cpus https://github.com/pygame/pygame/pull/482 The giant SDL2_patches merging PR. https://github.com/pygame/pygame/pull/476 Do not try to add portmidi on freebsd. It does not exist. https://github.com/pygame/pygame/pull/475 Resurrect Python 3.4 builds on Appveyor

- C
Published by illume about 7 years ago

pygame - 1.9.5.rc2

You can try it out with the following: python -m pip install pygame==1.9.5.rc2 --pre

- C
Published by notpygame about 7 years ago

pygame - 1.9.5.rc1

You can try it out with the following: python -m pip install pygame==1.9.5.rc1 --pre

- C
Published by notpygame about 7 years ago

pygame - pygame 1.9.4 released into the wilds

pygame 1.9.4

pygame 1.9.4 has been released into the wilds!

TLDR; Some highlights.

  • python 3.7 support.
  • beta pypy support. See Are we pypy yet?.
  • pygame.draw fixes
  • pygame.math is not experimental anymore. Speedups and bugfixes.
  • Debian, Mac homebrew, mac virtualenv, manylinux and other platform fixes.
  • documentation fixes, jedi support for type ahead in editors like VSCode and VIM.
  • Surface.blits for blitting many surfaces at once more quickly.

Thanks

A very special thanks to the people who have volunteered commits to pygame since the last release. In alphabetical order...

Adam Di Carlo (@adicarlo) | Christian Bender (@christianbender) | Don Kirkby (@donkirkby) | endolith (@endolith) | hjpotter92 (@hjpotter92) | Ian Mallett (@imallett) | Lenard Lindstrom (@llindstrom) | Mathias Weber (@mweb) | Matti Picus (@mattip) | Nicholas Tollervey (@ntoll) | (@orangudan) | Raymon Skjรธrten Hansen (@raymonshansen) | Renรฉ Dudfield (@illume) | Stefan Bethge (@kjyv) | Stuart Axon (@stuaxo) | Thomas Kluyver (@takluyver) | Tobias Persson (@Anisa)

I'm probably missing some people, and also missing some people who contributed in other ways. For example, in discussions, issue reports, helping out on the wiki, the website, and for helping others in the community, and providing good vibes. So whilst the commits are easy to use to make a list of people to thank, it's not inclusive of everyone who deserves thanks.

More details.

451 #460 #467 #468 #469 #470

444 link to help pages when compile fails.

443 In seterror geterror tests ignore first error. Could be anything.

442 Freetype requires pkg-config instead of freetype-config now.

439 Surface.blits

435 Adding pypy builds for Mac on travis.

432 Appveyor pypy and pypy3 windows 32bit.

431 Implement object alloc caching for rect.c to improve on pypy.

427 PixelArray.close(), with PixelArray(surf) as px, context manager.

426 Skip tests that rely on arrinter and pythonapi on pypy.

420 pypy didn't like tp_dictoffset hack in events. Make our own setter, getter.

418 draw.aaline should work with ARGB surfaces (like on mac).

416 Vector cleanup

415 So virtualenv gets a focused window on Mac too.

414 Mac Travis homebrew fix

413 Jedi confused by pygame imports. Make it happy.

408 pygame.transform.threshold tests, keyword arguments, docs.

403 pygame.math.Vector2/3 not experimental

398 Clean up cameravidcapture.py unused code, and document a bit.

394 Add pitch bend to MIDI library

392 Add pypy builder to travis ci, and allow it to fail.

391 ppc64le and other Debian fixes

389 pygame.draw.circle with a thickness had a weird moirรฉ pattern.

387 test python 3.7 on travis CI.

386 python 3.7 fixes.

384 pygame.display doc fixes.

381 import rect.inflate docs.

363 Fix several typos, and improve grammar in the introduction.

361 Add unit test for some key functions.

360 update math.c for pypy.

357 add UYVY support for better linux camera support.

356 Fix aaellipse artifacts

703350f68182641fe72ef1f41d81998fb6d4b385 Update Rect slicing for Python 3 6d0e97a38b5d2d549f1fee8b912a072731ea33bb bug fix for freetype.Font.render_to()

78 Add environment PYGAMEEXTRABASE to add an extra base directory to the start of the search path.

77 Build alsa libs ourselves for manylinux builds.

76 Docs fixup.

- C
Published by illume almost 8 years ago