Search found 7 matches

by Captain Monocle
Fri Aug 13, 2021 5:52 pm
Forum: Ren'Py Questions and Announcements
Topic: About Renpy documentation
Replies: 5
Views: 1539

Re: About Renpy documentation

Yes!! It's the screen language. Could you help me, please? Is it possible to create functions with them? And if so, how to create them and use them in labels? I'm not clear on what you mean by "create functions". If we're speaking of Python, screen actions can call/run a function, but can...
by Captain Monocle
Sun Aug 08, 2021 1:12 am
Forum: Ren'Py Questions and Announcements
Topic: Inconsistent and Flashing Hover Images/Animations
Replies: 8
Views: 1266

Re: Inconsistent and Flashing Hover Images/Animations

Try adding selected_hover and selected_idle to your ATL events, maybe?

For example:

Code: Select all

transform circle_button:
    on idle, selected_idle:
        # Your idle ATL
    on hover, selected_hover:
        # Your hover ATL
by Captain Monocle
Sat Aug 07, 2021 1:43 pm
Forum: Ren'Py Questions and Announcements
Topic: Is there an easier way to have a variable that updates itself if multiple conditions are met?
Replies: 1
Views: 1097

Re: Is there an easier way to have a variable that updates itself if multiple conditions are met?

I'd make the check a Python function so you can reuse it quickly, but otherwise there not really a faster approach as far as I know. There are alternative ways to organize your conditional statements, but ultimately it might not change much. For example, you could have all your conditions in lists/d...
by Captain Monocle
Sat Aug 07, 2021 12:01 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Voice bleeps playing infinitely in built projects
Replies: 2
Views: 1473

Re: Voice bleeps playing infinitely in built projects

It would seem to me you are using an outdated cookbook entry from the deprecated Ren'py documentation. I'd suggest using the updated example here to see if that resolves the issue: https://www.renpy.org/doc/html/character_callbacks.html
by Captain Monocle
Sat Aug 07, 2021 11:50 am
Forum: Ren'Py Questions and Announcements
Topic: About Renpy documentation
Replies: 5
Views: 1539

Re: About Renpy documentation

The documentation has a few distinct categories related to specific purposes, for example the Ren'py scripting documentation vs screen language, vs styles, etc. So the question is this; what part of the documentation causes you trouble? Can you show an example of something you were not able to under...
by Captain Monocle
Sat Aug 07, 2021 1:47 am
Forum: Ren'Py Questions and Announcements
Topic: Inconsistent and Flashing Hover Images/Animations
Replies: 8
Views: 1266

Re: Inconsistent and Flashing Hover Images/Animations

What do you mean when you say "once the button is hidden"?
How is it hidden/shown in your code?
by Captain Monocle
Fri Aug 06, 2021 2:04 pm
Forum: Ren'Py Questions and Announcements
Topic: Inconsistent and Flashing Hover Images/Animations
Replies: 8
Views: 1266

Re: Inconsistent and Flashing Hover Images/Animations

Try defining each "state" as its own image like this: image circle_hovered: "gui/circlesmall_hover.png" linear 0.5 zoom 1.1 image circle_unhovered: zoom 1.1 "gui/circlesmall_idle.png" linear 0.5 zoom 1.0 image circle_small: on idle: "circle_unhovered" on hover...