Search found 36 matches

by komehara
Tue Feb 20, 2024 11:43 am
Forum: Ren'Py Questions and Announcements
Topic: Self-answered: fix extra Space / Enter / Click needed after voice track ended to continue to next text block
Replies: 0
Views: 295

Self-answered: fix extra Space / Enter / Click needed after voice track ended to continue to next text block

I was about to ask this then found the solution, so I'll just drop it here for others, StackExchange-style. I had an issue where I would have to press Space / Enter / Click twice to after a voice track ended to continue to the next text block. Solution In fact, the voice track had unwanted silence a...
by komehara
Sat Feb 17, 2024 11:53 am
Forum: Ren'Py Questions and Announcements
Topic: Need to delete both persistent files (app data and dev saves folder) to reset player Preferences
Replies: 1
Views: 341

Need to delete both persistent files (app data and dev saves folder) to reset player Preferences

Apparently Preferences are stored in the persistent data file (this is unfortunately not told explicitly in https://www.renpy.org/doc/html/persistent.html, this should probably be). I deleted the one in my local project dev game/saves/folder, but it didn't reset my preferences (I did it with game cl...
by komehara
Sat Feb 17, 2024 11:45 am
Forum: Ren'Py Questions and Announcements
Topic: Ren'Py Sync
Replies: 2
Views: 2694

Re: Ren'Py Sync

Erm, I'm not sure if I understand the OP's request as they give the example themselves, but in my case I know I had a hard time finding how to use the new Renpy Sync feature. Searching "upload sync" on search engine gave no example, I had to search manually on Lemmasoft to find this page w...
by komehara
Mon Jan 29, 2024 1:50 pm
Forum: Ren'Py Questions and Announcements
Topic: How to hide window and character sprite simultaneously (in parallel)
Replies: 1
Views: 548

How to hide window and character sprite simultaneously (in parallel)

I found how to hide a window (in my case the NVL box) with dissolve: window hide dissolve and also a character sprite: hide character with Dissolve(0.25) I also know how to apply a transition like dissolve to multiple character sprites: hide character1 hide character2 with Dissolve(0.25) However, I ...
by komehara
Tue Jan 09, 2024 1:34 pm
Forum: Ren'Py Questions and Announcements
Topic: Setting _game_menu_screen dynamically
Replies: 2
Views: 33384

Re: Setting _game_menu_screen dynamically

Interesting, I found a very similar code in an old game project but written differently, I can't remember if it was inspired by this thread of if I had found a similar solution on my own, which would explain the subtle differences in code. Anyway, the big difference is that I made it a Preference. I...
by komehara
Wed Jan 03, 2024 10:31 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Increasing window size or toggling fullscreen shows unwanted grid lines at regular interval (bad 9-slice frame)
Replies: 1
Views: 12937

Re: Increasing window size or toggling fullscreen shows unwanted grid lines at regular intervals on screen (web, standal

So I found the cause to be a custom Frame image that surrounds the whole screen. I defined it using custom Borders like this: define gui.ingame_frame_borders = Borders(43, 44, 43, 44) to match *exactly* the size of the left/top/right/bottom edges of the 9-slice texture: 2024-01-03 Fix grid lines - a...
by komehara
Wed Jan 03, 2024 9:22 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Increasing window size or toggling fullscreen shows unwanted grid lines at regular interval (bad 9-slice frame)
Replies: 1
Views: 12937

[SOLVED] Increasing window size or toggling fullscreen shows unwanted grid lines at regular interval (bad 9-slice frame)

Hello, When building a Renpy 8.1.3 game for web (always), and in standalone whenever I increase the window size beyond the base resolution 1080p, including when toggling fullscreen to my monitor native resolution 1440p, OR I shrink it to a lower resolution, I noticed glitchy grid lines appearing at ...
by komehara
Mon Jan 01, 2024 2:09 pm
Forum: Ren'Py Questions and Announcements
Topic: Hyperlink text: preserve font family of containing text
Replies: 0
Views: 41984

Hyperlink text: preserve font family of containing text

I found out that all hyperlinks were using some default sans-serif font in the middle of my serif interface text (e.g. the About page). I found this style in screens.rpy: style hyperlink_text: properties gui.text_properties("hyperlink", accent=True) hover_underline True so I decided to ove...
by komehara
Sun Dec 24, 2023 12:49 pm
Forum: Ren'Py Questions and Announcements
Topic: Neutral ATL transform aka Identity transform (to use as default argument)
Replies: 0
Views: 41956

Neutral ATL transform aka Identity transform (to use as default argument)

I'm passing an ATL transform to a parameter label so I can customise the way I display a BG image: label show_bg(bg_name, tr=None): show expression "bg " + bg_name at tr However, I noticed that my default value of None causes an error: TypeError: 'NoneType' object is not callable So, the m...
by komehara
Sun Dec 24, 2023 10:25 am
Forum: Ren'Py Questions and Announcements
Topic: Flag indicating development vs release - stripping debug code / debug room from packaged build
Replies: 2
Views: 15771

Flag indicating development vs release - stripping debug code / debug room from packaged build

I put a "debug room" label at the start of my game that allows devs to warp to any chapter/scene of the game in one click. However, I need to remember to disable it before game release. Is there any flag I can use to verify whether I'm testing the game via Renpy Launcher for development, o...
by komehara
Wed Dec 20, 2023 7:09 am
Forum: Ren'Py Questions and Announcements
Topic: ChromeOS platform check: Android vs Linux app and self-voicing support
Replies: 1
Views: 2902

ChromeOS platform check: Android vs Linux app and self-voicing support

https://www.renpy.org/doc/html/self_voicing.html says: Self-voicing mode is not supported on Android, iOS, or Chrome OS. https://www.renpy.org/doc/html/chromeos.html says that the game can be run as an Android or Linux app on Chrome OS. Finally, https://www.renpy.org/doc/html/screens.html explains t...
by komehara
Wed Dec 20, 2023 6:22 am
Forum: Ren'Py Questions and Announcements
Topic: NVL: show full page by enabling no-wait {nw} / auto-continue on every block until next `nvl clear`
Replies: 5
Views: 5949

Re: NVL: show full page by enabling no-wait {nw} / auto-continue on every block until next `nvl clear`

Thanks, this should fully work with comments, with the advantage, like my previous "multi\n\nline\n\nstring", to display at once on screen, unlike chaining paragraphs ending with "{nw}". This offers two advantages over "{nw}": 1. When setting text speed to max, the whol...
by komehara
Sat Dec 16, 2023 2:21 pm
Forum: Ren'Py Questions and Announcements
Topic: NVL: show full page by enabling no-wait {nw} / auto-continue on every block until next `nvl clear`
Replies: 5
Views: 5949

Re: NVL: show full page by enabling no-wait {nw} / auto-continue on every block until next `nvl clear`

No, I didn't know it. I must have read the doc too fast, it's indicated at the end of https://www.renpy.org/doc/html/dialogue.html#monologue-mode So I tried this: # Disable monologue break rpy monologue none label start: """ text1 text2 text3 """ and it works, thanks! T...
by komehara
Sat Dec 16, 2023 2:09 pm
Forum: Ren'Py Questions and Announcements
Topic: How to make NVL text fade/dissolve in paragraphs at a time
Replies: 3
Views: 4890

Re: How to make NVL text fade/dissolve in paragraphs at a time

I opened a new thread to tackle the specific question of checking whether the last command displayed a text block indeed: viewtopic.php?p=564614