Just being curious, how should I write the im.AlphaMask code? And is the image that is used is like in the NScripter one (with silhouette on the right side?)
Thanks a lot.
Question about im.AlphaMask
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
-
- Regular
- Posts: 197
- Joined: Fri Nov 10, 2006 3:25 am
- Location: at a village near Bandung, Indonesia
- Contact:
Question about im.AlphaMask
Kalau tidak suka ya jangan diladeni, gitu aja kok repot™.
Cynanthia's Blog (Indonesian)
Cynanthia's Blog (Indonesian)
- PyTom
- Ren'Py Creator
- Posts: 16096
- 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: Question about im.AlphaMask
What are you trying to do? If it involves using BMP files, I'll be zotting you.
The Ren'Py version takes two images, with the base image being the first, and the mask image being the second.
In Ren'Py, the mask should be black in areas of full transparency, and white in areas of full opacity. IIRC, this is the opposite of the way nscripter does it.
The Ren'Py version takes two images, with the base image being the first, and the mask image being the second.
In Ren'Py, the mask should be black in areas of full transparency, and white in areas of full opacity. IIRC, this is the opposite of the way nscripter does it.
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
-
- Regular
- Posts: 197
- Joined: Fri Nov 10, 2006 3:25 am
- Location: at a village near Bandung, Indonesia
- Contact:
Re: Question about im.AlphaMask
I don't try any bmp files. I only don't understand about how it works, really.
So, how should I write the code if I want to use this function? I don't understand @_@
So, how should I write the code if I want to use this function? I don't understand @_@
Kalau tidak suka ya jangan diladeni, gitu aja kok repot™.
Cynanthia's Blog (Indonesian)
Cynanthia's Blog (Indonesian)
Re: Question about im.AlphaMask
But what is your goal in using this function? ô_o
Who is online
Users browsing this forum: Google [Bot]