ppb / pursuedpybear

A python game engine.
https://ppb.dev/
Artistic License 2.0
258 stars 98 forks source link

Add alpha channel support to the shape assets #575

Open pathunstrom opened 3 years ago

pathunstrom commented 3 years ago

Add an additional keyword argument to the shape primitives that allows for an alpha channel, letting them be translucent.

AstraLuma commented 3 years ago

Can this be part of the color argument?

Basically, add support for RGBA as well as RGB

pathunstrom commented 3 years ago

The existing assets have separate rgb parameters: https://ppb.readthedocs.io/en/stable/reference/assets.html#ppb.Circle

AstraLuma commented 3 years ago

Note that the renderer itself has bugs around this.

Those bugs are not part of this issue.