Search found 2402 matches

by Ocelot
Tue Mar 05, 2024 12:45 pm
Forum: Ren'Py Questions and Announcements
Topic: Half a second of a checkerboard screen before the video starts...
Replies: 5
Views: 195

Re: Half a second of a checkerboard screen before the video starts...

You can use a start_image parameter to provide an image which is shown after scene statement executesm but before video starts playing. If you use first frame of your video as that image, it might look better. Another way is only remove old images after movie starts playing.
by Ocelot
Tue Mar 05, 2024 11:49 am
Forum: Ren'Py Questions and Announcements
Topic: Half a second of a checkerboard screen before the video starts...
Replies: 5
Views: 195

Re: Half a second of a checkerboard screen before the video starts...

What you wrote is equivalent to: # scene something is just a shortcut for writing both scene and show statement. scene # clears screen show movie # shows movie WHEN IT LOADS AND DECODES THE FIRST FRAME. Which might take time. You can use scene black fowwlowed by show movie to show black screen befor...
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: 270

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: 270

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: 665

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: 359

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: 359

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: 710

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: 710

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: 426

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: 426

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: 710

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: 389

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: 1017

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...