Pygame

Latest version: v2.5.2

Safety actively analyzes 631341 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 10

2.1.3.dev8

Not secure
💀🦴💀👻🦴💀👻🦴💀👻🦴💀👻🦴💀👻🦴💀🦴

<br><br><br>

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 test_src_alpha_sdl2_blitter 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

2.1.3.dev6

Not secure
💀🦴💀👻🦴💀👻🦴💀👻🦴💀👻🦴💀👻🦴💀🦴

<br><br><br>


What's Changed

It's a lot.

<br><br><br>

> 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.

<br><br>
* 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/norm 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 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 .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
* mouse_get_pos 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 v4l2_read_frame 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.get_sdl_ttf_version() for getting version of SDL_ttf 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 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 BLEND_RGBA_MULT 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
* 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
* 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 RGB_ADD, RGBA_ADD, RGB_MUL & RGBA_MUL 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 BLEND_MAX, BLEND_MIN 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: get_python_inc() 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.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
* 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.test_utils.run_tests.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 METH_NOARGS usage, use METH_O 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(), scale_by(), smoothscale(), smoothscale_by() 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 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 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

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

2.1.3.dev4

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

We still have some things open in the [2.1.3 milestone](https://github.com/pygame/pygame/milestone/14).

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

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](https://github.com/pygame/pygame/milestones/2.1.3).

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](https://www.goodreads.com/author/quotes/142122.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 scale_by, smoothscale_by 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 'consider_alpha' to the transform.average_colo… 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

2.1.2

Not secure
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

2.1.1

Not secure
🌺🌻🌹🥀🌷🌼🌸💐💮🌺🌻🌹🥀🌷🌼🌸💐💮🌺🌻


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

<a href="ggames"><img width="150" src="https://img.itch.zone/aW1nLzU2NDIwMDUucG5n/original/Yl3rUc.png" /> <img width="150" src="https://img.itch.zone/aW1hZ2UvMTExMzk4MC82NjQ2NTY5LnBuZw==/original/D36ryh.png" /> <img width="150" src="https://github.com/davidpendergast/circuits/raw/master/gifs/119-tele-effect.gif?raw=true" /> <img width="150" src="https://img.itch.zone/aW1hZ2UvODc0Mjc5LzQ5MjY0MDYuZ2lm/794x1000/e69j1m.gif" /> <img width="150" src="https://img.itch.zone/aW1hZ2UvMTI1MTEzMS83Njk4ODIyLmpwZWc=/794x1000/LV0DAn.jpeg" /> <img width="150" src="https://repository-images.githubusercontent.com/342905347/8c764600-a6cd-11eb-8854-8a5d35ea4e94" /> <img width="150" src="https://camo.githubusercontent.com/2270e3b3e94503fbdff874ec14fb5263f5ab4ff42f97110808cd660bbf05cb82/687474703a2f2f69332e7974696d672e636f6d2f76692f42795f636273616376544d2f6d617872657364656661756c742e6a7067" /> <img width="150" src="https://static.jam.vg/raw/ed9/81/z/445e1.gif" /> <img width="150" src="https://pygame-menu.readthedocs.io/en/4.2.0/_images/first_steps.png" /> <img width="150" src="https://img.itch.zone/aW1hZ2UvMTE4ODEwMy83MDkyNjYxLmdpZg==/794x1000/AN9Vdb.gif" /> <img width="150" src="https://raw.githubusercontent.com/novialriptide/novialriptide.github.io/main/images/projects/gravity.gif" /> </a>

---

But first...

What's Changed?

We have a new SDL 2.0.18 release which brings a lot of fixes and optimizations.
<details>
<summary>What changed in SDL 2.0.18?</summary>
<br>

<div data-pjax="true" data-test-selector="body-content" data-view-component="true" class="markdown-body my-3"><p>In addition to lots of bug fixes, here are the major changes in this SDL release:</p>
<p>General:</p>
<ul>
<li>The SDL wiki documentation and development headers are automatically kept in sync</li>
<li>Each function has information about in which version of SDL it was introduced</li>
<li>SDL-specific CMake options are now prefixed with 'SDL_'. Be sure to update your CMake build scripts accordingly!</li>
<li>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</li>
<li>Added SDL_RenderGeometry() and SDL_RenderGeometryRaw() to allow rendering of arbitrary shapes using the SDL 2D render API</li>
<li>Added SDL_SetTextureUserData() and SDL_GetTextureUserData() to associate application data with an SDL texture</li>
<li>Added SDL_RenderWindowToLogical() and SDL_RenderLogicalToWindow() to convert between window coordinates and logical render coordinates</li>
<li>Added SDL_RenderSetVSync() to change whether a renderer present is synchronized with vblank at runtime</li>
<li>Added SDL_PremultiplyAlpha() to premultiply alpha on a block of SDL_PIXELFORMAT_ARGB8888 pixels</li>
<li>Added a window event SDL_WINDOWEVENT_DISPLAY_CHANGED which is sent when a window changes what display it's centered on</li>
<li>Added SDL_GetWindowICCProfile() to query a window's ICC profile, and a window event SDL_WINDOWEVENT_ICCPROF_CHANGED that is sent when it changes</li>
<li>Added the hint SDL_HINT_VIDEO_EGL_ALLOW_TRANSPARENCY to allow EGL windows to be transparent instead of opaque</li>
<li>SDL_WaitEvent() has been redesigned to use less CPU in most cases</li>
<li>Added SDL_SetWindowMouseRect() and SDL_GetWindowMouseRect() to confine the mouse cursor to an area of a window</li>
<li>You can now read precise mouse wheel motion using 'preciseX' and 'preciseY' event fields</li>
<li>Added SDL_GameControllerHasRumble() and SDL_GameControllerHasRumbleTriggers() to query whether a game controller supports rumble</li>
<li>Added SDL_JoystickHasRumble() and SDL_JoystickHasRumbleTriggers() to query whether a joystick supports rumble</li>
<li>SDL's hidapi implementation is now available as a public API in SDL_hidapi.h</li>
</ul>
<p>Windows:</p>
<ul>
<li>Improved relative mouse motion over Windows Remote Desktop</li>
<li>Added the hint SDL_HINT_IME_SHOW_UI to show native UI components instead of hiding them (defaults off)</li>
</ul>
<p>Windows/UWP:</p>
<ul>
<li>WGI is used instead of XInput for better controller support in UWP apps</li>
</ul>
<p>Linux:</p>
<ul>
<li>Added the hint SDL_HINT_SCREENSAVER_INHIBIT_ACTIVITY_NAME to set the activity that's displayed by the system when the screensaver is disabled</li>
<li>Added the hint SDL_HINT_LINUX_JOYSTICK_CLASSIC to control whether /dev/input/js* or /dev/input/event* are used as joystick devices</li>
<li>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</li>
<li>Added SDL_LinuxSetThreadPriorityAndPolicy() for more control over a thread priority on Linux</li>
</ul>
<p>Android:</p>
<ul>
<li>Added support for audio output and capture using AAudio on Android 8.1 and newer</li>
<li>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()</li>
</ul>
<p>Apple Arcade:</p>
<ul>
<li>Added SDL_GameControllerGetAppleSFSymbolsNameForButton() and SDL_GameControllerGetAppleSFSymbolsNameForAxis() to support Apple Arcade titles</li>
</ul>
<p>iOS:</p>
<ul>
<li>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.</li>
<li>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()</li>
</ul></div>
</details>

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 test_font_file_not_found 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](https://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](https://pygame.itch.io/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.

---

<span id="ggames" ></span>

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

<a href=""><img width="100%" src="https://img.itch.zone/aW1hZ2UvMTExMzk4MC82NjQ2NTY5LnBuZw==/794x1000/3qHXpJ.png"></a>


---

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

<a href=""><img width="100%" src="https://cdn.discordapp.com/attachments/772505616680878083/923293051735138424/unknown.png"></a>


---

GRAVITY

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

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

<a href=""><img width="50%" src="https://raw.githubusercontent.com/novialriptide/novialriptide.github.io/main/images/projects/gravity.gif"></a>


---

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

<a href=""><img width="100%" src="https://img.itch.zone/aW1nLzU2NDIwMDUucG5n/original/Yl3rUc.png"></a>


---

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

<a href=""><img width="100%" src="https://img.itch.zone/aW1hZ2UvODc0Mjc5LzQ5MjY0MDYuZ2lm/794x1000/e69j1m.gif"></a>
<a href=""><img width="100%" src="https://img.itch.zone/aW1hZ2UvODc0Mjc5LzQ5MjY0MTYucG5n/794x1000/s3dMjy.png"></a>


---

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

<a href=""><img width="100%" src="https://img.itch.zone/aW1hZ2UvMTI1MTEzMS83Njk4ODIyLmpwZWc=/794x1000/LV0DAn.jpeg"></a>
<a href=""><img width="100%" src="https://img.itch.zone/aW1hZ2UvMTI1MTEzMS83MjkxNzY0LmpwZWc=/794x1000/hoTlyM.jpeg"></a>


---

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

<a href=""><img width="100%" src="https://repository-images.githubusercontent.com/342905347/8c764600-a6cd-11eb-8854-8a5d35ea4e94"></a>

<a href=""><img width="100%" src="https://github.com/salem-ok/PySprint/raw/main/ImageSource/OptionsScreen.png?raw=true"></a>


---

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

<a href=""><img width="100%" src="https://camo.githubusercontent.com/2270e3b3e94503fbdff874ec14fb5263f5ab4ff42f97110808cd660bbf05cb82/687474703a2f2f69332e7974696d672e636f6d2f76692f42795f636273616376544d2f6d617872657364656661756c742e6a7067"></a>


---

Run my dear LD49

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

<a href=""><img width="100%" src="https://static.jam.vg/raw/ed9/81/z/445e1.gif"></a>

- 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

<a href=""><img width="100%" src="https://img.itch.zone/aW1hZ2UvMTE4ODEwMy83MDkyNjYxLmdpZg==/794x1000/AN9Vdb.gif"></a>
<a href=""><img width="100%" src="https://img.itch.zone/aW1hZ2UvMTE4ODEwMy83MDkyNjU4LmdpZg==/794x1000/LSGNhN.gif"></a>


---

Page 3 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.