Search found 9 matches
- Tue Feb 14, 2023 9:36 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]Refer to object in a list as a variable
- Replies: 5
- Views: 312
Re: Refer to object in a list as a variable
I appreciate the insight, thank you!
- Tue Feb 14, 2023 12:30 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]Refer to object in a list as a variable
- Replies: 5
- Views: 312
Re: Refer to object in a list as a variable
Thank you very much! I will try both of these. In your opinion, is it better to use a dictionary over a list?
- Tue Feb 14, 2023 2:21 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]Refer to object in a list as a variable
- Replies: 5
- Views: 312
[SOLVED]Refer to object in a list as a variable
I have a list of quests and an empty list: define week1 = [ Quest("Clean Room", "It's pretty dirty. Let's clean it.", "cleaning"), Quest("Cook Breakfast", "Let's make eggs.", "cooking"), Quest("Eat Breakfast", "Yum!", &q...
- Thu Feb 02, 2023 11:23 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Get position of screen element to inform position of different element
- Replies: 2
- Views: 274
Re: Get position of screen element to inform position of different element
Nothing, apparently! Didn't know about fixed or fit_first. This works great. Thank you for your help.What prevents you from simply placing text over button?
- Thu Feb 02, 2023 3:20 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Get position of screen element to inform position of different element
- Replies: 2
- Views: 274
[SOLVED] Get position of screen element to inform position of different element
I have an hbox with three imagebuttons in it. I want to display text over each of the buttons. How do I get the position of each imagebutton so that I don't have to manually insert x and ypos and spacing for the text? My code so far: screen choice_buttons(): hbox: xpos 890 ypos 1080 spacing 10 image...
- Sun Aug 02, 2020 1:46 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Tooltip appear over imagebutton
- Replies: 4
- Views: 368
Re: Tooltip appear over imagebutton
Thank you Per! This is sort of working. The toolip now only appears above the left most button no matter which button is being hovered over.
(The blue circle is the one I was hovering over, I couldn't get a screenshot with my mouse in it.)
(The blue circle is the one I was hovering over, I couldn't get a screenshot with my mouse in it.)
- Sat Aug 01, 2020 5:16 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Tooltip appear over imagebutton
- Replies: 4
- Views: 368
Tooltip appear over imagebutton
Hello! I'm testing out the functionality of tooltips and want their text to appear above the button that holds that tooltip. Currently the tooltip appears in the top left corner of the screen. I thought it would take on the positioning of the vbox that contained it, but that doesn't appear to be the...
- Thu Jul 30, 2020 12:50 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Finding missing code from Tutorial game
- Replies: 2
- Views: 279
Re: Finding missing code from Tutorial game
Thank you so much! This worked for me. I had not defined the images. I was referencing "The Question" game for set up and it doesn't define the images it uses in the script file. Is that only necessary for buttons? For reference, here is the full code that worked for me. image logo bw = &q...
- Thu Jul 30, 2020 11:34 am
- Forum: Ren'Py Questions and Announcements
- Topic: Finding missing code from Tutorial game
- Replies: 2
- Views: 279
Finding missing code from Tutorial game
Hello! I'm trying to figure out how to used imagebuttons based on the code in the Tutorial game. This is the section in the tutorial_screen_displayables.rpy file I'm trying to replicate: example large: screen imagebutton_example(): frame: xalign 0.5 ypos 50 imagebutton: idle "logo bw" hove...