Surface.blit with optional special flags

In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
Post Reply
Message
Author
Leoben
Newbie
Posts: 3
Joined: Thu Jul 22, 2010 3:24 pm
Contact:

Surface.blit with optional special flags

#1 Post by Leoben »

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

User avatar
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

#2 Post by PyTom »

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
Software > Drama • https://www.patreon.com/renpytom

Leoben
Newbie
Posts: 3
Joined: Thu Jul 22, 2010 3:24 pm
Contact:

Re: Surface.blit with optional special flags

#3 Post by Leoben »

Thanks for the reply.

Post Reply

Who is online

Users browsing this forum: No registered users