Thanks!Ocelot wrote: ↑Sat Feb 12, 2022 3:07 pmSomething like that:
Code: Select all
default save_version = config,version label after_load: if save_version != config.version: # Update data # Other things to do $ save_version = config.version # Update save game version return
Search found 21 matches
- Sat Feb 12, 2022 5:17 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Game version flag from saved files
- Replies: 2
- Views: 221
Re: Game version flag from saved files
- Sat Feb 12, 2022 11:38 am
- Forum: Ren'Py Questions and Announcements
- Topic: Game version flag from saved files
- Replies: 2
- Views: 221
Game version flag from saved files
Hello, I'm trying to implement the concept of a variable changing if the saved file loaded is from an old version of the game. Like I want to check user is currently using the latest version of the game, is this possible?
- Sun Jan 23, 2022 2:56 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Animation gradual speeding
- Replies: 2
- Views: 233
Re: Animation gradual speeding
Do you want it to slow based on time passed or based on the player's position in the dialogue? If the dialogue is in multiple lines, you could just define multiple, increasingly fast versions of the animation (i.e., "animation normal", "animation fast", "animation faster", "animation fastest") and ...
- Sat Jan 22, 2022 11:44 am
- Forum: Ren'Py Questions and Announcements
- Topic: Animation gradual speeding
- Replies: 2
- Views: 233
Animation gradual speeding
Hello, I have an animation that I define it like this: image animation: "images/dir/im_1.jpg" with dissolve 0.04 "images/dir/im_2.jpg" with dissolve 0.04 .... repeat and I call it in label using "scene animation with dissolve". This animation runs in the label while there's a dialogue that goes over...
- Fri Dec 17, 2021 7:56 am
- Forum: Ren'Py Questions and Announcements
- Topic: disable rollback button and skip button when you're inside a screen
- Replies: 2
- Views: 325
disable rollback button and skip button when you're inside a screen
Hello, the title kinda explains it. How to to disable skip and rollback for all screens? Like all together?
- Tue Dec 14, 2021 4:59 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Screen overlay
- Replies: 3
- Views: 439
Re: Screen overlay
Thanks you so much!
- Thu Dec 09, 2021 9:45 am
- Forum: Ren'Py Questions and Announcements
- Topic: Screen overlay
- Replies: 3
- Views: 439
Screen overlay
How to make a certain screen (it's a stats screen) always be over 3 screens whenever those 3 screens are active? Thanks!
- Wed Dec 08, 2021 1:10 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Say screen inside a screen
- Replies: 4
- Views: 320
Re: Say screen inside a screen
Thank you so much!
- Wed Dec 08, 2021 12:38 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Say screen inside a screen
- Replies: 4
- Views: 320
Re: Say screen inside a screen
Do you know how to call it?
I just want for a button I have inside a screen to trigger a simple dialogue.
I just want for a button I have inside a screen to trigger a simple dialogue.
- Wed Dec 08, 2021 8:13 am
- Forum: Ren'Py Questions and Announcements
- Topic: Say screen inside a screen
- Replies: 4
- Views: 320
Say screen inside a screen
Is there anyway I could call a say screen from inside another screen?
- Fri Nov 19, 2021 6:10 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Change Image Alpha Channel
- Replies: 1
- Views: 702
Re: Change Image Alpha Channel
Define the image again after you showed it (or after your condition has passed) but this time with an image manipulator.
- Fri Nov 19, 2021 6:04 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Hiding textbox on Android Devices?
- Replies: 4
- Views: 616
Re: Hiding textbox on Android Devices?
I'm not sure if this helps but you can make an if statement to know what platform the user is currently using.
Code: Select all
if renpy.variant("android") : ...- Fri Nov 19, 2021 5:56 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Mark All labels as seen
- Replies: 3
- Views: 414
Mark All labels as seen
Hello, is there a way to mark all labels as unseen? My problem is that renpy.seen_label(label) returns true if the label has executed at least once, but doesn't "de-count" if the game restarts from the beginning. So I thought if a put a code in the beginning of the script after the game starts to "d...
- Sat Nov 13, 2021 3:29 pm
- Forum: Ren'Py Questions and Announcements
- Topic: notify screen displaying variable name instead of variable text [SOLVED]]
- Replies: 2
- Views: 260
- Sat Nov 13, 2021 12:52 pm
- Forum: Ren'Py Questions and Announcements
- Topic: notify screen displaying variable name instead of variable text [SOLVED]]
- Replies: 2
- Views: 260
notify screen displaying variable name instead of variable text [SOLVED]]
Hello, I have this code:
And the problem is the "[energy]" part is being displayed as it is instead of the number it supposed to show, how can I fix this?
Code: Select all
python:
renpy.notify("Energy: [energy]")