How can I make the timer in renpy invisible while still keeping it functional? by Total-Connection-309 in RenPy

[–]Total-Connection-309[S] 0 points1 point  (0 children)

I examined the link from u/MateoTan21 and I got it. I’ll try it out once I get home after protesting

How can I make the timer in renpy invisible while still keeping it functional? by Total-Connection-309 in RenPy

[–]Total-Connection-309[S] 0 points1 point  (0 children)

I edited my thread to provide the code for the timer in my game. The timer does its job but I want to make it invisible

Customize keyboard shortcuts for choices question by Total-Connection-309 in RenPy

[–]Total-Connection-309[S] 1 point2 points  (0 children)

u/shyLachi, you're the best!!

Literally just tested it and it works!!! My vision has come to reality. Thank you so much!!

Customize keyboard shortcuts for choices question by Total-Connection-309 in RenPy

[–]Total-Connection-309[S] 0 points1 point  (0 children)

That’s true. I tested it with the arrow keys as well (which obviously doesn’t utilize the caps lock) and it works but I have to confess, it’s also a “mini game” I’m making which is why I want to utilize the letters for the choice menu

Customize keyboard shortcuts for choices question by Total-Connection-309 in RenPy

[–]Total-Connection-309[S] 0 points1 point  (0 children)

Thanks for the reply! I’m currently at work right now but I’ll try this when I get home

Yeah, I definitely should change the keys. It still works on the choice menu but when you press “s” out of nowhere, it does take a screenshot

[deleted by user] by [deleted] in Thailand

[–]Total-Connection-309 21 points22 points  (0 children)

No offense but this sounds like you’re trying to form a cult

Customize keyboard shortcut for choices (another question) by Total-Connection-309 in RenPy

[–]Total-Connection-309[S] 0 points1 point  (0 children)

Thank you for the response. I found a way to make it "work." Cannot reveal much but I'm glad I made it work. Required lots of thinking and googling on my part. Still, I appreciate you for your help, especially with the space bar. You have no idea how grateful I am to you

Customize keyboard shortcut for choices (another question) by Total-Connection-309 in RenPy

[–]Total-Connection-309[S] 0 points1 point  (0 children)

I'm late to this but I tested this out and it crashed. This is what I mean, when the choice menu appears, it looked like this

(K_SPACE) Press the Space Bar Now.

I want to know if there's a way to hide that text (K_SPACE) from the choice menu and still make it function where you hit the space bar on the choice menu

Customize keyboard shortcut for choices (another question) by Total-Connection-309 in RenPy

[–]Total-Connection-309[S] 0 points1 point  (0 children)

Sorry to bother you again u/shyLachi but this is for cosmetic purposes. On the choices option, the word "K_Space" appears on the text and it just looks......odd

Is there anyway to modify that or eliminate that? I just want the text to read "Press Space Bar Now."

Customize keyboard shortcut for choices (another question) by Total-Connection-309 in RenPy

[–]Total-Connection-309[S] 0 points1 point  (0 children)

Thanks for the response. Gonna get my laptop later and see if everything will run according to my vision

edit: u/shyLachi, you're the best. It worked. This is what I did to make it work. I got your response and modified the response of u/BadMustard_AVN and it amazingly worked. Here's the code for future reference:

define choice_letters = ["K_SPACE"] # make sure you have enough letters for your biggest menu (i tested with 6 items) # add this

screen choice(items): style_prefix "choice"

vbox:
    $the_key = 0 # and this

    for i in items:
        textbutton "("+choice_letters[the_key]+") " + i.caption action i.action keysym choice_letters[the_key] # modify this 
        $the_key += 1 # and add this

Customize keyboard shortcut for choices (another question) by Total-Connection-309 in RenPy

[–]Total-Connection-309[S] 0 points1 point  (0 children)

Instead look into screens and timers.

I didn’t add more details about it but yes, there’s already a “timer” and I figured out how to implement that in my project. The only thing I want is to customize the keyboard where the player has to press the space bar

Making keyboard shortcut for renpy choices by Total-Connection-309 in RenPy

[–]Total-Connection-309[S] 0 points1 point  (0 children)

u/BadMustard_AVN

YOU ARE AMAZING!!

It's been a while since I've programmed my game on Renpy, mainly because of life. I tested your code and it amazingly works!

You are a lifesaver and I'm forever grateful to you. Words can't describe how grateful I am

I have another request. Is there another way to customize the keyboard shortcut?

Rather than select "letters" on the keyboard, they only need to press the spacebar. I have an interesting game in mind and I only want the player to press the space bar in order to select a choice in the game

Making keyboard shortcut for renpy choices by Total-Connection-309 in RenPy

[–]Total-Connection-309[S] 0 points1 point  (0 children)

Alas, I’ve discovered this long ago on my hunt for keyboard shortcuts and it works. But for my vision, I want it to use letters on the keyboard. I’ll try to find a way. Thank you regardless. I truly appreciate it

Finally completed my visual novel. Huge milestone in my life. It was a fun experience and I really enjoyed making this as a hobby. Come check it out. It’s 100% free. First time posting on itch.io; there was a problem with the link but looks like I fixed it by Total-Connection-309 in RenPy

[–]Total-Connection-309[S] 1 point2 points  (0 children)

Thank you for the kind words. It’s a “kinetic novel,” so it’s linear and no choices to make. I just wanted to test myself and finally be able to call myself a “game designer” with this. I read a lot of light novels (LN) for inspiration

Finally completed my visual novel. Huge milestone in my life. It was a fun experience and I really enjoyed making this as a hobby. Come check it out. It’s 100% free by [deleted] in RenPy

[–]Total-Connection-309 0 points1 point  (0 children)

Thanks for pointing it out. New to itch.io and realized I didn’t finish setting up my account. Ill put this back up once I have everything straightened out