Search found 2376 matches

by Ocelot
Wed Mar 13, 2024 3:32 am
Forum: Ren'Py Questions and Announcements
Topic: Strategy for distribution of large games (> 5GB)?
Replies: 5
Views: 193

Re: Strategy for distribution of large games (> 5GB)?

We regularly get over 1,200 downloads for each released version, so transfer charges are a definite concern. We already got hit with a (extremely) huge fee when distributing files using Gofile one release. We're using anonymous transfers now, but it involves manually downloading every file occasion...
by Ocelot
Fri Mar 08, 2024 6:14 am
Forum: Ren'Py Questions and Announcements
Topic: Layeredimage dynamic image name. NameError
Replies: 3
Views: 160

Re: Layeredimage dynamic image name. NameError

yea, I tried it, but get attribute error. NoneType have no attribute 'style'. looks like it's cant find right image or something like that. That is another problem and is likely one you should be solving instead. I'm actually curious now about how to refactor the class to make getters for every fie...
by Ocelot
Fri Mar 08, 2024 2:37 am
Forum: Ren'Py Questions and Announcements
Topic: Layeredimage dynamic image name. NameError
Replies: 3
Views: 160

Re: Layeredimage dynamic image name. NameError

is there any new rules for that? can't find anything in changelogs https://www.renpy.org/dev-doc/html/incompatible.html#incompatible-7-7-0 Interpolation Changes Interpolations in strings are now treated as Python expressions, this results in mostly equivelent behaviour when interpreting fields exce...
by Ocelot
Thu Mar 07, 2024 1:27 pm
Forum: Ren'Py Questions and Announcements
Topic: Strategy for distribution of large games (> 5GB)?
Replies: 5
Views: 193

Re: Strategy for distribution of large games (> 5GB)?

You can rent a cheap VPS with 1TB of storage space and 1Gb/s connection at 10€/month. Usually you get severals Tb of data for free and then you have to pay 1-3€ per Tb (which in your case is about 120 downloads). Another option is to use peer-to-peer distribution and all the distributed power of Bit...
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: 142

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

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

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

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

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

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

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

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

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

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