Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
-
screenmac
- Newbie
- Posts: 9
- Joined: Tue Jul 29, 2014 6:17 pm
-
Contact:
#1
Post
by screenmac » Tue Jul 29, 2014 9:23 pm
I'm new here. I've been searching for transparent button everywhere on search forum. No luck. I'm not looking for different transparent button.
I'm looking something like this on main menu -- Text Mouse move and highlight that image.
Metro Glass

Yes... yes. This is the one. I want this on Ren.Py.
http://demos.jquerymobile.com/1.3.0-rc. ... s/buttons/
I don't know how to code this. How do I do this?
-
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 » Tue Jul 29, 2014 9:36 pm
You pretty much want:
Code: Select all
style button:
idle_background Frame("idle_button.png", 5, 5)
hover_background Frame("hover_button.png", 5, 5)
insensitive_background Frame("insensitive_button.png", 5, 5)
If a png is partially transparent, the button will be as well.
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
-
screenmac
- Newbie
- Posts: 9
- Joined: Tue Jul 29, 2014 6:17 pm
-
Contact:
#3
Post
by screenmac » Tue Jul 29, 2014 9:48 pm
Thank you soo much.
Users browsing this forum: Bing [Bot], Google [Bot], Hojoo