Search found 32 matches

by StValentines
Fri Dec 17, 2021 11:24 pm
Forum: Ren'Py Questions and Announcements
Topic: Problems with changing images for renpy.variant("small")
Replies: 2
Views: 309

Problems with changing images for renpy.variant("small")

Hey everyone! I'm trying to visually optimize my game for Android. To this end, I'm using a variant of my custom textbox to give more space for text in the mobile version. The problem is, while the variant textbox works perfectly when I test by having Renpy emulate the game as it would run on an And...
by StValentines
Tue Jun 29, 2021 6:51 pm
Forum: Ren'Py Questions and Announcements
Topic: Multiple Text Inputs on Same Screen (and other misc text input woes)
Replies: 3
Views: 903

Re: Multiple Text Inputs on Same Screen (and other misc text input woes)

UPDATE: Okay so I messed around and got it working, with just a few changes. I'll admit I'm not sure which one actually fixed it. Thanks so much for your help!!!
by StValentines
Tue Jun 29, 2021 6:07 pm
Forum: Ren'Py Questions and Announcements
Topic: Multiple Text Inputs on Same Screen (and other misc text input woes)
Replies: 3
Views: 903

Re: Multiple Text Inputs on Same Screen (and other misc text input woes)

I just finished putting together a screen a bit like this myself! I'm still not the most experienced coder, but maybe you'd find this thread where I posted some of my code and got some tips about it helpful. My last comment in it has my updated code with multiple inputs working, including setting v...
by StValentines
Mon Jun 28, 2021 4:24 pm
Forum: Ren'Py Questions and Announcements
Topic: Multiple Text Inputs on Same Screen (and other misc text input woes)
Replies: 3
Views: 903

Multiple Text Inputs on Same Screen (and other misc text input woes)

Hey, slowly-learning Renpy noob here with another undoubtedly not-that-hard problem I can't figure out! Near the beginning of a game I'm working on, I have a screen for the player to select their anatomy, how they'll be referred to, and to name both the protagonist and the inn they run. Screenshot a...
by StValentines
Sat Apr 03, 2021 2:36 am
Forum: Ren'Py Questions and Announcements
Topic: Radio Buttons Selecting All Three Options
Replies: 1
Views: 288

Radio Buttons Selecting All Three Options

I'm including a number of customization options at the beginning of my visual novel. One such option is pronouns. There are three options, and since only one of the three is going to be selected, I figured a radio style would work fine. But in the game itself, all three text buttons are selected. I ...
by StValentines
Thu Feb 11, 2021 6:27 pm
Forum: Ren'Py Questions and Announcements
Topic: System for Pauses During Dialogue?
Replies: 6
Views: 490

Re: System for Pauses During Dialogue?

Alright, I managed to deal with some of the remaining difficulties. I added the ! and ?, then made it so if the code changes any periods as part of prefixes, it changes them back afterward. The code now: init python: def slow_punctuation(str_to_test): str_to_test = str_to_test return str_to_test.rep...
by StValentines
Thu Feb 11, 2021 5:53 pm
Forum: Ren'Py Questions and Announcements
Topic: System for Pauses During Dialogue?
Replies: 6
Views: 490

Re: System for Pauses During Dialogue?

Aw crap, also is there a way to exempt prefixes? Like I don't want it pausing every time someone says "Mr." or "Dr." or something.
by StValentines
Thu Feb 11, 2021 5:50 pm
Forum: Ren'Py Questions and Announcements
Topic: System for Pauses During Dialogue?
Replies: 6
Views: 490

Re: System for Pauses During Dialogue?

I was about to post saying I figured out the "ellipsis before period" thing, haha. I also changed the replaced versions to only affect the space after the punctuation, so there wasn't a visible pause before the punctuation itself showed up (and I adjusted the timing accordingly, since it's only slow...
by StValentines
Thu Feb 11, 2021 4:42 pm
Forum: Ren'Py Questions and Announcements
Topic: System for Pauses During Dialogue?
Replies: 6
Views: 490

Re: System for Pauses During Dialogue?

You could try changing the {w=} to a cps tag wrapping the relevant punctuation symbols... Basically slowing down the writing speed when doing those symbols... , becomes {cps=10},{/cps} You could even automate it by using say_menu_text_filter init python: def slow_punctuation(str_to_test): str_to_te...
by StValentines
Wed Feb 10, 2021 5:26 pm
Forum: Ren'Py Questions and Announcements
Topic: System for Pauses During Dialogue?
Replies: 6
Views: 490

System for Pauses During Dialogue?

Hello everyone! I want to create pauses in my dialogue at relevant punctuation to give the spoken dialogue a more natural cadence and pacing. Plenty of games do this (Phoenix Wright probably being the most notable example), and I'd like to do it in my game too. Right now, I've done it by adding a {w...
by StValentines
Tue Sep 22, 2020 5:46 pm
Forum: Ren'Py Questions and Announcements
Topic: Drag/Drop, Appending Lists, & Multiple Character Assignments
Replies: 2
Views: 366

Re: Drag/Drop, Appending Lists, & Multiple Character Assignments

Thanks so much! I tried implementing it, and I think it works, but I'll have to test it more thoroughly after I charge my laptop. One more question; does this provide a way for me to make their default positions on the drag/drip vary, too? I don't want empty spots for characters that aren't in the p...
by StValentines
Mon Sep 21, 2020 3:05 pm
Forum: Ren'Py Questions and Announcements
Topic: Drag/Drop, Appending Lists, & Multiple Character Assignments
Replies: 2
Views: 366

Drag/Drop, Appending Lists, & Multiple Character Assignments

This is gonna take some explaining, so thanks/sorry in advance. I'm working on a story-based travel sim. Each week of travel, the player chooses how they'll go about it, such as travel speed and what activities to focus, and the week plays out with a series of randomized events based on those choice...
by StValentines
Tue Sep 15, 2020 1:51 pm
Forum: Ren'Py Questions and Announcements
Topic: Returning Drags to their starting positions
Replies: 5
Views: 994

Re: Returning Drags to their starting positions

I know I'm a few years late to this, but I just wanted to say thank you so much for this. I'm working on a drag/drop interface for assigning characters to roles in a travel sim visual novel, and I'd had such a hard time finding a system that did what I need it to do. But this was PERFECT, and I got ...
by StValentines
Wed Apr 29, 2020 5:37 pm
Forum: Ren'Py Questions and Announcements
Topic: If Statements and Layered Images Help
Replies: 2
Views: 270

Re: If Statements and Layered Images Help

Do the expressions appear in the same place on the sprite if you build the layers in photoshop? Well that was part of the problem, turns out. Talking to my artist about your question unraveled a number of issues regarding how the bases and expressions interacted with each other, and we re-exported ...
by StValentines
Tue Apr 28, 2020 3:34 pm
Forum: Ren'Py Questions and Announcements
Topic: If Statements and Layered Images Help
Replies: 2
Views: 270

If Statements and Layered Images Help

There's a segment in my game where the protagonist can be dressed in one of a number of Halloween costumes. Since there's a side image whenever she speaks, we have a number of different base images in the layered sprite. So I've been trying to make a single layered image that changes the base sprite...