Search found 94 matches

by Adrian_DVL
Wed Apr 15, 2020 11:16 am
Forum: Ren'Py Questions and Announcements
Topic: One video after another in main menu
Replies: 5
Views: 284

Re: One video after another in main menu

Well, I tried the before_main_menu label and it indeed works. The problem is that between the intro of the video (i.e. the before_main_menu) and the video itself and the menu buttons (i.e. the screen main_menu) there's one or two frames in which the screen goes black and with no music. I tried fixi...
by Adrian_DVL
Wed Apr 15, 2020 10:18 am
Forum: Ren'Py Questions and Announcements
Topic: One video after another in main menu
Replies: 5
Views: 284

Re: One video after another in main menu

Well, I tried the before_main_menu label and it indeed works. The problem is that between the intro of the video (i.e. the before_main_menu) and the video itself and the menu buttons (i.e. the screen main_menu) there's one or two frames in which the screen goes black and with no music. I tried fixin...
by Adrian_DVL
Tue Apr 14, 2020 6:01 pm
Forum: Ren'Py Questions and Announcements
Topic: One video after another in main menu
Replies: 5
Views: 284

Re: One video after another in main menu

Use the special label before_main_menu to play your short video. https://www.renpy.org/doc/html/label.html?highlight=before_main_menu#special-labels Will you marry me? Hahaha! Seriously, thank you very much! The thing is that I did know about this but it didn't come to mind, it seems. I can't test ...
by Adrian_DVL
Tue Apr 14, 2020 5:00 pm
Forum: Ren'Py Questions and Announcements
Topic: One video after another in main menu
Replies: 5
Views: 284

One video after another in main menu

Hi all! So, I have a game where I play a video in the main menu, instead of a still image. I defined it like this, in screens.rpy: image main_menu = Movie(channel="main_menu", play="gui/intro.webm", loop=True) And I added it inside the screen main_menu, so the outcome is a video that plays in a loop...
by Adrian_DVL
Tue Apr 14, 2020 5:11 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Preventing the player to progress while in a screen
Replies: 2
Views: 298

Re: Preventing the player to progress while in a screen

Milkymalk wrote:
Tue Apr 14, 2020 4:54 am
Call another (empty) screen. This will "lock" the player interaction until you issue a "return" of some kind.
Yeah, that's what I ended up doing. Thank you!
by Adrian_DVL
Fri Apr 10, 2020 12:09 pm
Forum: Ren'Py Questions and Announcements
Topic: Counting the total game time but dismissing the one that wasn't saved
Replies: 1
Views: 142

Re: Counting the total game time but dismissing the one that wasn't saved

Bump! Can anybody help, please? I thought about calling the function only when player saves the game, but that would imply that the time displayed in the screen would always be outdated...
by Adrian_DVL
Thu Apr 09, 2020 11:28 am
Forum: Ren'Py Questions and Announcements
Topic: Counting the total game time but dismissing the one that wasn't saved
Replies: 1
Views: 142

Counting the total game time but dismissing the one that wasn't saved

Hi again! Here's the thing: one of the screens in my game shows the played time, the hours and minutes that player has spent in the game, since he begins the run until the game finishes. To do this, I've pulled out the renpy.get_game_runtime() and made this: init -1 python: if not persistent.runtime...
by Adrian_DVL
Thu Apr 09, 2020 4:42 am
Forum: Ren'Py Questions and Announcements
Topic: How do I alternate a screen from being modal and non modal?
Replies: 2
Views: 159

Re: How do I alternate a screen from being modal and non modal?

From what you describe, the screen is a red herring. It isn't that the screen needs to be flipped modal true to modal false, it is that you want to block user interaction for some times and not others. This is doable in a variety of ways...but I do have questions--some for me to understand, and som...
by Adrian_DVL
Wed Apr 08, 2020 11:27 am
Forum: Ren'Py Questions and Announcements
Topic: How do I alternate a screen from being modal and non modal?
Replies: 2
Views: 159

How do I alternate a screen from being modal and non modal?

Okay, I've asked this a few hours ago, but I was all mixed up. So how can I make it so that a non modal screen that is shown becomes modal after some interactions with the scenes in the background? I mean, I want to, while the player is going through a scenes and text label, show a screen with butto...
by Adrian_DVL
Wed Apr 08, 2020 5:12 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Preventing the player to progress while in a screen
Replies: 2
Views: 298

[Solved] Preventing the player to progress while in a screen

Hi mates! Situation: I have a game where there are parts of straight VN and parts of dating sim, in which I add screens that act as menus for the different options and -and I think this is important- they include imagebuttons, not an imagemap or whatever. Okay, now I want to show screen whatever-its...
by Adrian_DVL
Sun Apr 05, 2020 7:15 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] A way to advance through the scenes playing a minigame?
Replies: 4
Views: 188

Re: A way to advance through the scenes playing a minigame?

You do not need to manually scene/show/replace the background image, you can just have it as a dynamic... default memgoodp = 0 image dynamic_background = "images/background_[memgoodp].png" label start: scene dynamic_background ## showing "images/background_0.png" "..." $ memgoodp += 1 ## now showin...
by Adrian_DVL
Sun Apr 05, 2020 6:17 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] A way to advance through the scenes playing a minigame?
Replies: 4
Views: 188

Re: A way to advance through the scenes playing a minigame?

easy, put something like this inside your minigame modal True timer .5 repeat True action If(points > 100, Return()) a return inside a modal screen does the same thing as if the player have clicked Wow! I didn't know that! Sounds promising, the problem is that it gave me a traceback saying that a t...
by Adrian_DVL
Sun Apr 05, 2020 5:33 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] A way to advance through the scenes playing a minigame?
Replies: 4
Views: 188

[Solved] A way to advance through the scenes playing a minigame?

Hi mates! Here's the thing: I have a minigame built on a modal screen, so while the minigame is working, the player can't go to the next images in the background. Now, the minigame has several phases, so the player has to win a certain amount of "points" in order to win. So I want the game to go thr...
by Adrian_DVL
Fri Mar 27, 2020 5:37 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Tooltip showing the values of all objects in a for loop
Replies: 6
Views: 190

Re: Tooltip showing the values of all objects in a for loop

... You check if tooltip: for each button, but no matter what button you hovering they all set the same variable 'tooltip', so condition became true for all buttons. In code sample tooltip was showing once and not for each textbutton. Try the solution gas gave - https://lemmasoft.renai.us/forums/vi...
by Adrian_DVL
Fri Mar 27, 2020 4:54 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Tooltip showing the values of all objects in a for loop
Replies: 6
Views: 190

Re: Tooltip showing the values of all objects in a for loop

Did you placed imagebuttons inside a vbox? Nope. How big are images used for imagebuttons - any chance they are overlap each other? They're 80x80. They don't overlap each other at all. In fact, my problem is exactly the opposite: I can see them all, each one 100 pixels to the left and up from the o...