Is there a way to make it so that when the 'g' key is pressed it doesn't skip the entirety of the dialogue and instead skips one bit of dialogue and waits for the key to be released?
Edit: Nevermind I fixed it
Search found 14 matches
- Thu Aug 01, 2024 10:37 am
- Forum: Ren'Py Questions and Announcements
- Topic: Having issues regarding syntax
- Replies: 2
- Views: 738
- Wed Jul 31, 2024 11:16 am
- Forum: Ren'Py Questions and Announcements
- Topic: Having issues regarding syntax
- Replies: 2
- Views: 738
Having issues regarding syntax
So I want to create a screen that will be closed if the 'g' or 'b' key is pressed. Here is the code from my screens: screen st_display(sta, trans): text sta at trans # display the text at the transform if key == 'g' or key == 'b': action Return() #after the 'g' or 'b' key has been pressed, return/ex...
- Sat Mar 23, 2024 10:07 am
- Forum: General Discussion
- Topic: How to disable saving temporarily?
- Replies: 3
- Views: 2861
Re: How to disable saving temporarily?
That seems to have worked. Thank you!
- Sun Mar 17, 2024 10:25 am
- Forum: General Discussion
- Topic: How to disable saving temporarily?
- Replies: 3
- Views: 2861
How to disable saving temporarily?
So basically what I'm trying to do is prevent the user from accessing the saves/loads/quicksaves during a minigame so that they don't cheat. So far from what I've seen, it's possible to completely the remove the saves/loads screen by removing everything under the screen label that corresponds to it....
- Mon Nov 20, 2023 5:34 pm
- Forum: Ren'Py Questions and Announcements
- Topic: 'Couldn't find file' even though the directory is literally the file's location???
- Replies: 3
- Views: 6341
Re: 'Couldn't find file' even though the directory is literally the file's location???
Thank you for the response, can you please provide an example?
How would the correct syntax be?
How would the correct syntax be?
- Mon Nov 20, 2023 1:48 pm
- Forum: Ren'Py Questions and Announcements
- Topic: 'Couldn't find file' even though the directory is literally the file's location???
- Replies: 3
- Views: 6341
'Couldn't find file' even though the directory is literally the file's location???
Hello, there. Basically what I was trying to do was copy a file from the folder: 'notepad' (That file being: 'to_niko.txt'). Then copy and paste it to another directory. So, something like DDLC where it looks like the file was put there by someone from the game. However, when I tried testing it, I c...
- Wed Jul 19, 2023 6:40 am
- Forum: General Discussion
- Topic: Name '_history' is not defined and name 'quick_menu' is not defined?
- Replies: 0
- Views: 10633
Name '_history' is not defined and name 'quick_menu' is not defined?
Here are the tracebacks: This is the first one: I'm sorry, but an uncaught exception occurred. While running game code: File "renpy/common/00start.rpy", line 232, in script $ _old_history = _history File "renpy/common/00start.rpy", line 232, in <module> $ _old_history = _history ...
- Sat Oct 01, 2022 5:35 am
- Forum: Ren'Py Questions and Announcements
- Topic: How can I make if statement work while a hardpause is happening
- Replies: 4
- Views: 524
Re: How can I make if statement work while a hardpause is happening
Thanks it worked now!
- Sat Oct 01, 2022 5:08 am
- Forum: Ren'Py Questions and Announcements
- Topic: How can I make if statement work while a hardpause is happening
- Replies: 4
- Views: 524
Re: How can I make if statement work while a hardpause is happening
I received an error. This is the traceback: ``` I'm sorry, but errors were detected in your script. Please correct the errors listed below, and try again. File "game/script.rpy", line 32: 'show' is not a keyword argument or valid child for the screen statement. show nonstop_debate1 ^ Ren'P...
- Sat Oct 01, 2022 4:24 am
- Forum: Ren'Py Questions and Announcements
- Topic: How can I make if statement work while a hardpause is happening
- Replies: 4
- Views: 524
How can I make if statement work while a hardpause is happening
This is the code I have written: show nonstop_debate1 $ renpy.pause(1,hard=True) if keyboard.is_pressed('n'): jump correct1 $ renpy.pause(1,hard=True) hide nonstop_debate1 It works only if I spam press or hold 'n'. I presume that this is due to one of the times I press 'n' it is right after 1 second...
- Fri Sep 30, 2022 1:08 pm
- Forum: Ren'Py Questions and Announcements
- Topic: pip3 install keyboard command not working
- Replies: 6
- Views: 842
Re: pip3 install keyboard command not working
Oh I see my mistake was that I used "<" instead of quotation marks it worked now thanks a lot!
- Fri Sep 30, 2022 12:44 pm
- Forum: Ren'Py Questions and Announcements
- Topic: pip3 install keyboard command not working
- Replies: 6
- Views: 842
Re: pip3 install keyboard command not working
Sorry I might not be that good with command prompt, but when I wrote the same thing it still says access denied(With administrative properties)
- Fri Sep 30, 2022 9:01 am
- Forum: Ren'Py Questions and Announcements
- Topic: pip3 install keyboard command not working
- Replies: 6
- Views: 842
Re: pip3 install keyboard command not working
The 5th step is not working for some reason, it says access denied?
I don't know if this helps but my python is version 3.9.10 and pip is version 21.2.4
I don't know if this helps but my python is version 3.9.10 and pip is version 21.2.4
- Thu Sep 22, 2022 2:20 pm
- Forum: Ren'Py Questions and Announcements
- Topic: pip3 install keyboard command not working
- Replies: 6
- Views: 842
pip3 install keyboard command not working
This is the traceback: ``` I'm sorry, but errors were detected in your script. Please correct the errors listed below, and try again. File "game/script.rpy", line 4: expected statement. pip3 install keyboard ^ Ren'Py Version: Ren'Py 8.0.1.22070801 Thu Sep 22 21:19:28 2022 ``` How do I inst...