Search found 11 matches

by Byleyg
Thu Sep 10, 2020 3:40 pm
Forum: Ren'Py Questions and Announcements
Topic: How to make renpy ask for admin permission?
Replies: 1
Views: 343

How to make renpy ask for admin permission?

Lemme elaborate, I want my novel at some specific point to ask for the admin permission that shows up in Windows everytime a program tries to do changes to the OS.That little prompt that says "Do you want to allow this app to make changes to your device?" on Windows10, another good alterna...
by Byleyg
Thu Jul 25, 2019 10:10 pm
Forum: Ren'Py Questions and Announcements
Topic: Changing MainScreen using Import Time.
Replies: 6
Views: 752

Re: Changing MainScreen using Import Time.

Thanks, but it stills give me an error... I don't know what else I can try. I'm sorry, but an uncaught exception occurred. After initialization, but before game start. File "game/script.rpy", line 60, in analyze_screen screen main_menu: File "game/script.rpy", line 60, in analyz...
by Byleyg
Thu Jul 25, 2019 9:17 pm
Forum: Ren'Py Questions and Announcements
Topic: Changing MainScreen using Import Time.
Replies: 6
Views: 752

Changing MainScreen using Import Time.

Hello! I would like to change the main menu bg image and the music that plays in it depending on the hour of the day. I was trying this code init: $ import time $ year, month, day, hour, minute, second, dow, doy, dst = time.localtime() screen main_menu: tag menu if hour =< 14: use main_menu_day elif...
by Byleyg
Sun Oct 21, 2018 3:51 pm
Forum: Ren'Py Questions and Announcements
Topic: How can i make ren'py to recognize the date on a PC?
Replies: 2
Views: 325

How can i make ren'py to recognize the date on a PC?

I want to make Ren'Py to do some things depending on the date, for example if its christmas. Also if its possible to recognize the local time on the clock.
by Byleyg
Thu Oct 04, 2018 5:25 pm
Forum: Ren'Py Questions and Announcements
Topic: [solved] How do I change the default editor to Editra again?
Replies: 2
Views: 373

Re: How do I change the default editor to Editra again?

At the right inferior corner in Ren'Py Launcher there's the preferences menu. And there you should be able to change the editor.
by Byleyg
Mon Aug 13, 2018 3:19 pm
Forum: Ren'Py Questions and Announcements
Topic: How to change the music that plays on the main menu?
Replies: 7
Views: 1025

Re: How to change the music that plays on the main menu?

Thanks everyone, it finally worked. Since I've already had the main_menu variants in screens.rpy I simply put on 'show' action Play("music", "music/main_menu1.ogg") It was the easiest one for me :) And it work just fine. Also, the renpy.full_restart worked perfectly. Thanks again...
by Byleyg
Sun Aug 12, 2018 1:50 am
Forum: Ren'Py Questions and Announcements
Topic: How to change the music that plays on the main menu?
Replies: 7
Views: 1025

Re: How to change the music that plays on the main menu?

Hmmm, I tried to use it on my actual project (I first tried on a new one) and it gives me this error, even though it works fine on the new one. I'm sorry, but an uncaught exception occurred. While running game code: File "renpy/common/00start.rpy", line 234, in script $ renpy.music.play(co...
by Byleyg
Sun Aug 12, 2018 1:30 am
Forum: Ren'Py Questions and Announcements
Topic: How to change the music that plays on the main menu?
Replies: 7
Views: 1025

Re: How to change the music that plays on the main menu?

Wow, It did work. The only thing it's that it doesn't change the song with return, but using $ renpy.quit (relaunch="true") Maybe there's a way to do it without using relaunch?
by Byleyg
Sat Aug 11, 2018 11:32 pm
Forum: Ren'Py Questions and Announcements
Topic: How to change the music that plays on the main menu?
Replies: 7
Views: 1025

How to change the music that plays on the main menu?

Hello there! Well I'm trying to make ren'py to use a different song in the main menu after getting a $ persistent.ending, I tried changing the options.rpy using define config.main_menu_music = "music/main_menu.ogg" if persistent.ending == "ending1": define config.main_menu_music ...
by Byleyg
Mon Aug 06, 2018 7:06 pm
Forum: Ren'Py Questions and Announcements
Topic: How can I tell Ren'py to use a different gui.rpy file?
Replies: 2
Views: 475

Re: How can I tell Ren'py to use a different gui.rpy file?

Wow, it's easier from what I tought. Thanks :)
by Byleyg
Mon Aug 06, 2018 2:54 pm
Forum: Ren'Py Questions and Announcements
Topic: How can I tell Ren'py to use a different gui.rpy file?
Replies: 2
Views: 475

How can I tell Ren'py to use a different gui.rpy file?

Hi there, I'm new to the forums and to Ren'py as well, so nice to meet you :) . I'm trying to make Ren'py to use a different gui.rpy file using an [if persistent.ending] code to change the main menu background pic and the music that plays at it. I don't know if there is an easiest way to do it so if...