Search found 2384 matches
- 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: 11
- Views: 210
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...
- Tue Mar 26, 2024 4:27 am
- Forum: Ren'Py Questions and Announcements
- Topic: [solved] Using videos as button?
- Replies: 5
- Views: 150
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...
- Tue Mar 26, 2024 4:21 am
- Forum: Ren'Py Questions and Announcements
- Topic: [solved] Using videos as button?
- Replies: 5
- Views: 150
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...
- Tue Mar 26, 2024 3:17 am
- Forum: Ren'Py Questions and Announcements
- Topic: Quest System Screen Problem
- Replies: 3
- Views: 139
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)?
- Thu Mar 21, 2024 4:37 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to add opening movie to visual novel
- Replies: 1
- Views: 134
- 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 =...
- 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.
b) CDD which change rendered image based on elapsed time
c) Potentially ATL animation which has a funtcion statement changing child of transform.
- 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.
An alternative approach is to convert you code into a screen and use that instead.
- 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...
- 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...
- 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...
- 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...
- 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: 154
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.
- 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: 154
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...
- Fri Mar 01, 2024 5:53 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] About choosing names and caps/case sensitive
- Replies: 5
- Views: 206
Re: About choosing names and caps/case sensitive
Code: Select all
$ mc = mc.capitalize()