Search found 2402 matches
- Sun Mar 31, 2024 12:19 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Animated imagebutton in main menu[sloved]
- Replies: 3
- Views: 257
Re: Animated imagebutton in main menu
Button without any actions will not receive any events. If you want hover events to work, you need to provide an action. You can use a built-in action which does not do anything, called NullAction()
- Sat Mar 30, 2024 3:15 pm
- Forum: Ren'Py Questions and Announcements
- Topic: how to make a loading screen where the player is reminded of what happened at a previous point in the plot?
- Replies: 2
- Views: 154
Re: how to make a loading screen where the player is reminded of what happened at a previous point in the plot?
Always have data you want to show after loading up to date in your game, and then use after_load special label to show some screens telling player what happened before. https://www.renpy.org/doc/html/label.html#special-labels Example: default happened_before = ["you have started the game"]...
- Sat Mar 30, 2024 3:06 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Quest System Screen Problem
- Replies: 5
- Views: 255
Re: Quest System Screen Problem
As for this question -> Nope, it is not. Well... Actually it is, just not in the way I thought. ShowMenu shows screen in the menu context, while that screen is shown, you are not in the main game, and jumping from there will not affect main game flow. As soon as you finish showing screen or return ...
- 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: 12
- Views: 341
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: 233
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: 233
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: 5
- Views: 255
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: 164
- Thu Mar 21, 2024 3:14 am
- Forum: Ren'Py Questions and Announcements
- Topic: Label as main menu background
- Replies: 5
- Views: 237
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: 237
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: 237
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: 232
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: 184
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: 184
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: 232
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...