Search found 99 matches
- Tue Mar 20, 2018 3:26 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [FIXED]How make multiple "if" statements for choices (and other promblems)
- Replies: 11
- Views: 9419
Re: [STILL NOT FIXED]How make multiple "if" statements for choices (and other promblems)
Please read carefully what other people tell you, they've pointed out you don't have to put the $ sign in if statements, just use the variable names. So it should be: "I'm confident!" if trustful >= 0 and energy_reserve >= 2 and uncertainty == False: Also, in the lines below, it should be ...
- Tue Mar 20, 2018 11:30 am
- Forum: Ren'Py Questions and Announcements
- Topic: Using ATL on a Call screen
- Replies: 1
- Views: 389
Re: Using ATL on a Call screen
Not directly on the screen, but rather in the displayables themselves, you can use at statement the same way you use them in labels. transform my_transform: alpha 0 linear .5 alpha 1 screen test(): text "I can use ATL" at my_transform vbox: xpos .5 at my_transform text "Text 1" t...
- Mon Mar 19, 2018 1:10 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Weird "on replace/replaced" behaviour (was: screen tags and on show/on hide transforms)
- Replies: 10
- Views: 2219
Re: screen tags and on show/on hide transforms
I've been testing this for while. The only thing that has worked for me has been to make each button check if each screen is showing and program it to hide myself using If screen action. textbutton "Info": pos (1050, 50) text_color '#fff' action [If(not renpy.get_screen('infoscreen'), Show...
- Mon Mar 19, 2018 12:34 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Embed an External Link in an Image (link to website)
- Replies: 3
- Views: 1969
Re: Embed an External Link in an Image (link to website)
Maybe what you need is a screen displaying an imagebutton with the OpenURL screen action: #The screen can be in any .rpy file, even one you create screen title_url(): #Add the imagebutton, providing the image name and the screen action #with the url you want to open. imagebutton idle 'Website_02' ac...
- Wed Mar 14, 2018 3:32 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to make timed text?
- Replies: 7
- Views: 1477
Re: How to make timed text?
Or you could use ATL:
Code: Select all
transform timed_hide(t):
time t
linear .5 alpha 0
label start:
show text "Hello World" at timed_hide(1)
""
return
- Tue Mar 13, 2018 9:29 am
- Forum: Ren'Py Questions and Announcements
- Topic: About Exit Confirmation (X button / Alt F4) [Solved]
- Replies: 2
- Views: 870
Re: About Exit Confirmation (X button / Alt F4)
You could use the _confirm_quit variable. label start: "At this point the game asks for confirmation normally." "Now let's disable it and call the screen." $ _confirm_quit = False #Temporarily disable confirmation #Here you would show your timed choices $ _confirm_quit = True #Re...
- Tue Mar 13, 2018 9:04 am
- Forum: Ren'Py Questions and Announcements
- Topic: Can't get my clock working :/ [SOLVED]
- Replies: 2
- Views: 487
Re: Can't get my clock working :/
Shouldn't it be 'add' instead of 'show'? And I'm pretty sure the image names should be strings too...
https://www.renpy.org/doc/html/screens.html#add
Code: Select all
screen clock():
vbox:
if clock == 900:
add 'clock/cl0.jpg'
add 'clock/cl9.jpg'
- Mon Mar 12, 2018 3:15 pm
- Forum: Ren'Py Questions and Announcements
- Topic: I need help defining custom layers[Solved!]
- Replies: 2
- Views: 3174
Re: I need help defining custom layers
OMG thank you!!! That last init code snippet was exactly what I needed, I did read the documentation but I was unsure where or how to actually create and define the variables, that helped a lot really thank you.
- Mon Mar 12, 2018 11:47 am
- Forum: Ren'Py Questions and Announcements
- Topic: I need help defining custom layers[Solved!]
- Replies: 2
- Views: 3174
I need help defining custom layers[Solved!]
Hello, I've been testing Ren'Py and I've find it quite good so far, but I have a question. Reading through the documentation I've found that Renpy uses layers to display different things on screen, and of them the master layer is used to show both backgrounds and character sprites. I was wondering i...