Search found 6 matches
- Tue Sep 08, 2020 5:17 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Error message when image button hovered (hovered instead of hover)
- Replies: 2
- Views: 304
Re: "TypeError: 'ImageReference' object is not callable" when image button is hovered
Was it really that simple? It was. I actually want to delete that thread now now, because I am so embarrassed. I tried to find a solution for the past three days and was ready to give up. Sometimes I miss the most obvious things. Thank you. I will edit the original post to make it clearer. And I am ...
- Tue Sep 08, 2020 3:24 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Error message when image button hovered (hovered instead of hover)
- Replies: 2
- Views: 304
[SOLVED] Error message when image button hovered (hovered instead of hover)
I want to display multiple character sprites as image buttons: for c in characters[1:]: if ImageReference(c + " Happy"): $img = ImageReference(c + " Happy") else: $img = ImageReference(c + " Normal") imagebutton: idle img hovered img #<----------------------------------...
- Thu Jul 09, 2020 3:25 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Wrapping text around non-rectangular images
- Replies: 2
- Views: 472
Re: Wrapping text around non-rectangular images
Thank you for your help. I'm sure it is somehow possible using Python, but that might be a question I have to ask on StackOverflow. I'll share my solution here, but it might take a while.
- Tue Jun 30, 2020 5:16 am
- Forum: Ren'Py Questions and Announcements
- Topic: Wrapping text around non-rectangular images
- Replies: 2
- Views: 472
Wrapping text around non-rectangular images
How can I wrap text around a non-rectangular image? Any solution is appreciated, may it be Transform or Python. I know it has to be possible because Python is Turing-complete. Please note that I have a lot of images and one solution for all is the only way I could do it. And because a picture says m...
- Sun May 19, 2019 11:06 am
- Forum: Ren'Py Questions and Announcements
- Topic: Menu columns?
- Replies: 2
- Views: 332
Re: Menu columns?
Hi! You need to know that all the styling is done in screens.rpy. This also involves the choice screen. It looks like this: screen choice(items): style_prefix "choice" vbox: for i in items: textbutton i.caption action i.action Replace it with this: screen choice(items): style_prefix "...
- Sat May 18, 2019 3:20 am
- Forum: Ren'Py Questions and Announcements
- Topic: How do I get size of a vbox with buttons and use it?
- Replies: 0
- Views: 214
How do I get size of a vbox with buttons and use it?
Hello, I think I'll keep it short since my English isn't the best. I want the choice screen to be scrollable if there are too many choices for the screen. First it was easy, but then I thought "Wouldn't it be nice if the scrollable screen looked different than the normal one?" And then the...