Immediately I apologize for my English.
I have a question Ren'py.
Purpose:
I want to add the ability to display images with the flags mixing pygame.BLEND_ADD, pygame.BLEND_MULT etc. ...
The undertaken work:
I managed to renpy.Displayable display these flags for static images, through the transfer of one additional parameter Image(path).blend = pygame.BLEND_ADD and rendering it through dest.blit (what, (x, y), pygame.BLEND_ADD)
The problem is as follows:
As soon as I started image handled by the class Transform () and starts animation, effect of blending is disappears.
I found out that the class Transform rooted in SDL (renpy.display.module.transform and _renpy.pyx, _renpy.c)
Question:
How can I make such an effect blending to transform the images?
Thanks in advance for the help.
P.S. If it is important, I use 6.10.1 version Ren'py
Surface.blit with optional special flags
- PyTom
- Ren'Py Creator
- Posts: 16093
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: Surface.blit with optional special flags
Sorry, but those modes aren't supported.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Re: Surface.blit with optional special flags
Thanks for the reply.
Who is online
Users browsing this forum: No registered users