Search found 2400 matches

by Ocelot
Fri Mar 01, 2024 10:09 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Need to know how to put text in drag image
Replies: 4
Views: 264

Re: Need to know how to put text in drag image

https://www.renpy.org/doc/html/drag_drop.html#examples The first example has two displayables within a window. In your case I suspect it will look something liek: # . . . draggroup: drag: fixed: fit_first True add "some image" text "Some Image" align (0.5, 0.5)
by Ocelot
Fri Mar 01, 2024 9:27 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Need to know how to put text in drag image
Replies: 4
Views: 264

Re: Need to know how to put text in drag image

Drag takes an arbitrary displayable, so you can pu a fixed containing your image and text
by Ocelot
Thu Feb 29, 2024 4:29 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]How to change a variable in a animation using a imagebutton?
Replies: 14
Views: 645

Re: How to change a variable in a animation using a imagebutton?

In short, it isn't possible. TransitionAnimation oficially does not support changing its parameters once created. In addition, TransitionAnimation itself is not supported anymore and its entry in documentation is deleted.
by Ocelot
Wed Feb 28, 2024 3:43 am
Forum: Ren'Py Questions and Announcements
Topic: Why Are All Groups Being Affected in My LayeredImage?
Replies: 4
Views: 351

Re: Why Are All Groups Being Affected in My LayeredImage?

when offset is applied to inner image, it partially moves outside of image boundaries, changing them. This makes whole image be repositioned. For example if you aligned your image around 0.5, 0.5, after first line of animation it will move 2 pixels to the bottom-left.
by Ocelot
Tue Feb 27, 2024 8:55 am
Forum: Ren'Py Questions and Announcements
Topic: Why Are All Groups Being Affected in My LayeredImage?
Replies: 4
Views: 351

Re: Why Are All Groups Being Affected in My LayeredImage?

Is "bg1" by any chance the same size as "panel01"?
by Ocelot
Sun Feb 25, 2024 4:55 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Help making a slider bar to change the Save/Load page
Replies: 14
Views: 690

Re: Help making a slider bar to change the Save/Load page

Bar takes thumb property: https://www.renpy.org/doc/html/style_pr ... erty-thumb
It is a displayable which is used for, well, bar thumb. You can define any displayable and use it there.
by Ocelot
Sun Feb 25, 2024 4:36 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Help making a slider bar to change the Save/Load page
Replies: 14
Views: 690

Re: Help making a slider bar to change the Save/Load page

When defining displayable for a bar thumb, add yalign=0.5 to make it centered on a bar. Or play with yoffset property to control position manually.
by Ocelot
Sun Feb 25, 2024 4:29 pm
Forum: Ren'Py Questions and Announcements
Topic: pause delay does not work when loading save
Replies: 6
Views: 417

Re: pause delay does not work when loading save

IIRC Renpy fast-forwardsuntil it finds a place requiring interaction from player. The better way would probably be to make animation as an ATL script and display it before loop. image eileen sad = Placeholder() image eileen happy = Placeholder() image eileen waiting: "eileen sad" 1.0 "...
by Ocelot
Sun Feb 25, 2024 3:27 pm
Forum: Ren'Py Questions and Announcements
Topic: pause delay does not work when loading save
Replies: 6
Views: 417

Re: pause delay does not work when loading save

Link does not work. You probably have created a private github repo instead of public one.
by Ocelot
Sun Feb 25, 2024 3:27 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Help making a slider bar to change the Save/Load page
Replies: 14
Views: 690

Re: Help making a slider bar to change the Save/Load page

If you are using f-strings, then f'{FilePageName()]:0>2} / 99' will show you page number padded with leading zeroes to be two wide. You can set bar's released or even changed properties to invoke FilePage action to set page you want. https://www.renpy.org/doc/html/screens.html#bar https://www.renpy....
by Ocelot
Sat Feb 24, 2024 2:10 pm
Forum: Ren'Py Questions and Announcements
Topic: Is it possible to rollback past a pause?
Replies: 6
Views: 381

Re: Is it possible to rollback past a pause?

Does rollback with mousewheel works?
If so, you just have say screen hidden. IIRC pause statement might hide it.
by Ocelot
Thu Feb 22, 2024 9:46 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Creating a loop that searches a specific variable
Replies: 8
Views: 1013

Re: [Solved]Creating a loop that searches a specific variable

This depends on your code. Maybe you are changing external list which is not used by switch. Maybe you are changing it by something not restarting interaction. Maybe something else...
by Ocelot
Thu Feb 22, 2024 2:53 am
Forum: Ren'Py Questions and Announcements
Topic: renpy.count_seen_dialogue_blocks() always returns 0
Replies: 5
Views: 190

Re: renpy.count_seen_dialogue_blocks() always returns 0

Yes. Because they are dialogue blocks. 14 of them. Python code are not dialogue blocks. Jump statement are not dialogue blocks.
by Ocelot
Sat Feb 17, 2024 12:36 pm
Forum: Ren'Py Questions and Announcements
Topic: Darken all but part of the screen
Replies: 3
Views: 559

Re: Darken all but part of the screen

Your first problem is that you are creating trasparent image and posing it over transparent canvas. You need to work backwards: pose a opaque image over transparent canvas and use it in AlphaMask inverted You code can work if you make Solid in highlight opaque and add invert=True to the AlphaMask ca...