...And also some questions:
How do you define which part of a picture (PNG or other) is translucent and which is transparent? One example being the text box, which has transparent corners (making it look rounded) and a translucent body (the background picture shows through).
For development purposes, is it possible to define a "quick exit" from the game, e.g. by hitting ESC, so that I can quit the game without having to go ESC -> "Quit" -> "YES" (a bit tiring when testing continuously)?
Cheers!
Alessio
Questions: Translucency and Game exiting
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.
- 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:
This is defined by the PNG, rather than by Ren'Py. If the PNG's alpha channel says that a pixel should be translucent or transparent, Ren'Py simply respects it.How do you define which part of a picture (PNG or other) is translucent and which is transparent? One example being the text box, which has transparent corners (making it look rounded) and a translucent body (the background picture shows through).
Right now, the easiest way to do this is to click the close box on the window twice, which will immediately exit the game (this is also useful if, for some reason, the gui quit fails.)For development purposes, is it possible to define a "quick exit" from the game, e.g. by hitting ESC, so that I can quit the game without having to go ESC -> "Quit" -> "YES" (a bit tiring when testing continuously)?
Transparency in PNGs (I know I am a fool...)
So, ah... how does one go about making PNGs have a transparent background? I know it's to do with the image and not Ren'Py, but I don't know how you would change the properties of the image. @_@ Help?
~This random senselessness brought to you by Wishful~
- 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:
Yeah, paint is indecent. The programs I use are inkscape and the GIMP. You can get them from:
http://www.inkscape.org
http://www.gimp.org
Inkscape is a free SVG vector graphics editor, while the GIMP is a photoshop clone. Both are open source.
http://www.inkscape.org
http://www.gimp.org
Inkscape is a free SVG vector graphics editor, while the GIMP is a photoshop clone. Both are open source.
Who is online
Users browsing this forum: Ahrefs [Bot], Nozori_Games