Search found 35 matches
- Thu Feb 17, 2022 8:41 am
- Forum: Ren'Py Questions and Announcements
- Topic: Weird behavior on hover
- Replies: 0
- Views: 245
Weird behavior on hover
Hello! I am using a system where whenever a character ends speaking, his avatar is placed in a stack above the textbox. Unfortunately, I have encountered some weird behavior. If I, as the player, make choice, then everything is fine and other avatars are being shown above the textbox even if I hover...
- Thu Jul 15, 2021 9:20 am
- Forum: Ren'Py Questions and Announcements
- Topic: Side images that stay on screen?
- Replies: 4
- Views: 1252
Re: Side images that stay on screen?
Okay, I have figured it out. Indeed, I did not have to use side images for this, and I did not even have to use "show" for this. If anyone is going to be looking for a solution, here's mine: (and a bonus question at the end) - script.rpy: default interlocutors = [] # we start with an empty list whic...
- Tue Jul 06, 2021 7:06 am
- Forum: Ren'Py Questions and Announcements
- Topic: Side images that stay on screen?
- Replies: 4
- Views: 1252
Re: Side images that stay on screen?
I probably do, but I've been reading for hours and unfortunately have not found a way to achieve this.Imperf3kt wrote: ↑Mon Jul 05, 2021 5:39 pmYou probably want a character callback.
https://www.renpy.org/doc/html/characte ... -callbacks
- Mon Jul 05, 2021 4:14 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Side images that stay on screen?
- Replies: 4
- Views: 1252
Side images that stay on screen?
Hello. I have looked through dozens of forum posts with similar discussions, but after trying all of them, nothing seems to work for my particular case. I have recently begun working on the visual side of my game and, despite thinking that it would be easy enough, have hit a roadblock that I can't o...
- Sat May 08, 2021 11:50 am
- Forum: Ren'Py Questions and Announcements
- Topic: Grayscaling & focus for tutorial?
- Replies: 5
- Views: 1039
Grayscaling & focus for tutorial?
Hi! I've been trying to make a tutorial for my game, wherein as everything is explained it is also highlighted with a contour, or the whole of the screen is made into grayscale except for the part of the screen in question (say, as a colored square while everything else is gray). I assume Renpy does...
- Fri Nov 20, 2020 4:47 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Animate variables when they are updated?
- Replies: 15
- Views: 1212
Re: Animate variables when they are updated?
Alternatively, you can just do this, short but a neat trick, passing variables around atl makes them dynamic on each interaction restart. transform animation_update(var): # make an argument where we can receive the variable. alpha 0.0 easein 0.25 alpha 1.0 default var = 1 screen something(): vbox: ...
- Fri Nov 20, 2020 1:23 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Animate variables when they are updated?
- Replies: 15
- Views: 1212
Re: Animate variables when they are updated?
Am I right that you want the transform to happen only when the variable svar is changed? And not when you click on other elements that can result in 'update' event of the screen? One option to do it is to use another variable to track if svar is changed. You can modify your screen test like this: s...
- Thu Nov 19, 2020 1:55 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Animate variables when they are updated?
- Replies: 15
- Views: 1212
Re: Animate variables when they are updated?
'On update' is triggered every time the screen is updated. It is not directly related to the variable svar or the screen 'test' itself. HUD screen can also trigger 'on update' for screen 'test' . I am not quite sure why it is triggered when you hover over elements of HUD screen. I believe you have ...
- Wed Nov 18, 2020 10:51 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Animate variables when they are updated?
- Replies: 15
- Views: 1212
Re: Animate variables when they are updated?
Why is it triggered whenever I hover over UI elements in HUD screen then...? Do you mean on hover and on idle statements in transform? On update is triggered for direct children and each of them updated its content/children without passing on update to each individual element. On hover and on idle ...
- Tue Nov 17, 2020 5:22 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Animate variables when they are updated?
- Replies: 15
- Views: 1212
- Tue Nov 17, 2020 4:06 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Animate variables when they are updated?
- Replies: 15
- Views: 1212
Re: Animate variables when they are updated?
I don't know what you did. But my code works exactly well iirc. I even tried it before, so maybe you're missing something? Perhaps an issue with the Ren'Py version you're using? Not sure. You're right, it works! I was trying to test it like this: screen test(): vbox: textbutton "increment" action S...
- Sun Oct 18, 2020 8:48 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Animate variables when they are updated?
- Replies: 15
- Views: 1212
Re: Animate variables when they are updated?
Still haven't found a solution 
- Mon Oct 12, 2020 10:47 am
- Forum: Ren'Py Questions and Announcements
- Topic: expected label name not found .. but the button finds it?
- Replies: 2
- Views: 459
Re: expected label name not found .. but the button finds it?
I think your issue is that you're using quotation marks. It should be
Also, return can only be used when you're doing
Code: Select all
jump toNightCode: Select all
call toNight- Mon Oct 12, 2020 10:13 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Animate variables when they are updated?
- Replies: 15
- Views: 1212
Re: Animate variables when they are updated?
Thanks, hell_oh_world! But unfortunately it does not seem to do anything. I've tried different effects and none of them fires, the variable just changes as always does with no effect whatsoever. :/
- Fri Sep 18, 2020 3:00 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Animate variables when they are updated?
- Replies: 15
- Views: 1212
[SOLVED] Animate variables when they are updated?
Hello experts of Ren'py :) I've been wondering for a while now about the way I could make a variable on the HUD blink/transform/whatever (for a sec) after the player has a made a choice and the variable has changed? Couldn't find anything on the forums... I'm using menu arguments (to highlight varia...