Search found 27 matches

by initialzero
Sun Dec 11, 2022 1:27 pm
Forum: Ren'Py Questions and Announcements
Topic: Font commercial use
Replies: 2
Views: 277

Font commercial use

Hello! If I am using a google font which is commercial use. For example this one: https://fonts.google.com/specimen/Open+Sans It is using this license: https://scripts.sil.org/cms/scripts/pag ... rsi&id=OFL What are the steps to do? Do I need to copy the license in the game folder or copy paste ...
by initialzero
Fri Jun 17, 2022 4:17 am
Forum: Ren'Py Questions and Announcements
Topic: TypeError problem
Replies: 2
Views: 299

Re: TypeError problem

Syrale wrote: Fri Jun 17, 2022 4:04 am Is it possible that you already defined a Character that uses the shortcut "y"? If yes, you should use a different name for this variable.
Oh yes! Then I need to use a different variable name. Thank you for your help!!!
by initialzero
Fri Jun 17, 2022 4:00 am
Forum: Ren'Py Questions and Announcements
Topic: TypeError problem
Replies: 2
Views: 299

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"...
by initialzero
Sat Jul 24, 2021 4:35 pm
Forum: Ren'Py Questions and Announcements
Topic: Inactivity Timer in a RenPy Game
Replies: 19
Views: 4157

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 st...
by initialzero
Sat Jul 24, 2021 3:25 pm
Forum: Ren'Py Questions and Announcements
Topic: Inactivity Timer in a RenPy Game
Replies: 19
Views: 4157

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("ma...
by initialzero
Sat Jul 24, 2021 3:23 pm
Forum: Ren'Py Questions and Announcements
Topic: Inactivity Timer in a RenPy Game
Replies: 19
Views: 4157

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 sho...
by initialzero
Sat Jul 24, 2021 2:20 pm
Forum: Ren'Py Questions and Announcements
Topic: Inactivity Timer in a RenPy Game
Replies: 19
Views: 4157

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?
by initialzero
Sat Jul 24, 2021 5:29 am
Forum: Ren'Py Questions and Announcements
Topic: Inactivity Timer in a RenPy Game
Replies: 19
Views: 4157

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...
by initialzero
Fri Jul 23, 2021 7:28 pm
Forum: Ren'Py Questions and Announcements
Topic: Inactivity Timer in a RenPy Game
Replies: 19
Views: 4157

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...
by initialzero
Fri Oct 11, 2019 2:10 pm
Forum: Ren'Py Questions and Announcements
Topic: No skip function for playing movies
Replies: 1
Views: 454

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.
by initialzero
Sun Sep 15, 2019 11:47 am
Forum: Development of Ren'Py
Topic: Coding Dialogue Statements easier!
Replies: 16
Views: 9199

Re: Coding Dialogue Statements easier!

namastaii wrote: Sat Sep 14, 2019 6:30 pm You still have to put quotations around the strings in the dialogue though. Or the script can't read them. The suffixes and such are just to add to it when it plays in-game. You can't use it to replace actual syntax
oh! I just thought that we could save time putting the strings :?
by initialzero
Sat Sep 14, 2019 4:08 am
Forum: Development of Ren'Py
Topic: Coding Dialogue Statements easier!
Replies: 16
Views: 9199

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 l...
by initialzero
Fri Sep 13, 2019 3:26 am
Forum: Development of Ren'Py
Topic: Coding Dialogue Statements easier!
Replies: 16
Views: 9199

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?
by initialzero
Wed Sep 11, 2019 4:03 am
Forum: Development of Ren'Py
Topic: Coding Dialogue Statements easier!
Replies: 16
Views: 9199

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: pl...
by initialzero
Tue Sep 10, 2019 2:02 pm
Forum: Development of Ren'Py
Topic: Coding Dialogue Statements easier!
Replies: 16
Views: 9199

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 b...