You can suspend the rollback using renpy.suspend_rollback. This would probably work best if you put these around the statement that shows the notification screen.
https://www.renpy.org/doc/html/save_loa ... d_rollback
Search found 31 matches
- Fri Aug 07, 2020 1:28 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Unwanted screen appearing when rolling back. How to exclude things from rollback?
- Replies: 3
- Views: 497
- Fri Aug 07, 2020 1:03 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Image Location Picker Not Working
- Replies: 1
- Views: 407
Re: Image Location Picker Not Working
Are you sure the file extension of these new images matches the filter of the image location picker? Are you sure the image file formats are supported? Have you tried checking where exactly the image location picker starts? Did you try turning it off and on again? Shotgun responses aside, it would b...
- Fri Aug 07, 2020 12:34 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How does one show images between the nvl and screens?
- Replies: 1
- Views: 389
Re: How does one show images between the nvl and screens?
You could try making a screen that contains all your custom stuff and also uses the nvl screen.
https://www.renpy.org/doc/html/screens.html#use
https://www.renpy.org/doc/html/screen_special.html#nvl
https://www.renpy.org/doc/html/screens.html#use
https://www.renpy.org/doc/html/screen_special.html#nvl
- Fri Aug 07, 2020 12:13 pm
- Forum: Ren'Py Questions and Announcements
- Topic: "Force left click" action
- Replies: 3
- Views: 1665
Re: "Force left click" action
You should be able to get the bar to move automatically by using the "change" method of the "ui.adjustment" object that's used by the bar. https://www.renpy.org/doc/html/screen_python.html#ui.change https://www.renpy.org/doc/html/screens.html#bar I would provide an example but I ...
- Fri Aug 07, 2020 11:38 am
- Forum: Ren'Py Questions and Announcements
- Topic: Continuously looping image limited to a a certain part of the screen
- Replies: 3
- Views: 389
Re: Continuously looping image limited to a a certain part of the screen
The crop property should help contain the image to a single area, which combined with a tile property and animated offset property I believe will get the effect you're looking for. screen foo: fixed: "looping_banner.png" at horizontal_loop(0.0, 0.0, 1.0, 1.0, 5.0) transform loop(x_a, y_a, ...
- Fri Aug 07, 2020 10:47 am
- Forum: Ren'Py Questions and Announcements
- Topic: notify screen
- Replies: 2
- Views: 386
Re: notify screen
To expand upon IrinaLazareva's answer, since what you're using is a python statement instead of a renpy statement, you need to use python syntax. An easy way to convert a renpy variable substitution to its python equivalent is to swap out the square braces for curly braces and add an "f" t...
- Fri Aug 07, 2020 10:30 am
- Forum: Ren'Py Questions and Announcements
- Topic: Show Menu after clicking through the dialogue
- Replies: 2
- Views: 438
Re: Show Menu after clicking through the dialogue
One way to achieve this is to call a label as the button's action which then uses normal renpy statements to display the dialogue and then the menu. Finally, the labelled section can return control back to the button. It is key however that this labelled section is declared before the start label so...
- Fri Aug 07, 2020 10:13 am
- Forum: Ren'Py Questions and Announcements
- Topic: Question: Define generated variable to show images
- Replies: 1
- Views: 396
Re: Question: Define generated variable to show images
The default statement is executed during load time which happens before the start label is reached so the variable substitution cannot be performed as the variable isn't defined yet. https://www.renpy.org/doc/html/python.html#default-statement So to fix this you can just use a regular python assignm...
- Fri Aug 07, 2020 9:27 am
- Forum: Ren'Py Questions and Announcements
- Topic: Is there a simpler way to make multiple choices in a row?
- Replies: 2
- Views: 419
Re: Is there a simpler way to make multiple choices in a row?
A more flexible way of storing the answers would be to use a list. This could allow you make more unique bad endings or easily change the correct answer later. $ response = [] menu: "What was the murder weapon?" "Scissors": $ response.append("scissors") "Gun":...
- Fri Aug 07, 2020 8:41 am
- Forum: Ren'Py Questions and Announcements
- Topic: [TypeError: string indices must be integers] error
- Replies: 1
- Views: 367
Re: [TypeError: string indices must be integers] error
The quick and easy fix is to remove the quotation marks you have in the set variable action so it sets the variable to the actual variable instead of a string of its name. Also, you probably want to be calling the secondary "category" screen instead of showing it so you can instead return ...
- Wed Feb 05, 2020 1:39 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Setting heights of sprites
- Replies: 2
- Views: 467
Re: Setting heights of sprites
If you're continually needing to set the y position of these images you could try to instead set their yoffset attribute when define the images in an image statement and then set the x position using xpos each time the images are shown. image jeffery: 'jeffery.png' yoffset 25 #or whatever y position...
- Wed Feb 05, 2020 1:09 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Help with imagedissolve [Solved]
- Replies: 2
- Views: 526
Re: Help with imageDissolve
This can be easily achieved by using parallel statements in an Animation and Transformation Language (ATL) block. https://www.renpy.org/doc/html/atl.html#parallel-statement transform fourDissolve(new_img, d0, d1, d2, d3): #new_img is the name or filename of the image that should be dissolved to #eac...
- Wed Feb 05, 2020 12:17 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How do you access the details of hbox or frame
- Replies: 1
- Views: 407
Re: How do you access the details of hbox or frame
You will want to have a variable that stores whether the screen is in its expanded form and then use this variable to select from two different mouseareas to use to switch to the other state. You will also want to put an id on your hbox, use renpy.get_widget_properties() to access the area of this h...
- Sat Dec 14, 2019 1:16 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Calling Multiple Buttons?
- Replies: 5
- Views: 781
Re: Calling Multiple Buttons?
You can group together various screen elements, like buttons, using various grouping elements like vertical boxes , horizontal boxes , grids , fixed size boxes , or just by listing multiple elements in the screen. screen test: vbox: button "Skip" action Skip() button "Save" actio...
- Sat Dec 14, 2019 12:59 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Help! TypeError: %c requires int or char
- Replies: 5
- Views: 721
Re: Help! TypeError: %c requires int or char
Try moving your nested menus to labelled sections of the script. label start: menu: "This is the outermost menu. Please select an option." "option 1": call option1 "option 2": call option2 "This is where the script continues after both choices have been made" ...