Search found 9 matches

by Dark79
Mon Oct 24, 2022 5:30 am
Forum: Ren'Py Questions and Announcements
Topic: Patching Game, New Variables, Save Compatibility.
Replies: 2
Views: 104

Re: Patching Game, including new Variables

Ocelot wrote:
Mon Oct 24, 2022 5:26 am
Yes. they would. default will create variable if it does not exist when starting a new game or loading a saved game. This is exactly why they are suggested over simply initializing variables or creating them just after start.
Thank you for the quick response! :D
by Dark79
Mon Oct 24, 2022 5:24 am
Forum: Ren'Py Questions and Announcements
Topic: Patching Game, New Variables, Save Compatibility.
Replies: 2
Views: 104

Patching Game, New Variables, Save Compatibility.

Hello there, I have a question regarding the save compatibly when the new patch contains new added variables. My main concern is about "default" like default NewVariable = 0 type variables. For example the new game version is 1.02 contains the new variables. Will they work fine after loading a save ...
by Dark79
Wed Dec 15, 2021 4:29 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Issue with "renpy.focus_coordinates()"
Replies: 4
Views: 324

Re: [Solved]Issue with "renpy.focus_coordinates()"

Because you are using a screen variable (rather than global) we need to target the screen itself... so renpy.current_screen().scope["screen variable name"] is what we use there. We use renpy.restart_interaction() at the end to effectively just redraw the screen, so the text "Coordinates - [button_x...
by Dark79
Wed Dec 15, 2021 2:55 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Issue with "renpy.focus_coordinates()"
Replies: 4
Views: 324

Re: Issue with "renpy.focus_coordinates()"

The value of a screen action is evaluated when the screen is shown (not when the click occurs) You could maybe do it through a Function call... init python: def set_button_xpos(): cs = renpy.current_screen() if cs is None: return cs.scope["button_xpos"] = renpy.focus_coordinates()[0] renpy.restart_...
by Dark79
Wed Dec 15, 2021 1:52 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Issue with "renpy.focus_coordinates()"
Replies: 4
Views: 324

[Solved]Issue with "renpy.focus_coordinates()"

Hi everyone, I am trying to use renpy.focus_coordinates() function in screens language but it doesn't work the way as I assumed it would. It says- This attempts to find the coordinates of the currently-focused displayable. If it can, it will return them as a (x, y, w, h) tuple. If not, it will retur...
by Dark79
Wed Jul 28, 2021 10:20 pm
Forum: Ren'Py Questions and Announcements
Topic: ATL animation within layeredimage resets
Replies: 1
Views: 665

ATL animation within layeredimage resets

Hi everyone, First of all sorry for my English is not my first language. I have noticed that while using layeredimage the images that have ATL attached will keep resetting the animations each time I show a layeredimage or when changing attribute. I tried to use https://www.renpy.org/doc/html/atl.htm...
by Dark79
Mon Jul 26, 2021 6:25 pm
Forum: Ren'Py Questions and Announcements
Topic: Layered images with a trasition problem
Replies: 0
Views: 1895

Layered images with a trasition problem

Hello everyone,

Is it possible to change bust's expressions with a transition within the layered images?

Within LiveComposite I can use TransitionConditionSwitch to change expressions with a transition. I wonder if there is a similar approach for the layered images.
by Dark79
Wed Apr 21, 2021 1:49 pm
Forum: Ren'Py Questions and Announcements
Topic: Automatic transitions in layered images(Problem)
Replies: 0
Views: 706

Automatic transitions in layered images(Problem)

Hello everyone, I started using layered images and so far I like how it works compared to LiveComposite. I would like to use it for all my future projects since, but I've come across a problem. I seem to have a hard time putting transitions inside a layered image. I'd rather not write "with dissolve...