Search found 5 matches

by svatem1
Tue Oct 04, 2022 1:19 am
Forum: Ren'Py Questions and Announcements
Topic: custom screen alpha blended according to alphamask
Replies: 2
Views: 390

Re: custom screen alpha blended according to alphamask

Thank you for your response. The first question is basically the same as 2nd, the only difference being -> if I do not want to have constant alpha but some picture with alpha channel instead (to e.g. create gradient), is it possible?
by svatem1
Fri Sep 30, 2022 7:24 pm
Forum: Ren'Py Questions and Announcements
Topic: custom screen alpha blended according to alphamask
Replies: 2
Views: 390

custom screen alpha blended according to alphamask

I defined my custom screen, in which i have some layout/ui structure, it's basically chat-like UI. I'm spawning this screen via show screen myscreen statement. Is there any simple way how to say "hey, here's my picture, take it's alpha channel and mask my screen onto the background according to...
by svatem1
Thu Sep 29, 2022 2:19 pm
Forum: Ren'Py Questions and Announcements
Topic: defining style via python with different parent than style.default
Replies: 5
Views: 407

Re: defining style via python with different parent than style.default

enaielei wrote: Thu Sep 29, 2022 2:05 pm Don't do it in python.

Code: Select all

style example is whatever:
   # properties
I'll try to stay out of python as much as possible, I just found random example of something that looked like I could use, started modifying it and this was the error I ran into
by svatem1
Thu Sep 29, 2022 2:14 pm
Forum: Ren'Py Questions and Announcements
Topic: defining style via python with different parent than style.default
Replies: 5
Views: 407

Re: defining style via python with different parent than style.default

Ocelot wrote: Thu Sep 29, 2022 2:02 pm What happens if you use 5 as init priority for Python code?
same error
by svatem1
Thu Sep 29, 2022 1:48 pm
Forum: Ren'Py Questions and Announcements
Topic: defining style via python with different parent than style.default
Replies: 5
Views: 407

defining style via python with different parent than style.default

I have the following code: init offset = -1 style default: properties gui.text_properties() language gui.language color "#ff0000" style whatever: properties gui.text_properties() language gui.language color "#ff0000" init 1 python: style.example = Style(style.default) This code w...