▲ 1 r/RenPy

time variable in minigame

I made a minigame in my vn where there's a circle constantly falling down a bar and you have to press space to get it in the desired section of the bar. If you stay at any section for 5.0 seconds, you will go to the corresponding label to that section. Right now, my code works fine. But I want there to be text to the right of the bar that says "x seconds left until you go to the label". X being 5.0 minus how long you already spent there. But I don't know how to get a value of how long you already spent there from renpy's timer thing. I tried to use python's time.time() thing, but I don't know how to implement something like that. My code is below.

init python:
    renpy.image("circle", "minigame circle")
    renpy.image("happy", "minigame happy")
    renpy.image("neutral", "minigame neutral")
    renpy.image("sad", "minigame sad")
    yCoor = 100
    def minigame():
        global yCoor
        if yCoor<800:
            yCoor += 10
        if yCoor<100:
            yCoor = 100
      
    def up():
        global yCoor
        yCoor-=80

screen game:
    add "bg room-blurred"
    add "minigame bar" xpos 1000 xanchor 0.5 ypos 100 yanchor 0.0
    add "circle" xpos 1000 xanchor 0.5 ypos yCoor yanchor 0.0

    if yCoor < 250:
        add "happy" xpos 100 ypos 100 xanchor 0.0 yanchor 0.0
        timer 5.0 action Jump("temp1")
    elif yCoor < 520:
        add "neutral" xpos 100 ypos 100 xanchor 0.0 yanchor 0.0
        timer 5.0 action Jump("temp2")
    else:
        add "sad" xpos 100 ypos 100 xanchor 0.0 yanchor 0.0
        timer 5.0 action Jump("temp3")
    key "K_SPACE" action Function(up)
    timer (1.0/30.0) repeat True action Function(minigame)
reddit.com
u/Laura7811 — 3 days ago
▲ 2 r/RenPy

problem with skipping over minigame

I want to make a minigame in my vn. The game is that there's an circle constantly dropping down a bar, and you have to press space to keep the circle in the desired area of the bar in order to win. Depending on your win/loss, you go to different labels after that. I started to write some basic code:

default yCoor = 80

label pregame:
    scene bg room
    show lydia talking at newleft
    # dialogue leading up to minigame
    jump game


label game:
    scene black
    show circle at Position(xpos=400, ypos=gameY, xanchor=0, yanchor=0)
    if yCoor<400:
        $ yCoor -= 30

label e1:
    scene bg library
    show elizabeth at newleft
    # dialogue

But, right now, the vn goes straight from pregame to e1, without even showing the minigame. I feel like I'm coding the minigame wrong, but idk how to fix it.

reddit.com
u/Laura7811 — 4 days ago

questions about no heaven, but love

I just watched no heaven but love, and I'm kind of confused.

  1. Why did yeji say she did it? Was it because she thought they would find her guilty anyways?

  2. Why didn't Jooyoung visit yeji at the prison? She stood at the gate and then just walked away. This makes no sense at all to me, she could have visited the prison and stayed in touch with yeji

  3. Did jooyoung and her mom go back to speaking terms? Because in that shot of Jooyoung being the taekwondo coach she said "give your parents a hug and tell them you love them" so I was wondering what happened between jooyoung and her mom after yeji went to prison.

reddit.com
u/Laura7811 — 3 months ago

[TL] English LN of You can't Bluff the Sharp Eyed Sister (Seijo ni Uso wa Tsūjinai)

I found the japanese ln here, but I can't find any English translations. Are there any English translations to the ln, or should I just stick to the manga?

reddit.com
u/Laura7811 — 3 months ago

At 4:08 of this video, Louis Partridge, who will be Mr. Wickham in P&P 2026, says Wickham has a good heart

If this post doesn't fit the sub sorry and please lmk. He doesn't sound like he's being sarcastic but idk maybe I'm misinterpreting something

youtube.com
u/Laura7811 — 3 months ago

how likely is a freshman to be in a dorm without communal bathrooms?

I couldn't find any threads about communal bathrooms so if there are lmk please, I saw rule 6 but I cannot find the posts

I really want to go to CU boulder and I know there's a live on requirement for freshman. I wear these special contacts during the night and there's two liquids and other stuff I have to use to maintain them. I would really rather not carry all that stuff to a communal bathroom every night and day. I am okay with sharing a bathroom with roommates, I just really do not want a communal bathroom. So how likely would it be for me to get a dorm that has a bathroom in it?

reddit.com
u/Laura7811 — 3 months ago

Elizabeth wants to warn her family about Wickham after Darcy told her the truth, but Darcy said he couldn't allow it because it might endanger Georgiana's reputation.

I randomly remembered this story and now I want to read it again. As I said in the title, Elizabeth wants to warn her family about Wickham after Darcy told her the truth, but Darcy said he couldn't allow it because it might endanger Georgiana's reputation. I think this results in Lydia running away??? Not sure though

  • It's either published or on ao3 (those are the only ones i read), I'm pretty sure it was a published one
  • I remember one paragraph really emphasizing Darcy being unreasonable in his refusal, like: he didn't allow Elizabeth to do it just because it MIGHT ruin his sister's reputation. There was some sort of emphasis on MIGHT, or like there was a POSSBILITY of Georgiana's secret getting out. Darcy only didn't allow it because it MIGHT be bad for his sister. Am I making any sense?
  • I also remember in the paragraph where he refused, he was kind of saying "oh I can't prevent you from telling about this, but I prefer you to not"
  • Elizabeth did listen to him and not tell. I think this resulted in some sort of negative consequence, like maybe Lydia ran away, but again not sure about that part.
reddit.com
u/Laura7811 — 4 months ago

Why does Darcy say "if your feelings are still what they were LAST April"?

He says last April during the second proposal, but I thought the two proposals were in the same year? Am I missing something?

reddit.com
u/Laura7811 — 5 months ago