Search found 23 matches
- Tue Mar 30, 2021 2:33 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How do I get nested layered images to update properly?
- Replies: 0
- Views: 758
How do I get nested layered images to update properly?
So I have a character sprite with eyes that blink and also look in different directions. The idea was that I could change the type of eye and the direction that the character was looking during dialogue. However, when I change the variable that controls which way she is looking, Raven.ego.face[0] , ...
- Tue Dec 15, 2020 8:17 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Cannot get "selected_insensitive" to work
- Replies: 5
- Views: 672
Re: Cannot get "selected_insensitive" to work
for a workaround i suggest trying this since you're actually tracking what's variable is sensitive/selected etc. ... Thanks a million. It's annoying to have to write python a million times per button, and this solution doesn't work as easily for buttons that are dynamically generated, but at least ...
- Tue Dec 15, 2020 7:04 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Cannot get "selected_insensitive" to work
- Replies: 5
- Views: 672
Re: Cannot get "selected_insensitive" to work
https://www.renpy.org/dev-doc/html/screens.html#imagebutton the selected property of a button tells whether the button is selected or not. if your "selected_button" is a variable that tells what button is selected then it should be something like. selected selected_button == 1 you can as ...
- Tue Dec 15, 2020 6:17 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Cannot get "selected_insensitive" to work
- Replies: 5
- Views: 672
Cannot get "selected_insensitive" to work
I cannot, for the life of me, figure out how this is supposed to work. No matter what I do, or try, I can never ever get the "selected_insensitive" version of the background to appear. Can someone tell me what I'm doing wrong? Or is this a known issue? This is the screen that I put togethe...
- Thu Jul 23, 2020 10:36 am
- Forum: Ren'Py Questions and Announcements
- Topic: Bar Not Updating After Value Changes
- Replies: 1
- Views: 290
Re: Bar Not Updating After Value Changes
Fixed it. screen user_menu(): fixed: xalign 0.0 yalign 0.0 hbox: spacing 2 yalign 1.0 bar: value FieldValue(Raven,"Love",range=4096) xsize 25 ysize 525 Just needed to use FieldValue instead of referencing the variable directly.
- Wed Jul 22, 2020 8:25 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Bar Not Updating After Value Changes
- Replies: 1
- Views: 290
Bar Not Updating After Value Changes
So, for some reason, whenever I change the value in the bar, the bar itself isn't being updated. I've tried changing the variable in the console directly as well as by calling a function that changes it. Within the function, I am calling renpy.restart_interaction() after the change as well. The only...
- Thu Jun 18, 2020 3:07 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Custom Say Screen, strange behavior with frames
- Replies: 1
- Views: 252
Custom Say Screen, strange behavior with frames
So I want a frame instead of a window for the say screen, so that the text box can grow and shrink according to what's inside it. My solution to this, which probably wouldn't work, is to try and replace the outer window of the say screen with a frame. However, I'm seeing some very strange behavior f...
- Thu Jun 18, 2020 1:51 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Modal Say Screen Not Working
- Replies: 5
- Views: 495
Re: Modal Say Screen Not Working
I figured out a way to do it. It involves using SensitiveIf() and renpy.get_screen() . SensitiveIf() is a button action that determines if the button is sensitive. It evaluates whatever statement is between the parenthesis, and the button is only sensitive if that statement evaluates to True . renpy...
- Mon Jun 15, 2020 5:39 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Tooltip Being Overwritten?
- Replies: 0
- Views: 331
Tooltip Being Overwritten?
Having some more troubles with tooltips. The code below generates imagebuttons based on the contents of the list in halls . However, it seems like the tooltip for each button is being overwritten by the last imagebutton to be created. So if I have four items in halls , then four buttons are created,...
- Mon Jun 15, 2020 5:23 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Modal Say Screen Not Working
- Replies: 5
- Views: 495
Re: Modal Say Screen Not Working
It might be simpler, but it wouldn't be as strong. It would be much safer to have an engine-level mechanism detecting whether a certain screen is being used than to have to remember to enable/disable a flag twice per dialogue path. How is 'modal' not what I am looking for? A modal screen supposedly ...
- Mon Jun 15, 2020 1:35 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Tooltip not working
- Replies: 3
- Views: 256
Re: Tooltip not working
Thanks, guys. You didn't give me the answer, but you certainly got me started. The big problem that I was focused on was why the imagebuttons weren't displaying their tooltips. Then philat said only displayables that can take focus can actually have tooltips I realized then that my imagebuttons were...
- Mon Jun 15, 2020 3:48 am
- Forum: Ren'Py Questions and Announcements
- Topic: Tooltip not working
- Replies: 3
- Views: 256
Tooltip not working
I'm trying to understand how the tooltip works, and why it seems so inconsistent. The tooltip is displayed when I hover over the textbuttons in the "Action Panel", but not anywhere else. The documentation states that tooltips can be used on any displayable, so why can I only get it to work...
- Mon Jun 15, 2020 3:40 am
- Forum: Ren'Py Questions and Announcements
- Topic: Modal Say Screen Not Working
- Replies: 5
- Views: 495
Re: Modal Say Screen Not Working
Thanks for the reply. Unfortunately, I don't think what you've posted is going to help me very much. I'm looking specifically for a way to detect is something is currently being said via dialogue. I am trying to avoid having to manually enable/disable menu options, which I believe is what your solut...
- Thu Jun 11, 2020 11:57 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Modal Say Screen Not Working
- Replies: 5
- Views: 495
Modal Say Screen Not Working
In my game, there is essentially a HUD that is displayed at all times. This HUD is a screen that allows the player to talk to other characters. However, a problem I am facing is that, when dialogue has been started, the player is still able to click a button on the HUD and launch a new branch of dia...
- Mon Jan 20, 2020 10:45 pm
- Forum: We are a Commercial Project looking for Partners
- Topic: [CLOSED] [REV-SHARE] [NSFW] Looking For A Long-term Artist/Partner To Work On A Cyberpunk RPG
- Replies: 6
- Views: 1272
Re: [OPEN] [REV-SHARE] [NSFW] Looking For A Long-term Artist/Partner To Work On A Cyberpunk RPG
Took your advice, and found an artist before the weekend was over! Thanks for the help!