Skip to content

Add ability to draw overlapping polygons with same transparency #283

@aole

Description

@aole

Enhancement request:

What should be added/changed?

Multiple calls to draw polygons causes the transparency to add up (transparent color provided in the color parameter to draw_polygon_filled(..).
Need a way to draw multiple polygons in one batch with the same transparency.

What would it help with?

Creating a simple top down game which has vision cones (polygon) for each of the characters. When drawing overlapping vision cones, their transparency gets added and starts looking weird.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions