Skip to content

List of all deprecated features in pygame #2943

Open
@bilhox

Description

@bilhox

Hello,

To help in the future to remove and track deprecated features, I made a full list of deprecated features in pygame. This does not include deprecated features in the build system.

If you see any missing deprecated features, tell me I'll add it to the table.

Features Deprecation Version More details
pygame.Color.set_length 2.1.3 unpack is possible
depth argument in pygame.display.set_mode 2.4.0 not used and ignored
pygame.display.set_gamma 2.1.4 removed in SDL3
pygame.display.set_gamma_ramp 2.1.4 removed in SDL3
blend in pygame.draw.aaline(s) 2.4.0/2.5.0
pygame.draw_py 2.1.4 removed without deprecation notice
joy in joystick events 2.0.0 use instance_id instead
Behaviour of pygame.Joystick.init 2.0.0
pygame.Joystick.get_id 2.0.0 use get_instance_id instead
pygame.freetype.was_init ? use get_init instead
pygame.image.tostring 2.3.0 use tobytes instead
pygame.image.fromstring 2.3.0 use frombytes instead
pygame.math.Vector(2|3).rotate_ip_rad 2.1.1 use rotate_rad_ip instead
pygame.math.Vector3.rotate_(x|y|z)_ip_rad 2.1.1 use rotate(x|y|z)_rad_ip instead
pygame.math.(enable|disable)_swizzling ?
Old pygame.scrap 2.2.0 New API
pygame.(snd|surf)array.use_arraytype ?
pygame.(snd|surf)array.get_arraytype(s) ?
pygame.sprite.LayeredDirty.set_timing_treshold 2.1.1 use set_timing_threshold instead
pygame.sprite.Render(Plain|Clear) ? use Group instead
pygame.sprite.OrderedUpdates ? use RenderUpdates instead
Surface argument in pygame.Surface.convert_alpha 2.4.0
pygame.Surface.set_(masks|shifts) 2.0.0
MMX and SSE in pygame.transform.(get|set)_smoothscale.backend 2.4.0
pygame.Window.from_display_module 2.4.0 use get_surface and flip instead

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions