Search found 2384 matches

by Ocelot
Tue Mar 26, 2024 3:53 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved?] Can't stop errant sound playing after a save load
Replies: 10
Views: 181

Re: Can't stop errant sound playing after a save load

By the way, there is not function "renpy.sound.stop()", but I guess that's just a typo, right? There... is? https://www.renpy.org/doc/html/audio.html#renpy.music.stop Most renpy.music functions have aliases in renpy.sound . These functions are similar, except they default to the sound cha...
by Ocelot
Tue Mar 26, 2024 4:27 am
Forum: Ren'Py Questions and Announcements
Topic: [solved] Using videos as button?
Replies: 4
Views: 118

Re: Using videos as button?

A modified version of your approach seems to work: screen video_test_screen: default ap = 0.0 button: action NullAction() hovered SetScreenVariable("ap", 1) unhovered SetScreenVariable("ap", 0) has fixed fit_first True add "video idle" add "video hover": alpha...
by Ocelot
Tue Mar 26, 2024 4:21 am
Forum: Ren'Py Questions and Announcements
Topic: [solved] Using videos as button?
Replies: 4
Views: 118

Re: Using videos as button?

Interesting. Defining videos as image video_idle: animation Movie(play="images/MOV_Achenar_Page_00.mp4") and using them as background / hover_background works with a single caveat: hover video is only started when button is hovered for the first time. Then it is played uninterrupted as int...
by Ocelot
Tue Mar 26, 2024 3:17 am
Forum: Ren'Py Questions and Announcements
Topic: Quest System Screen Problem
Replies: 2
Views: 102

Re: Quest System Screen Problem

Is, by any chance, your quest overview screen a part of the game menu (the one you get when you press ESC)?
by Ocelot
Thu Mar 21, 2024 3:14 am
Forum: Ren'Py Questions and Announcements
Topic: Label as main menu background
Replies: 5
Views: 202

Re: Label as main menu background

You cannot simply add random code and expect it to work. ATL has different syntax from both RenPy script and SL, so you'll need more complex approach. This, for example will change bachground from red to green and back every 3 seconds: init python: def change_image(trans, st, at): if (at // 3) % 2 =...
by Ocelot
Wed Mar 20, 2024 3:52 pm
Forum: Ren'Py Questions and Announcements
Topic: Label as main menu background
Replies: 5
Views: 202

Re: Label as main menu background

a) Use timers that change varable controlling current image.
b) CDD which change rendered image based on elapsed time
c) Potentially ATL animation which has a funtcion statement changing child of transform.
by Ocelot
Wed Mar 20, 2024 4:49 am
Forum: Ren'Py Questions and Announcements
Topic: Label as main menu background
Replies: 5
Views: 202

Re: Label as main menu background

If main_menu label exist, it will be executed, instead of showing the main menu screen. Note that you will be responsible for shwing and handling all menu screens in this case.
An alternative approach is to convert you code into a screen and use that instead.
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: 214

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

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

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

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

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

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