Search found 87 matches

by Kaji
Thu Apr 13, 2023 3:19 pm
Forum: Ren'Py Questions and Announcements
Topic: Character positioning doesn't work unless I already have them on the screen first?
Replies: 5
Views: 378

Re: Character positioning doesn't work unless I already have them on the screen first?

For context, the character images are 2160x2160 scaled down 50% at Zoom 1 (to better preserve resolution if magnified, like we're doing in this case), so at Zoom 2 they're taller than the screen. I originally tried positioning using *align , but I kept getting irregular results, hence the decision t...
by Kaji
Thu Apr 13, 2023 3:38 am
Forum: Ren'Py Questions and Announcements
Topic: Character positioning doesn't work unless I already have them on the screen first?
Replies: 5
Views: 378

Re: Character positioning doesn't work unless I already have them on the screen first?

...just noticed that the right and left are flipped on the labels for the transforms. Swapping the xpos values for them or changing the labels in any way causes them to not function at all, however—the characters simply disappear (only to appear when restored). This behavior is even surviving a forc...
by Kaji
Thu Apr 13, 2023 3:34 am
Forum: Ren'Py Questions and Announcements
Topic: Character positioning doesn't work unless I already have them on the screen first?
Replies: 5
Views: 378

Character positioning doesn't work unless I already have them on the screen first?

OK, so I've been working on setting up a way to have a larger version of a character model in the background as a "storyteller mode" of sorts when they are relating information to other characters. The transform code looks like the following: transform recollection: alpha 0.75 zoom 2 xpos ...
by Kaji
Sat Apr 08, 2023 4:11 pm
Forum: Ren'Py Questions and Announcements
Topic: Conditionals inside of layered images?
Replies: 1
Views: 243

Conditionals inside of layered images?

My artist has recently gotten a bit more ambitious with his designs, which is great, but it's led to a couple of questions. Specifically, we've kind of worked with a system where the head maintains the same size and position so that whatever else goes on the eyes and mouth can be swapped out as need...
by Kaji
Tue Mar 28, 2023 3:45 pm
Forum: Development of Ren'Py
Topic: Ren'Py Gripes
Replies: 556
Views: 601921

Re: Ren'Py Gripes

Hi, Tom! Getting ready to work on another new batch of Japanese scripts, so I was just wondering if there was an ETA for an update including the furigana syntax we discussed back in December so that I can plan accordingly. Thanks! Real soon now. Looking forward to it! From the practical tests I've ...
by Kaji
Thu Mar 16, 2023 7:47 pm
Forum: Ren'Py Questions and Announcements
Topic: Exception: Line with id appeared twice but I can't find it
Replies: 1
Views: 985

Re: Exception: Line with id appeared twice but I can't find it

Last line of the traceback:
Exception: Line with id 6c0c3176 appeared twice, at game/glitch_tag.rpy:1 and game/kinetic_text_tags.rpy:1.
Try looking in those files, first? Looks like it's a procedurally-generated ID, so maybe doing a forced recompile will fix it?
by Kaji
Thu Mar 16, 2023 5:21 pm
Forum: Development of Ren'Py
Topic: Ren'Py Gripes
Replies: 556
Views: 601921

Re: Ren'Py Gripes

Hi, Tom! Getting ready to work on another new batch of Japanese scripts, so I was just wondering if there was an ETA for an update including the furigana syntax we discussed back in December so that I can plan accordingly.

Thanks!
by Kaji
Thu Mar 16, 2023 1:51 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Flags are being tripped on screens that aren't being displayed
Replies: 6
Views: 464

Re: Flags are being tripped on screens that aren't being displayed

Update: That works! I already have custom screens named after their note tags, so no further reconfiguration necessary, thankfully. If anything, now I don't have to embed the "read this note" call into all of them individually.

Thanks again, Ocelot!
by Kaji
Thu Mar 16, 2023 1:43 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Flags are being tripped on screens that aren't being displayed
Replies: 6
Views: 464

Re: Flags are being tripped on screens that aren't being displayed

First obvious solution is to add an action to the button, which shows that screen: action [Show(translator_note, dissolve), Function(read_note, translator_note)] ← This will requre you to change id to be the same as translator_note or to get id from translator note (by dictionary lookupm for exampl...
by Kaji
Thu Mar 16, 2023 1:42 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Flags are being tripped on screens that aren't being displayed
Replies: 6
Views: 464

Re: Flags are being tripped on screens that aren't being displayed

Hmmm...OK, so simply tying it to the close action instead isn't working, it seems... screen goshounagi_explain(): # $ read_note('goshounagi_explain') ## Original method, commented out tag translator_note style_prefix "tn" modal True button: action [read_note('goshounagi_explain'), Hide(tra...
by Kaji
Thu Mar 16, 2023 1:34 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Flags are being tripped on screens that aren't being displayed
Replies: 6
Views: 464

Re: Flags are being tripped on screens that aren't being displayed

So I guess the question here is what is an implementation that allows for tripping the flag only when a screen is actually seen? Not sure how to reconfigure my setup based on that...wait, perhaps tying the trip event to the dismissal action for the modal would work?
by Kaji
Thu Mar 16, 2023 1:19 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Flags are being tripped on screens that aren't being displayed
Replies: 6
Views: 464

[SOLVED] Flags are being tripped on screens that aren't being displayed

I've built a "Translator's Notes" system into my game so that we can offer additional context on the stories to people who are interested. We want to make sure that they know when there's something they haven't read available, so I've implemented flags to ensure that the game knows whether...
by Kaji
Thu Jan 26, 2023 1:31 pm
Forum: Ren'Py Questions and Announcements
Topic: How to create a search box function with imagebuttons?
Replies: 11
Views: 1258

Re: How to create a search box function with imagebuttons?

Having set up a similar type of search system for an educational app I'm working on in RenPy, here are a couple insights that I've found helpful. 1. The screen refreshes with every event. So when the user clicks on something or types something into the box a refresh occurs. 2. Conditional logic can ...
by Kaji
Tue Jan 24, 2023 3:50 pm
Forum: Ren'Py Questions and Announcements
Topic: sqlite3 with Ren'py
Replies: 4
Views: 1564

Re: sqlite3 with Ren'py

Apologies for necroposting, but it's a continuation of this discussion. Similar issue, can't get SQLite to work, so decided to take the suggestion to use PyDBlite. Downloaded it and installed it in the game folder in the same manner outlined above. Importing it produces the following error: ModuleNo...
by Kaji
Thu Jan 19, 2023 8:20 pm
Forum: Ren'Py Questions and Announcements
Topic: How to pass variables in action Show("screen") ?
Replies: 3
Views: 3593

Re: How to pass variables in action Show("screen") ?

Found this while trying to do the same sort of thing this evening and was concerned because I was getting TypeError notices when trying it out, and I wasn't sure if I was seeing anything about this in the Screen Actions documentation or not. Was just about to post a question about it when I noticed ...