Search found 20 matches

by Hojoo
Tue Dec 12, 2023 5:28 pm
Forum: Ren'Py Questions and Announcements
Topic: Pause Dialogue (and Voice!) at Punctuation?
Replies: 2
Views: 2193

Re: Pause Dialogue (and Voice!) at Punctuation?

Can you explain what you mean by that? Because {w=0.5} automatically advances, no clicks needed. That's the whole point of those tags. I also don't get this in the other thread you linked. It changes the way that skipping text works. Normally, clicking or pressing spacebar/enter takes you to the en...
by Hojoo
Mon Dec 11, 2023 10:56 pm
Forum: Ren'Py Questions and Announcements
Topic: Pause Dialogue (and Voice!) at Punctuation?
Replies: 2
Views: 2193

Pause Dialogue (and Voice!) at Punctuation?

This thread by user StValentines figures out how to create pauses in dialogue at relevant punctuation without using the {w} dialogue text tag (which undesirably only advances dialogue to the next pause on each click) by using the {cps} general text tag instead. My problem is that my characters use t...
by Hojoo
Mon Dec 11, 2023 3:54 pm
Forum: Ren'Py Questions and Announcements
Topic: Updating Outfit when Equipping from Inventory?
Replies: 4
Views: 2489

Re: Updating Outfit when Equipping from Inventory?

The name "Character" refers to an existing Renpy function to create characters, as you probably know. Also not a good idea. ;) Whoops, thank you. Aha. 🙏 I'll rename class Vagabond to class PartyMember , then. If you want to create a layered image as part of the class, you can do it the fo...
by Hojoo
Sun Dec 10, 2023 6:23 pm
Forum: Ren'Py Questions and Announcements
Topic: Updating Outfit when Equipping from Inventory?
Replies: 4
Views: 2489

Re: Updating LayeredImage when Equipping from Inventory?

And holy moly, your layered image uses a lot of confusing statements. I know, but wonderously it works. I got a lot of help from user _ticlock_ with their brilliance in this thread . 1. Why would you give your class the same name as the layered image? It would confuse the hell out of me. I see your...
by Hojoo
Tue Dec 05, 2023 5:27 am
Forum: Ren'Py Questions and Announcements
Topic: Updating Outfit when Equipping from Inventory?
Replies: 4
Views: 2489

Updating Outfit when Equipping from Inventory?

Hey y'all! My main character is comprised of a layeredimage , with most of its parts determined in the character creator: layeredimage Vagabond: always: ConditionSwitch(*gen_cs_arg_body("images/character_creator/cc_base.png")) always: ConditionSwitch(*gen_cs_arg_body("images/character...
by Hojoo
Tue Nov 28, 2023 10:11 pm
Forum: Ren'Py Questions and Announcements
Topic: Remove Blinking Text Cursor in Name Input?
Replies: 4
Views: 971

Re: Remove Blinking Text Cursor in Name Input?

Thanks everybody! I figured out even another workaround to remove the blinking cursor using the caret and idle_caret properties. The functions to take a value and store it as names can stay the same: init python: def forname_func(newstring): store.forname = newstring def surname_func(newstring): sto...
by Hojoo
Tue Nov 28, 2023 4:25 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Using an Imagemap to set Pronouns?
Replies: 7
Views: 975

Re: Using an Imagemap to set Pronouns?

Okay besties, this is the code that works — updated with all the changes, plus some extra. The Function(pronoun_selection, pronoun) calls were redundant because they're already passing the pronoun variable, which already holds the index of the selected pronoun. It was causing problems and displaying...
by Hojoo
Fri Jan 13, 2023 6:49 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Using an Imagemap to set Pronouns?
Replies: 7
Views: 975

Re: Using an Imagemap to set Pronouns?

Adding zorder 100 stops the dialogue box from coming to the front, but I'm still getting the problem where displayables behind the screen are interactable, so dialogue progresses under the screen while clicking to select pronouns. [...] All something = something_else in pronoun_selection should be ...
by Hojoo
Fri Jan 06, 2023 9:28 pm
Forum: Ren'Py Questions and Announcements
Topic: Remove Blinking Text Cursor in Name Input?
Replies: 4
Views: 971

Remove Blinking Text Cursor in Name Input?

The input for my character's name is through a textbox on the character creator screen (instead of opening up a new dialogue), but right now the blinking text cursor in the name box persists even after nothing's being inputted. Is there a way to have the cursor stop blinking once input is done, or t...
by Hojoo
Fri Jan 06, 2023 8:04 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Using an Imagemap to set Pronouns?
Replies: 7
Views: 975

Re: Using an Imagemap to set Pronouns?

Hi! Thank you both for the suggestions! I've run into 2 problems with what I have right now: Fixing it to be Function(pronoun_selection, pronoun) definitely fixed the error I was having, but right now, selecting pronouns in the character creator interacts with the displayables below the screen —i.e,...
by Hojoo
Sat Dec 31, 2022 7:32 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Using an Imagemap to set Pronouns?
Replies: 7
Views: 975

[Solved] Using an Imagemap to set Pronouns?

I've been trying to incorporate choosing player pronouns, but I'm getting stuck on trying to get it to work with hotspots in my character creator. Below is part of a imagemap using buttons to select pronoun options, and trying to call the function to select pronouns: hotspot( 66, 107, 16, 7) action ...
by Hojoo
Sat Dec 31, 2022 6:18 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How to sync Lip-Flap with Voiced Dialogue?
Replies: 1
Views: 771

Re: How to sync Lip-Flap with Voiced Dialogue?

Figured it out! Adding the line renpy.restart_interaction() under the callback function ends the lip-flap as soon as the text stops scrolling. init python: def main_callback(event, interact=True, **kwargs): if not interact: return if event == "show_done": renpy.sound.play("audio/torie...
by Hojoo
Fri Dec 30, 2022 7:01 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Using MatrixColor to create Hair Colors in Character Creator?
Replies: 1
Views: 1056

Re: Using MatrixColor to create Hair Colors in Character Creator?

It worked like this: The same default variables, but tints declared as defaults instead of with $ and adding the line define config.gl2 = True because matrixcolor requires gl2 to function: default hair = 1 default brows = 1 default nose = 1 default mouth = 1 default body_color = 1 default hair_color...
by Hojoo
Wed Nov 23, 2022 4:01 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Replace Call action with Function in Character Creator?
Replies: 11
Views: 653

Re: Replace Call action with Function?

Yeah, nested ConditionSwitch doesn't work, but combining conditions definitely does! You can also combine functions into one, so you don’t have to repeat some lines. Repeating lines are slightly annoying; how can these functions be combined , can it return multiple args? Regardless, everything is ot...
by Hojoo
Sat Nov 19, 2022 6:40 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Replace Call action with Function in Character Creator?
Replies: 11
Views: 653

Re: Replace Call action with Function?

[...] From documentation - Layered Images - Advice : [...] With the exception of the condition inside an if statement, all of the expressions in a layered images are run at init time. [...] I set it up like you said and it works almost perfectly! I've applied it to the rest of my chargen images: in...