Search found 74 matches

by jepp21
Wed Mar 13, 2024 11:13 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] How to make drags disappear after clicking a button?
Replies: 3
Views: 206

Re: How to make drags disappear after clicking a button?

action ToggleVariable("chatrooms_open", "True") action [SetVariable("chatrooms_open", "False")] No wonder it doesn't work. You are setting your variable "chatrooms_open" to a string that reads "True" / "False" . What you wanted i...
by jepp21
Tue Mar 12, 2024 11:20 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] How to make drags disappear after clicking a button?
Replies: 3
Views: 206

[SOLVED] How to make drags disappear after clicking a button?

Hi all, I'm currently working on an in-game computer where each "app" is its own screen within. I have them set up as drags like so: screen desktop(): ..... ######## Desktop Icons ########## .... # Chatrooms imagebutton: at transform: pos (330, 150) auto 'images/desktop browse/home/chatroo...
by jepp21
Tue Mar 12, 2024 10:59 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Integrate choice menus inside screens?
Replies: 5
Views: 394

Re: Integrate choice menus inside screens?

vbox with textbuttons can have style or inline properties with yalign 1.0 or align (1.0, 1.0) To reserve some constant space for them, set alignment and size for their container frame: align (1.0, 1.0) xysize (600, 400) vbox: # with maybe: align (1.0, 1.0) for index, c in enumerate(chat_choices, st...
by jepp21
Mon Mar 11, 2024 10:25 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Integrate choice menus inside screens?
Replies: 5
Views: 394

Re: Integrate choice menus inside screens?

Thanks, both of you! I happen to end up using @jeffster's solution because I saw it first and it worked without any known issues so far. I haven't tested it in length yet but from the bit I've done it seems to be working. I had to make a few changes for it to fully work with my chatroom code, but no...
by jepp21
Sun Mar 10, 2024 4:32 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Integrate choice menus inside screens?
Replies: 5
Views: 394

[SOLVED] Integrate choice menus inside screens?

Hey everyone, I have a question about integrating choice menus within screens. I'm working on an in-game desktop, and one of the things the player can use in there is a chatroom. I have dialogue working when they should by essentially just jumping to a label and calling a menu. https://cdn.discordap...
by jepp21
Sat Jan 06, 2024 10:11 pm
Forum: Ren'Py Questions and Announcements
Topic: How to use textbeeps without compromising user experience?
Replies: 0
Views: 69558

How to use textbeeps without compromising user experience?

Hi all. I've been using text beeps in my game, but I'd like them to stop during pauses in dialogue like commas and periods. Normally, they stop just fine if I'm using a wait tag, but instead I have to use a cps tag like this: an "Test.{cps=3} test." The reason I'm not using the wait tag is...
by jepp21
Mon Oct 30, 2023 11:47 pm
Forum: Ren'Py Questions and Announcements
Topic: Text Beeps Playing During Pause Menu?
Replies: 0
Views: 5585

Text Beeps Playing During Pause Menu?

Hi all. I've been using text beeps instead of voices for my characters. I have it implemented by using this code from the docs: https://www.renpy.org/wiki/renpy/doc/cookbook/Expanded_Text_Bleeps The only issue I have is that if I pause in the middle of a line while the text characters are still appe...
by jepp21
Tue Sep 12, 2023 12:51 pm
Forum: Ren'Py Questions and Announcements
Topic: Allow skipping of dialogue containing wait tags
Replies: 2
Views: 617

Re: Allow skipping of dialogue containing wait tags

Hi all, I've been using wait text tags a lot mid-sentence to emulate punctuation. Ex: an "Test,{w=0.25} test.{w=0.30} Test.{w=0.40}.. Test.{w=0.30} test.{w=0.30} test." It works well, but I recently noticed if the player clicks to advance a line of dialogue, and there's a wait text tag in...
by jepp21
Mon Sep 11, 2023 4:36 pm
Forum: Ren'Py Questions and Announcements
Topic: Allow skipping of dialogue containing wait tags
Replies: 2
Views: 617

Allow skipping of dialogue containing wait tags

Hi all, I've been using wait text tags a lot mid-sentence to emulate punctuation. Ex: an "Test,{w=0.25} test.{w=0.30} Test.{w=0.40}.. Test.{w=0.30} test.{w=0.30} test." It works well, but I recently noticed if the player clicks to advance a line of dialogue, and there's a wait text tag in ...
by jepp21
Tue Aug 29, 2023 6:18 pm
Forum: Ren'Py Questions and Announcements
Topic: Aligning/anchoring draggables
Replies: 4
Views: 1148

Re: Aligning/anchoring draggables

...I tried it like this but the result didn't change... Well, yes... Looks like draggables are positioned onscreen witn anchor(0.0, 0.0). So, to show smaller image in the center of the area of bigger image you need to keep the original size of the draggable and position smaller image with offset. H...
by jepp21
Fri Aug 25, 2023 12:58 am
Forum: Ren'Py Questions and Announcements
Topic: Aligning/anchoring draggables
Replies: 4
Views: 1148

Re: Aligning/anchoring draggables

... It's quite strange that object shrinks when player hovers it... Anyway, try to align not selected_hover image, but the whole draggable object. I think there was a bit of a communication. The selected hover version of the image being smaller is intentional, but I still want to be able to keep it...
by jepp21
Wed Aug 23, 2023 7:58 pm
Forum: Ren'Py Questions and Announcements
Topic: Aligning/anchoring draggables
Replies: 4
Views: 1148

Aligning/anchoring draggables

Hi all. I'm working with draggables that change images and I've run into a problem: https://cdn.discordapp.com/attachments/286633898581164032/1144015987402875010/image.png https://cdn.discordapp.com/attachments/286633898581164032/1144015987692277830/image.png This is a draggable that changes to a di...
by jepp21
Wed Aug 23, 2023 7:48 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] dragging callback unexpected behavior
Replies: 2
Views: 530

Re: dragging callback unexpected behavior

Your excpectation is a bit illogical, since you have a callback that reacts to hovering a drag, but as soon as you drag you expect it to unhover, although the player *is* still hovering it. So your idea to call the function was correct, but you may want to restart the interaction. I tested the foll...
by jepp21
Tue Aug 22, 2023 3:59 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] dragging callback unexpected behavior
Replies: 2
Views: 530

[SOLVED] dragging callback unexpected behavior

Hi all. I'm currently working on a minigame that involved drags, but I'm having an issue with the dragging callback. Context: I'm trying to implement idle and hover variants. HOWEVER, it is not the drags themselves that will have these variants. Instead, a different image will have the idle and hove...
by jepp21
Wed Aug 16, 2023 6:47 pm
Forum: Ren'Py Questions and Announcements
Topic: Help creating an expandable window
Replies: 0
Views: 4580

Help creating an expandable window

Hello all. Would anyone know how to make a window that the player can freely expand or close like a typical browser window? I know frames are a bit similar but I was thinking of a window that the player could resize with their mouse. Apologies for the vague request. It seems like something that has ...