Search found 13 matches
- Mon Jan 10, 2022 4:03 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to make transforms happen in sequence when showing a screen? [Solved]
- Replies: 6
- Views: 423
Re: How to make transforms happen in sequence when showing a screen?
Don't know why does it act like this, but get rid of "on show" block. Hey, it worked! I used the code you suggested, and the transforms are just as I intended them to now. The example was great. Not only do the images appear in sequence, their "on hide" parts also work properly. Thanks so much for ...
- Sat Jan 08, 2022 9:49 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to make transforms happen in sequence when showing a screen? [Solved]
- Replies: 6
- Views: 423
Re: How to make transforms happen in sequence when showing a screen?
I don't know the answer since this looks more complex than what I've tried, but I have some notes: Firstly, something I also forget sometimes is that screen code is run during prediction, so the "on show" stuff might be happening before the game actually displays the screen. (Try putting $ print("t...
- Wed Jan 05, 2022 6:18 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to make transforms happen in sequence when showing a screen? [Solved]
- Replies: 6
- Views: 423
How to make transforms happen in sequence when showing a screen? [Solved]
Dear transforms and screen wizards. I've tried to figure this out for two days now, and not succeeded. My troubleshooting hasn't yielded results. I have modified the choice screen, screen choice(items), to make it prettier. I'm trying to display four images when the screen is shown, each with its ow...
- Thu Aug 27, 2020 4:03 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Using im.Scale doesn't work when image file path contains variables
- Replies: 4
- Views: 294
Re: Using im.Scale doesn't work when image file path contains variables
Your images need to be defined before you try to scale them, I believe, due to the order the images are processed. A workaround, though probably not what you want to hear, is to define two identical images, one scaled, one not, and use that in your composite instead Additionally, live composite has...
- Wed Aug 26, 2020 6:32 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Using im.Scale doesn't work when image file path contains variables
- Replies: 4
- Views: 294
[SOLVED] Using im.Scale doesn't work when image file path contains variables
Hey! I use LiveComposite to build my game's sprites. This layers several images on top of each other. I use variables to control clothing and expression layers, so that means my LiveComposite code contains variables that Ren'Py references to complete the file paths for each image. Code that works: (...
- Sat Jun 30, 2018 6:07 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] How to make hovering a choice box change a variable?
- Replies: 6
- Views: 1768
Re: How to make hovering a choice box change a variable?
Personally I'd go with altering screen choice in screens.rpy so you can run the system using menu: blocks as normal. If you add a prefix to the caption, you can then test for that and add a hovered ... default choice_exp = "choice_attentive" label start: menu: "attentive¦choice a": "mmm" "delighted...
- Sat Jun 30, 2018 5:02 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] How to make hovering a choice box change a variable?
- Replies: 6
- Views: 1768
Re: How to make hovering a choice box change a variable?
Ok. First advice, maybe you know this already but, to be sure: Renpy uses actually different languages in label, screen or transforms. Labels hold the narration as it goes on, and have a flow and an order, they can jump/call/return. Screens are defined on their own, and showed or called from labels...
- Thu Jun 28, 2018 4:43 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] How to make hovering a choice box change a variable?
- Replies: 6
- Views: 1768
Re: How to make hovering a choice box change a variable?
I suggest you to create your own screen, instead of using a menu. You can do it the other way, changing the screen choice, but a custom screen will be clearer. Tell us if you need help to create your own screen. Ah, yep, I've cheated and made it as simple as possible because I couldn't figure out h...
- Thu Jun 28, 2018 3:55 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] How to make hovering a choice box change a variable?
- Replies: 6
- Views: 1768
[Solved] How to make hovering a choice box change a variable?
I'm trying to make a choice screen where there's a big protagonist figure that slides in and who will change facial expressions when you hover over the different choices. This way, I'm trying to give the player a better feel about what "mood" each choice has. https://image.ibb.co/mmrGVT/Choice_Scree...
- Thu Jun 28, 2018 5:18 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Help with hiding menu screen tooltips
- Replies: 7
- Views: 1224
Re: [Solved] Help with hiding menu screen tooltips
Another suggestion, (sorry) ;) Have you tried "hover_sound" instead of "hovered Play" https://renpy.org/doc/html/style_properties.html#style-property-hover_sound Oh, I actually didn't! I will give this one a try too! Thanks a lot for the tip! :D Edit: I tried it, it worked, and I'm using it now!
- Thu Jun 21, 2018 3:06 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Help with hiding menu screen tooltips
- Replies: 7
- Views: 1224
Re: Help with hiding menu screen tooltips
I suggest you to not use hovered but the built-in tooltip in renpy screens. It automatically shows and hides on hover/unhover without worrying about it. (Use the hovered action only for the sound effect.) https://www.renpy.org/doc/html/screen_actions.html#tooltips Tooltip can be more than a string,...
- Thu Jun 21, 2018 3:03 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Help with hiding menu screen tooltips
- Replies: 7
- Views: 1224
Re: Help with hiding menu screen tooltips
Try adding it to your action and see if it works? imagebutton auto "gui/btn/btn_main_start_%s.png": xpos 0 ypos 0 focus_mask True action [Hide("gui_tooltip"), Start()] # here hovered [ Play ("channel_one", "sfx/click.wav"), Show("gui_tooltip", my_picture="gui/tt/tt_main_start.png", my_tt_xpos=0, my...
- Wed Jun 20, 2018 5:09 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Help with hiding menu screen tooltips
- Replies: 7
- Views: 1224
[Solved] Help with hiding menu screen tooltips
Hi, I'm wrestling with creating a new user interface, and with the help of Leon and Uncle Mugen's Imagebutton GUI Framework , I learned how to properly use imagebuttons. I also got the notion to try using tooltips from that project, and they work, but they won't go away when the imagebuttons they be...