Search found 1499 matches

by Remix
Mon Oct 26, 2020 5:58 pm
Forum: Ren'Py Questions and Announcements
Topic: Dialogues and text in .zlib?
Replies: 3
Views: 63

Re: Dialogues and text in .zlib?

In order to protect the developers rights, Ren'Py does not offer simple solutions for unsanctioned translations (even for such old games) You could try: https://renpy.org/doc/html/translation.html#unsanctioned-translations You could even try contacting the developer to ask for original files. Just r...
by Remix
Mon Oct 26, 2020 5:50 pm
Forum: Ren'Py Questions and Announcements
Topic: Gallery Setup Trouble
Replies: 4
Views: 52

Re: Gallery Setup Trouble

Likely best to change the name you use for the Gallery, so it does not clash... init python: gal = Gallery() # or some other name that is not used elsewhere gal.button ("end1") gal.condition ("persistent.end1") # etc screen gallery2: # ... add gal.make_button("end1","end1small.jpg", locked = "lock.p...
by Remix
Sun Oct 25, 2020 12:55 pm
Forum: Ren'Py Questions and Announcements
Topic: Loading Images on Android builds
Replies: 2
Views: 46

Re: Loading Images on Android builds

The libraries used to read jpg images on Android are a bit more restrictive than those used on PC. You likely have a piece of exif data it dislikes or maybe some odd colour palette that is not Android acceptable. We found Photoshop to be the culprit on all of our unloadable images. Generally re-savi...
by Remix
Sat Oct 24, 2020 2:59 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Problems with Splinemotion
Replies: 5
Views: 182

Re: [Solved]Problems with Splinemotion

Just for info: The base code there was pretty old and the principle issues were about permissions for writing out a file with the motion values in it. Mostly it allows an easier visualization of bezier, allowing a developer to view and tweak a curve before adding it to a script. The principle altern...
by Remix
Sat Oct 24, 2020 1:54 pm
Forum: Ren'Py Questions and Announcements
Topic: Alternative to image_size in a CG Gallery
Replies: 4
Views: 72

Re: Alternative to image_size in a CG Gallery

You are creating your own thumbnails, so there is no overhead from dynamically resizing them in game. All good.
by Remix
Sat Oct 24, 2020 9:10 am
Forum: Ren'Py Questions and Announcements
Topic: Alternative to image_size in a CG Gallery
Replies: 4
Views: 72

Re: Alternative to image_size in a CG Gallery

You are not using that code. Your code defines each thumbnail as a physical file so does not use the dynamic resizing which might be slower. renpy.image_size is only (comparatively) slow because it has to read the file from disk... If you were using im.FactorScale (or any other method to scale) you ...
by Remix
Tue Oct 20, 2020 5:58 pm
Forum: Ren'Py Questions and Announcements
Topic: My variable is resetting to 0 on load or game close.
Replies: 9
Views: 173

Re: My variable is resetting to 0 on load or game close.

Even a pause 0.01 should do it, so if you have no other logical way around it you could theoretically call a label that incremented the variable, paused minutely and returned... (note that progression through labels should control game progression, not progression through screens... screens should r...
by Remix
Tue Oct 20, 2020 4:21 pm
Forum: Ren'Py Questions and Announcements
Topic: My variable is resetting to 0 on load or game close.
Replies: 9
Views: 173

Re: My variable is resetting to 0 on load or game close.

Note though that saving from a screen area (without an interaction) will not automatically update the variables value... Ren'Py only natively puts checkpoints at places in label flow that cause interactions... Perhaps close the screen, add a dialogue line and try saving after that is reached.
by Remix
Tue Oct 20, 2020 4:17 pm
Forum: Ren'Py Questions and Announcements
Topic: My variable is resetting to 0 on load or game close.
Replies: 9
Views: 173

Re: My variable is resetting to 0 on load or game close.

So, you start a new game and the value is 0 (as expected) You load a save and the value is 0 (we'd expect it to retain the value it was when the save was done, so this is possibly expected too). You've not confirmed the save holds a different value so we do not know. If you wanted it to maintain sta...
by Remix
Sun Oct 18, 2020 8:10 am
Forum: Ren'Py Questions and Announcements
Topic: Using multiple names for one character?
Replies: 7
Views: 339

Re: Using multiple names for one character?

Works perfectly here so I presume you changed things when you tried it.
If you want to test, just try it in a fresh project.
by Remix
Sat Oct 17, 2020 6:26 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Sounds for image gallery buttons
Replies: 2
Views: 146

Re: Sounds for image gallery buttons

make_button() allows a style=style_name property and passes through **kwargs to Button so you could either pass a named style and add the hover_sound and activate_sound to that (likely best as you could also put your aligns there) or pass them as keyword arguments... style gallery_button is empty: a...
by Remix
Sat Oct 17, 2020 5:20 am
Forum: Ren'Py Questions and Announcements
Topic: Using multiple names for one character?
Replies: 7
Views: 339

Re: Using multiple names for one character?

As anonymouse says, you do not really need a function to adjust the name. I would though suggest using a dynamic character to adjust the name... default pc_name = _("Bob") ## the _() sets it for translation define pc = Character("[pc_name]") # use [] interpolation to make this character dynamic labe...
by Remix
Thu Oct 08, 2020 6:19 pm
Forum: Ren'Py Questions and Announcements
Topic: how to use Call() and return with from_current
Replies: 2
Views: 172

Re: how to use Call() and return with from_current

*args is a python thing for arbitrary positional arguments **kwargs is similar for arbitrary keyword arguments For your case, you'd want renpy.call('show_interface', from_current=True) or (if you need an Action for a button) Function( renpy.call, 'show_interface', from_current=True ) thus passing in...
by Remix
Tue Oct 06, 2020 12:18 pm
Forum: Ren'Py Questions and Announcements
Topic: Help with circular movement.
Replies: 2
Views: 192

Re: Help with circular movement.

The first is circular motion which involves five steps: Start point End point Rotational centre Direction (as this is a keyword it is not easy to set as a parameter) Number of loops Example transform spin_counterclockwise(start, end, centre, loops, duration): subpixel True around centre ## even thou...
by Remix
Fri Oct 02, 2020 3:15 pm
Forum: Ren'Py Questions and Announcements
Topic: Two types of menu
Replies: 2
Views: 221

Re: Two types of menu

Easiest is to duplicate screen choice using different names... Then specify the screen in the menu syntax... screen alternative_choice(items): style_prefix "choice" vbox: for i in items: textbutton i.caption action i.action label start: menu (screen="alternative_choice"): "Choice A": pass Style/twea...