Search found 1551 matches

by Remix
Sun Feb 28, 2021 8:05 am
Forum: Ren'Py Questions and Announcements
Topic: How to execute this Python code using button action?
Replies: 10
Views: 215

Re: How to execute this Python code using button action?

Note too that most of the larger game distribution hubs (play/steam/itch etc) have their own updaters built in and they will do a much better job. If you are pursuing this your way, you should be thinking about running all this in a background thread anyway. You do not want to lock up your game whil...
by Remix
Thu Feb 11, 2021 5:36 pm
Forum: Ren'Py Questions and Announcements
Topic: System for Pauses During Dialogue?
Replies: 6
Views: 236

Re: System for Pauses During Dialogue?

Edited example to do ellipsis before period (so one does not also find the other)

You might also want to add in the usual ! and ? punctuation.
by Remix
Wed Feb 10, 2021 7:17 pm
Forum: Ren'Py Questions and Announcements
Topic: System for Pauses During Dialogue?
Replies: 6
Views: 236

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_tes...
by Remix
Sun Feb 07, 2021 6:30 am
Forum: Ren'Py Questions and Announcements
Topic: Automatic Voice for two languages?
Replies: 4
Views: 261

Re: Automatic Voice for two languages?

tlid is basically just the {id} and I guess stands for TransLation IDentifier or somesuch. Best bet then is to write a function to do your thing... init python: def get_auto_voice_file_name(id): ### id is passed in automatically ## normal filename filename = "voice/{id}.ogg".format(id=id) if _prefer...
by Remix
Sat Feb 06, 2021 10:18 pm
Forum: Ren'Py Questions and Announcements
Topic: Automatic Voice for two languages?
Replies: 4
Views: 261

Re: Automatic Voice for two languages?

Like images etc, it should work by copying the ./voice/ ogg files into a ./tl/language/voice/ folder... If it finds the right name there it should use that... Alternatively config.auto_voice = "voice/{language}/{id}.ogg" might work... (do a "show screen _auto_voice" to test what file it is looking f...
by Remix
Fri Feb 05, 2021 8:03 pm
Forum: Ren'Py Questions and Announcements
Topic: Solved: "Requested parameter has no value" on a choice menu
Replies: 2
Views: 220

Re: "Requested parameter has no value" on a choice menu

Have you altered screen choice to require a parameter named clues?
by Remix
Fri Feb 05, 2021 2:26 pm
Forum: Ren'Py Questions and Announcements
Topic: Translate dialog in other files
Replies: 2
Views: 203

Re: Translate dialog in other files

For example: arg.rpy default novar = "no bob" default argvar = _("bob") init python: pynovar = "py no bob" pyargvar = _("py bob") Generate Translations >> tl/de/arg.rpy translate de strings: # game/arg.rpy:2 old "bob" new "bob" # game/arg.rpy:7 old "py bob" new "py bob" Note how it has skipped all t...
by Remix
Fri Feb 05, 2021 2:16 pm
Forum: Ren'Py Questions and Announcements
Topic: Translate dialog in other files
Replies: 2
Views: 203

Re: Translate dialog in other files

How are you declaring the text?

If it is in .rpy files and wrapped in _() the translation system should pick it up when generating translations
by Remix
Thu Feb 04, 2021 6:37 am
Forum: Ren'Py Questions and Announcements
Topic: Live2D Cubism u'FileReferences' error
Replies: 1
Views: 339

Re: Live2D Cubism u'FileReferences' error

Does your test.model3.json have a test.moc3 in the same folder? In notepad or whereever, if you open test.model3.json, is there a section called FileReferences? The model3 json should start with something like: { "Version": 3, "FileReferences": { "Moc": "test.moc3", "Textures": [ "test_t04.2048/text...
by Remix
Wed Feb 03, 2021 2:58 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Choice menu, tooltip and translation problem
Replies: 5
Views: 425

Re: Choice menu and translation problem

screen choice(items): default choice_context=None style_prefix "choice" vbox: for i in items: textbutton i.caption: action i.action # All buttons have tooltips, ones with an actual (tooltip= ) attribute use that, others use None hovered SetScreenVariable("choice_context", i.kwargs.get('tooltip', No...
by Remix
Wed Feb 03, 2021 8:04 am
Forum: Ren'Py Questions and Announcements
Topic: Atl matrixcolor animation(bug?)
Replies: 1
Views: 759

Re: Atl matrixcolor animation(bug?)

Glad you got this working (and kudos on being brave enough to delve into the glsl shader world) Just a couple of notes: It would have worked if you were changing from a TintMatrix to a TintMatrix rather than IdentityMatrix to TintMatrix transform tintin: matrixcolor TintMatrix("#FFF") ## FFF is effe...
by Remix
Wed Feb 03, 2021 7:29 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Choice menu, tooltip and translation problem
Replies: 5
Views: 425

Re: Choice menu and translation problem

Sub-note: You would likely do a bit better using choice attributes to pass the tooltip in (if using modern Ren'Py) "I'm okay for now." (tooltip = _("NOT recommended for players on their first run.") ): If the hacky fix above does not work, just ask for advice on implementing choice attributes... the...
by Remix
Wed Feb 03, 2021 7:24 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Choice menu, tooltip and translation problem
Replies: 5
Views: 425

Re: Choice menu and translation problem

I am guessing that the translation occurs after the test Basically that i.caption is in the None language (English) up until it is displayed. So it splits "I'm okay for now. | NOT recommended for players on their first run." then looks for a translation for each side separately, does not find just "...
by Remix
Sun Jan 31, 2021 8:24 am
Forum: Ren'Py Cookbook
Topic: Renpy Live2D Tutorial for Renpy 7.4.0
Replies: 15
Views: 1586

Re: Renpy Live2D Tutorial for Renpy 7.4.0

In the interim before updating to 7.4.2 you could just rename the ./motion/ folder to ./motions/ if motions and expressions are not defined in the model3.json file: 7.4.0 and 7.4.1 -- Ren'Py will look in a subfolder called exactly "motions" (with an s) 7.4.2 -- Ren'Py will look through all files in ...
by Remix
Sun Jan 31, 2021 5:25 am
Forum: Ren'Py Questions and Announcements
Topic: Different textbox position depending on the situation
Replies: 6
Views: 368

Re: Different textbox position depending on the situation

Alex wrote:
Thu Jan 28, 2021 4:10 pm

Why it's not in a cookbook?...))
On the agenda at some point... time permitting...

Did hope to add several more snippets and then start a cookbook like Tom's one (just a listing of them all in one thread, updated when new ones appear)...