Oh yes! Then I need to use a different variable name. Thank you for your help!!!
Search found 26 matches
- Fri Jun 17, 2022 4:17 am
- Forum: Ren'Py Questions and Announcements
- Topic: TypeError problem
- Replies: 2
- Views: 197
- Fri Jun 17, 2022 4:00 am
- Forum: Ren'Py Questions and Announcements
- Topic: TypeError problem
- Replies: 2
- Views: 197
TypeError problem
I got a problem running my game. I dont know how to solve this typeError case. Thank you in advance! I'm sorry, but an uncaught exception occurred. While running game code: File "renpy/common/00gamemenu.rpy", line 173, in script $ ui.interact() File "renpy/common/00gamemenu.rpy", line 173, in <modu...
- Sat Jul 24, 2021 4:35 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Inactivity Timer in a RenPy Game
- Replies: 19
- Views: 3199
Re: Inactivity Timer in a RenPy Game
key 'dismiss' action [Hide("main_menu_timer"), Show("main_menu_timer")] Should be key 'dismiss' action [Hide("main_menu_timer"), Show("main_menu_timer"), Return()] Thank you! Now it is running as it should be. The next bug is that the sound of clicking the start button will repeat after every bla b...
- Sat Jul 24, 2021 3:25 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Inactivity Timer in a RenPy Game
- Replies: 19
- Views: 3199
Re: Inactivity Timer in a RenPy Game
Unfortunately nothing happens while playing the game. I put the code before label start. Is there a better solution to solve it? Could you provide the code you have so far? # The game starts here. screen main_menu_timer(): timer 5.0 action MainMenu(confirm=False) key 'dismiss' action [Hide("main_me...
- Sat Jul 24, 2021 3:23 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Inactivity Timer in a RenPy Game
- Replies: 19
- Views: 3199
Re: Inactivity Timer in a RenPy Game
Here's my go at it, based on Alex's version. screen activity_timer(): default warning = False timer 10.0 action SetScreenVariable("warning", True) timer 15.0 action MainMenu(confirm=False) if warning: text "Timeout in 5 seconds!" label reset_timer: hide screen activity_timer show screen activity_ti...
- Sat Jul 24, 2021 2:20 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Inactivity Timer in a RenPy Game
- Replies: 19
- Views: 3199
Re: Inactivity Timer in a RenPy Game
Unfortunately nothing happens while playing the game.
I put the code before label start.
Is there a better solution to solve it?
I put the code before label start.
Is there a better solution to solve it?
- Sat Jul 24, 2021 5:29 am
- Forum: Ren'Py Questions and Announcements
- Topic: Inactivity Timer in a RenPy Game
- Replies: 19
- Views: 3199
Re: Inactivity Timer in a RenPy Game
... Try it like screen main_menu_timer(): timer 180.0 action MainMenu(confirm=False) key 'dismiss' action [Hide("main_menu_timer"), Show("main_menu_timer")] label start: "..." show screen main_menu_timer "... ..." "?!" https://www.renpy.org/doc/html/screens.html#key https://www.renpy.org/doc/html/s...
- Fri Jul 23, 2021 7:28 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Inactivity Timer in a RenPy Game
- Replies: 19
- Views: 3199
Re: Inactivity Timer in a RenPy Game
This seems to do the trick! Posting it for anyone who would want to use it. (I realize I am in a very small minority hahah) screen inactivity_timer(): timer 5.0 action MainMenu(confirm=False) if 'mousedown_1': call reset_timer label reset_timer(): hide screen inactivity_timer show screen inactivity...
- Fri Oct 11, 2019 2:10 pm
- Forum: Ren'Py Questions and Announcements
- Topic: No skip function for playing movies
- Replies: 1
- Views: 379
No skip function for playing movies
Is there any statement how to "not skipping" the movie scene for the first time playing? After second play they can skip it like the dialogues.
- Sun Sep 15, 2019 11:47 am
- Forum: Development of Ren'Py
- Topic: Coding Dialogue Statements easier!
- Replies: 16
- Views: 8349
Re: Coding Dialogue Statements easier!
oh! I just thought that we could save time putting the strings
- Sat Sep 14, 2019 4:08 am
- Forum: Development of Ren'Py
- Topic: Coding Dialogue Statements easier!
- Replies: 16
- Views: 8349
Re: Coding Dialogue Statements easier!
I always get this error message I'm sorry, but errors were detected in your script. Please correct the errors listed below, and try again. File "game/script.rpy", line 23: is not terminated with a newline. (Check strings and parenthesis.) (Perhaps you left out a ' at the end of the first line.) s I'...
- Fri Sep 13, 2019 3:26 am
- Forum: Development of Ren'Py
- Topic: Coding Dialogue Statements easier!
- Replies: 16
- Views: 8349
Re: Coding Dialogue Statements easier!
I still got an error the syllables are missing. Could it be that the what_prefix is on the wrong place?
- Wed Sep 11, 2019 4:03 am
- Forum: Development of Ren'Py
- Topic: Coding Dialogue Statements easier!
- Replies: 16
- Views: 8349
Re: Coding Dialogue Statements easier!
I tried this code: define s = Character(_("Sylvie"), color="#c8ffc8", what_prefix=""", what_suffix=""") define m = Character(_("Me"), color="#c8c8ff", what_prefix=""", what_suffix=""") label start: play music "illurock.opus" scene bg lecturehall with fade s It's only when I hear the sounds of shuffl...
- Tue Sep 10, 2019 2:02 pm
- Forum: Development of Ren'Py
- Topic: Coding Dialogue Statements easier!
- Replies: 16
- Views: 8349
Re: Coding Dialogue Statements easier!
Are you specifically trying to wrap dialogue in quote-marks, or is there a different use to it? Because you can add quote marks around text by using prefix/suffix arguments in Character() statements -- Character(name, what_prefix=u"“", what_suffix="”") OmG!! I think this could be the most usable wa...
- Thu Sep 05, 2019 3:24 am
- Forum: Development of Ren'Py
- Topic: Coding Dialogue Statements easier!
- Replies: 16
- Views: 8349
Re: Coding Dialogue Statements easier!
I have about 10.000 lines to add the quotation marks but I dont wanna add it manually. Is there an easy way to do it?