if I understand correctly....
When you make changes to a xxx.rpy file in the game itself (not in the launcher) you should first delete the file with the same name, but with .rpyc extension, before starting the game. It will be recreated automatically.
Search found 399 matches
- Wed Aug 07, 2019 7:15 am
- Forum: Ren'Py Questions and Announcements
- Topic: RPY file changes not showing in the game
- Replies: 4
- Views: 509
- Sat Aug 03, 2019 3:20 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Icon.ico returning an error?[solved]
- Replies: 2
- Views: 460
Re: Icon.ico returning an error?
the image file must be resave (converted) to Windows Icon format, not just renamed.
- Tue Jul 23, 2019 11:54 am
- Forum: Ren'Py Questions and Announcements
- Topic: Have a sound play a set number of times?
- Replies: 5
- Views: 736
Re: Have a sound play a set number of times?
Anyway: label start: '...' play sound ['bang.mp3', 'bang.mp3', 'bang.mp3', 'bang.mp3', 'bang.mp3'] 'queue of five shots' return or define audio.bang = ['bang.mp3', 'bang.mp3', 'bang.mp3', 'bang.mp3', 'bang.mp3'] label start: '...' play sound bang 'queue of five shots' play sound bang[:3] #! the numb...
- Tue Jul 23, 2019 11:54 am
- Forum: Ren'Py Questions and Announcements
- Topic: Have a sound play a set number of times?
- Replies: 5
- Views: 736
Re: Have a sound play a set number of times?
Isn't there a loops=5 kwarg or something? No, loops only takes on yes/no values. So, loops=5 is the equivalent of loops=True I didn't see it in the documentation, but I'm sure there was For example, the number of cycles can be set, for transformation ( ATL). Maybe it's settled in your memory.
- Sun Jul 14, 2019 3:41 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to change scenes through Variables and Screens?
- Replies: 4
- Views: 732
Re: How to change scenes through Variables and Screens?
default sun = True layeredimage classroom: if sun: 'classroomday.jpg' else: 'clasroomnight.jpg' screen jx: add "date.png" xalign 0.5 yalign 0.0 if sun: add 'sun_icon.jpg' xalign 1.0 yalign 0.0 else: add 'moon_icon.jpg' xalign 1.0 yalign 0.0 text "Monday" xalign 0.5 ypos 20 label...
- Thu Jul 11, 2019 12:20 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Music Play and Pause
- Replies: 6
- Views: 755
Re: Music Play and Pause
How does the button know, the music is playing, so that I can pause? You can use renpy.music.is_playing() function: https://renpy.org/doc/html/audio.html#renpy.music.is_playing 4example: ...action If(renpy.music.is_playing('music'), PauseAudio('music', 'toggle'), None) https://renpy.org/doc/html/sc...
- Thu Jul 11, 2019 12:19 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Music Play and Pause
- Replies: 6
- Views: 755
Re: Music Play and Pause
Yes.
Code: Select all
... action [ ActionOne(), ActionTwo(), ActionMore() ]
https://renpy.org/doc/html/screen_actio ... ensitiveIf
- Thu Jul 11, 2019 12:18 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Music Play and Pause
- Replies: 6
- Views: 755
Re: Music Play and Pause
TOTALLYNOTGENERATED wrote: ↑Thu Jul 11, 2019 11:53 am But how do i make it, that the same Button does "Play - Pause - Play - etc" everytime I click?
Code: Select all
... action PauseAudio('music', 'toggle')
- Mon Jul 01, 2019 1:15 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Ren'Py 7.3.1 Released
- Replies: 3
- Views: 12303
Re: Ren'Py 7.3.1 Released
"Open Directory" section of Ren'Py Launcher does not work. Explorer does not open the selected folder (game, base, images etc..)
___
Windows 7
___
Windows 7
- Sun Jun 30, 2019 11:43 am
- Forum: Ren'Py Questions and Announcements
- Topic: Imagebutton
- Replies: 2
- Views: 746
Re: Imagebutton
screens.rpy file: default sx = renpy.random.random() default sy = renpy.random.random() default sato = renpy.random.randint(0, 99) screen main_menu(): ## body of screen main_menu if sato < 25: ### 25 means that, the button will appear with a ~ 25 percent chance imagebutton auto 'm_%s.jpg' align(sx,...
- Sat Jun 22, 2019 11:07 am
- Forum: Ren'Py Questions and Announcements
- Topic: Noob's question about a math game
- Replies: 3
- Views: 873
Re: Noob's question about a math game
Not exactly on the subject... As for your the "test" construction: if test == 10: jump test1 if test == 11: jump test2 if test == 12: jump test3 if test == 13: jump test4 I recommend you to read this article https://patreon.renpy.org/shuffle-menu.html
- Sat Jun 22, 2019 10:57 am
- Forum: Ren'Py Questions and Announcements
- Topic: Prevent side image with unusual position from flickering
- Replies: 1
- Views: 609
Re: Prevent side image with unusual position from flickering
It looks like an error in code implementation, not in the side_image function itself. But it's hard to say anything more concrete without an example code.... Well, try one of the following examples: https://lemmasoft.renai.us/forums/viewtopic.php?t=48137#p477916 https://lemmasoft.renai.us/forums/vie...
- Fri Jun 14, 2019 2:14 pm
- Forum: Ren'Py Questions and Announcements
- Topic: can we animated image within renpy.image ?
- Replies: 1
- Views: 731
Re: can we animated image within renpy.image ?
Code: Select all
init python:
renpy.image(('eileen', 'animated'), Animation("eileen_happy.png", 1.0, "eileen_vhappy.png", 1.0))
- Wed Jun 12, 2019 1:34 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Why imagebuttons blinks
- Replies: 2
- Views: 1015
Re: Why imagebuttons blinks
This blinks the image attached to the button. And, it blinks not in a random order, but in the order in which the buttons are written in the screen. That is, the blinks appears in the button, which is temporarily "in focus". I don't know if this is a bug or a feature of the screen language...
- Mon Jun 03, 2019 12:37 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Expected Menuitem Error
- Replies: 6
- Views: 693
Re: Expected Menuitem Error
label start: "let's start simple." "are you a boy, or are you a girl?" menu: "I am a girl": jump choice1_girl "I am a boy": jump choice1_boy label choice1_girl: #Problem here. $menu_flag = true "Alright, what is your name?" python: povname = renpy.i...