Search found 10 matches

by Byleyg
Thu Jul 25, 2019 10:10 pm
Forum: Ren'Py Questions and Announcements
Topic: Changing MainScreen using Import Time.
Replies: 6
Views: 427

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 analyze screen main_menu: ...
by Byleyg
Thu Jul 25, 2019 9:17 pm
Forum: Ren'Py Questions and Announcements
Topic: Changing MainScreen using Import Time.
Replies: 6
Views: 427

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: 142

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: 173

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: 272

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

Code: Select all

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 <3
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: 272

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(config.main_...
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: 272

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: 272

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 = "music/main_menu1....
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: 186

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: 186

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