In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
-
kuroi
- Regular
- Posts: 129
- Joined: Fri Jun 29, 2007 10:50 am
- Location: Albuquerque, New Mexico, USA
-
Contact:
#1
Post
by kuroi » Fri Jan 07, 2011 6:01 pm
I'm amazed! I think this is just about the first time I've ever found something that I wanted Renpy to do which it can't. I was trying to make some clouds on top of a sky background and really wanted to use a solid color as the image part with a simple trans map. This seemed like it would be a much more efficient way of creating the clouds rather than using two images.
Code: Select all
im.AlphaMask(Solid(#ffffff), "gamecg/Clouds_Trans.jpg")
I am, however, open to the idea that there is a better way to do this which I haven't considered. Perhaps that's the reason that this feature is not included. So, what does everyone think? Would this be a good idea for it to be able to do or should I be making my clouds a different way?
President, Planner, and Programmer for Kuroi Games!
-
PyTom
- Ren'Py Creator
- Posts: 15893
- 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:
#2
Post
by PyTom » Fri Jan 07, 2011 7:47 pm
This doesn't work because im.AlphaMask requires two images or image manipulators, and Solid isn't an image manipulator. I'd consider just using a png for this.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama •
https://www.patreon.com/renpytom
Users browsing this forum: No registered users