Search found 16 matches

by GMHLee
Mon Sep 05, 2022 10:58 am
Forum: Ren'Py Questions and Announcements
Topic: Showing styled text on hover over textbutton
Replies: 0
Views: 253

Showing styled text on hover over textbutton

Hi all, Another question with what is likely a simple answer perhaps? I did check the docs but it doesn't really offer examples on how to implement exactly what I'm looking for. I'm try to show text when I hover over a textbutton so that "attribute" changes pop up beside my character card (already s...
by GMHLee
Sun Sep 04, 2022 11:39 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Inserting a variable into a variable
Replies: 2
Views: 246

Re: Inserting a variable into a variable

Well, that should have been an obvious spot XD
Much appreciated.
by GMHLee
Sun Sep 04, 2022 10:49 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Inserting a variable into a variable
Replies: 2
Views: 246

[Solved]Inserting a variable into a variable

Hi all, Sorry, couldn't think of the correct terminology but anyways, following in from a previous thread where i wanted to streamline my code, I have this for the moment: screen ava_card_text(x1,y1,x2,y2,y3,y4,y5,y6): text "Affection: " style "ultd": xanchor 1.0 xpos x1 ypos y1 text "[ava_stats.aff...
by GMHLee
Sat Sep 03, 2022 4:59 am
Forum: Ren'Py Questions and Announcements
Topic: Using a function with text
Replies: 4
Views: 249

Re: Using a function with text

Thanks, I'll check out both options and docs and see if I can come up with something.
Worse case scenario what i have right now works, if just a bit clunky.
by GMHLee
Sat Sep 03, 2022 3:29 am
Forum: Ren'Py Questions and Announcements
Topic: Using a function with text
Replies: 4
Views: 249

Re: Using a function with text

Hmm... not sure it works, but then I'm not sure if i'm understanding it right or if I mis explained? from your func example, would the return not exit the function? what I'm trying to accomplish is instead of this: screen girl: text "Affection: " style "ultd": xanchor 1.0 xpos 280 ypos 650 text "[Av...
by GMHLee
Sat Sep 03, 2022 3:02 am
Forum: Ren'Py Questions and Announcements
Topic: Using a function with text
Replies: 4
Views: 249

Using a function with text

Hi all, Trying to write my own function that will display text for character cards in my game. Given the size and how often i'll probably be using the code for seperate things I'd like to know how get the text working in a function. Primarily it consists of this: text "Affection: " style "ultd": xan...
by GMHLee
Wed Aug 31, 2022 1:24 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] deactivating screen button...
Replies: 3
Views: 287

Re: deactivating screen button...

Never modify global variables inside a screen using $ or python:. Screen is a live display the re-runs its code multiple times to update the display. I see, I see, that at least certainly helps narrow down things to test out for now and in future. Much appreciated. I'll try out the other suggestion...
by GMHLee
Wed Aug 31, 2022 11:34 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] deactivating screen button...
Replies: 3
Views: 287

[Solved] deactivating screen button...

Hi there, Right I've scoured for hours on google, looked at the renpy docs and nada. in my script.rpy I have show screen jewel_button with dissolve fluff code... call screen select_girl with dissolve I need to deactivate the jewel_button when the select_girl screen is active. In screens.rpy screen j...
by GMHLee
Wed Aug 31, 2022 7:27 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Custom screen menu, return to previous
Replies: 2
Views: 274

Re: Custom screen menu, return to previous

Ah, thanks much appreciated.
I should have actually tried that but for some reason I was thinking it'd show under the dialogue box.
Eh, the dialogue box gets hidden by the initial Call from script so meh.
by GMHLee
Tue Aug 30, 2022 2:12 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Custom screen menu, return to previous
Replies: 2
Views: 274

[Solved] Custom screen menu, return to previous

Hi all, Firstly yes, I did see a tutorial on how to actually change the choice menu but since I've already changed it in a way like so: screen choice(items): style_prefix "choice" vbox: for i in items: textbutton i.caption.format(*i.args, **i.kwargs) action i.action Where I needed access to variable...
by GMHLee
Sun Aug 28, 2022 6:45 am
Forum: Ren'Py Questions and Announcements
Topic: Character sprites now won't auto hide after sub folder placement
Replies: 4
Views: 271

Re: Character sprites now won't auto hide after sub folder placement

Ah I see, then there's a problem. Using spaces when in a sub folder will cause it to fail and not find the image.
by GMHLee
Sun Aug 28, 2022 5:17 am
Forum: Ren'Py Questions and Announcements
Topic: Character sprites now won't auto hide after sub folder placement
Replies: 4
Views: 271

Character sprites now won't auto hide after sub folder placement

Hi there, recently decided I wanted to tidy up the images folder. To do that apparently I needed to rename all image names with undcerscored to replace the spaces IF placed into a sub folder of the images folder. That works, but now all "show character x" will only display the character over the top...
by GMHLee
Sat Aug 27, 2022 5:58 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Concatenate string and variable within menu choice
Replies: 4
Views: 338

Re: Concatenate string and variable within menu choice

Aahh... I see, thanks. I was actually hoping it wasn't something like that and it's my fault for not giving clearer info. Currently my characters have 6 stats. The above example is for the chance of one stat to go up. In future I envision seeing some events where all six have individual chances of c...