Search found 3094 matches
- Fri Jun 23, 2023 7:04 pm
- Forum: Ren'Py Cookbook
- Topic: Interaction Afterlife (restart interaction after it ended)
- Replies: 7
- Views: 1964
Re: Interaction Afterlife (restart interaction after it ended)
... Hm, in your sample player can click "Open Additional" while in 'called' label and click "Leave statement..." to get 'called' label once again, but return will work only once... I've changed my sample a bit - check if it suits for your needs (and works right with save/load/ro...
- Fri Jun 23, 2023 6:18 pm
- Forum: Development of Ren'Py
- Topic: strange behavior of a button in 8.1.0
- Replies: 2
- Views: 1044
- Fri Jun 23, 2023 1:02 pm
- Forum: Ren'Py Cookbook
- Topic: Interaction Afterlife (restart interaction after it ended)
- Replies: 7
- Views: 1964
Re: Interaction Afterlife (restart interaction after it ended)
... Try to use Call action with 'from_current' property - https://www.renpy.org/doc/html/statement_equivalents.html#renpy.call screen test_scr(): vbox: align(0.05, 0.05) text "Title" textbutton "Some call..." action Call("called_lbl", from_current=True) label start: &q...
- Sun Jun 18, 2023 12:00 pm
- Forum: Ren'Py Questions and Announcements
- Topic: (Solved)Animated menu didn't work
- Replies: 2
- Views: 153
Re: Animated menu didn't work
In your image definition replace all 'Pause' with 'pause'.
https://www.renpy.org/doc/html/atl.html ... -atl-block
- Fri Jun 16, 2023 6:21 pm
- Forum: Development of Ren'Py
- Topic: strange behavior of a button in 8.1.0
- Replies: 2
- Views: 1044
strange behavior of a button in 8.1.0
Hi, folks! Got a strange behavior of a button in 8.1.0 is it bug or feature? Tried to put an action, sensitive and background properties for a button under if/else condition, but got an error I'm sorry, but errors were detected in your script. Please correct the errors listed below, and try again. F...
- Thu Jun 08, 2023 4:17 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Adjustable bar not updating in real-time.
- Replies: 3
- Views: 229
- Thu Jun 08, 2023 2:59 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Adjustable bar not updating in real-time.
- Replies: 3
- Views: 229
Re: Adjustable bar not updating in real-time.
... You need to use ScreenVariableValue or VariableValue for your bar. Try screen test_bar_scr(): default some_screen_var = 5.0 hbox: spacing 10 pos (0.3, 0.1) bar value ScreenVariableValue('some_screen_var', range=10.0) xysize(400, 50) text "{:0.1f}".format(some_screen_var) label start: ...
- Tue Jun 06, 2023 2:14 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Add new choice in menu by timer with animation (SOLVED))
- Replies: 3
- Views: 186
Re: Add new choice in menu by timer with animation
... Instead of timer add a transform to 6th choice in menu. Something like transform delayed_menu_choice(t=5.0): xoffset config.screen_width # to put this choice outside the screen t linear 0.5 xoffset 0 https://www.renpy.org/doc/html/atl.html Also, menu can get some arguments - https://www.renpy.o...
- Sun Jun 04, 2023 4:49 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Key press value
- Replies: 3
- Views: 189
Re: Key press value
... Kind of sample of such a game made of SL - try if it suits for you. # default values for game variables default secret_seq = [] # secret code list default game_seq = [] # pressed keys list default game_win = False # game flag init python: # function for key presses def game_secret_func(val): # ...
- Sun May 14, 2023 12:22 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Delay when text starts to write?
- Replies: 5
- Views: 268
Re: Delay when text starts to write?
Is there a way to delay when the text begins to write on the screen? With how it's set up, the text for the new screen immediately starts writing after you click next. However, I have some custom textbox transitions and I would like for the text to not start writing until the textbox has finished c...
- Wed May 10, 2023 1:16 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to get x and y size of displayed image - get_image_bounds not working?
- Replies: 2
- Views: 245
Re: How to get x and y size of displayed image - get_image_bounds not working?
Try this function to get size - viewtopic.php?f=8&t=7415#p556186
And in screen use it like
Code: Select all
key 'n' action Function(get_size, 'image_tag')
- Sat Apr 29, 2023 3:18 am
- Forum: Ren'Py Questions and Announcements
- Topic: Slow fade?
- Replies: 1
- Views: 588
Re: Slow fade?
Try to define your own fade transition like samples here - https://www.renpy.org/doc/html/transitions.html#Fade
And as far as I know you unable to make transition unskippable.
And as far as I know you unable to make transition unskippable.
- Sat Apr 15, 2023 10:32 am
- Forum: Ren'Py Questions and Announcements
- Topic: Not sure what I'm doing wrong, but the error occurred once I tried to show a screen
- Replies: 1
- Views: 557
Re: Not sure what I'm doing wrong, but the error occurred once I tried to show a screen
Check if any of your variables, characters, functions has name from this list - https://www.renpy.org/doc/html/reserved.html
If that won't fix the issue, then provide the code for the screen and custom styles used in it.
If that won't fix the issue, then provide the code for the screen and custom styles used in it.
- Thu Apr 13, 2023 1:19 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Jump to label from game_menu not working
- Replies: 6
- Views: 366
Re: Jump to label from game_menu not working
How does the cutscene code look like?
If it is a bunch of scene/show statements with some transitions, then try to make it using ATL transforms.
If it is a bunch of scene/show statements with some transitions, then try to make it using ATL transforms.
- Wed Apr 05, 2023 4:10 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Unable to call python function to renpy screen, asks to define "show" [SOLVED]
- Replies: 2
- Views: 275