I'm having some problems with the slider thumb, the image I put in the folder is transparent, but it seems to add a square to the lower half of the image. I'm guessing it's the "thumb_shadow" (maybe) but I can't make it go away............. I'm pulling my hair out lol anyone know what's up with it?
It should look like this:
It looks like this:
[SOLVED]slider thumb transparency
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.
- Scribbles
- Miko-Class Veteran
- Posts: 636
- Joined: Wed Sep 21, 2016 4:15 pm
- Completed: Pinewood Island, As We Know It
- Projects: In Blood
- Organization: Jaime Scribbles Games
- Deviantart: breakfastdoodles
- itch: scribbles
- Location: Ohio
- Contact:
[SOLVED]slider thumb transparency
Last edited by Scribbles on Tue Jun 18, 2019 4:53 pm, edited 1 time in total.
- Scribbles
- Miko-Class Veteran
- Posts: 636
- Joined: Wed Sep 21, 2016 4:15 pm
- Completed: Pinewood Island, As We Know It
- Projects: In Blood
- Organization: Jaime Scribbles Games
- Deviantart: breakfastdoodles
- itch: scribbles
- Location: Ohio
- Contact:
Re: slider thumb transparency
I got a solution on the discord so going to share it here!
then to get the flower to fall lower on the bar I adjusted the thumb to have more horizontal transparent space to line up better with the slider's size. Thanks to the renpy discord people who helped <3 !
Code: Select all
style slider:
ysize gui.slider_size
base_bar Frame("gui/slider/horizontal_[prefix_]bar.png", gui.slider_borders, tile=gui.slider_tile)
thumb "gui/slider/horizontal_[prefix_]thumb.png"
thumb_offset -50 ## This made the strange lower bar go away - would probably need customized to the size of the thumb
Who is online
Users browsing this forum: Bing [Bot]