renpy reload got transparent background and no character(Solved)
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
- Li yuanlin
- Regular
- Posts: 94
- Joined: Sat Aug 04, 2018 8:42 pm
- Location: Hong Kong
- Contact:
renpy reload got transparent background and no character(Solved)
also appeared in some save loading
- Attachments
-
- Angels Survivors Minimal.rar
- (9.91 MiB) Downloaded 13 times
Last edited by Li yuanlin on Wed May 11, 2022 8:06 am, edited 2 times in total.
stay hungry,stay foolish.
- Ocelot
- Lemma-Class Veteran
- Posts: 2445
- Joined: Tue Aug 23, 2016 10:35 am
- Github: MiiNiPaa
- Discord: MiiNiPaa#4384
- Contact:
Re: renpy reload got transparent background and no character
Generally this happens with dynami images and implroper variable storage.
I am afraid it is impossible to tell more without minimal reproducible example.
I am afraid it is impossible to tell more without minimal reproducible example.
< < insert Rick Cook quote here > >
- Li yuanlin
- Regular
- Posts: 94
- Joined: Sat Aug 04, 2018 8:42 pm
- Location: Hong Kong
- Contact:
Re: renpy reload got transparent background and no character
I found all the images cannot load or reload are PNG files,while all the jpg files load and relaod correctly.
These situations below cause a checkerboard or black image in packed pc game:
1.shift+r to reload
2.save and load this save
3.quicksave and quickload this quicksave
rollback can get scene and characters shown
Is there anyway to get this fixed?
stay hungry,stay foolish.
- Li yuanlin
- Regular
- Posts: 94
- Joined: Sat Aug 04, 2018 8:42 pm
- Location: Hong Kong
- Contact:
Re: renpy reload got transparent background and no character
every dialogue right after the scene statement gets right scene png reload,but next dialogue canot reload scene after load or press shift+r
stay hungry,stay foolish.
- Ocelot
- Lemma-Class Veteran
- Posts: 2445
- Joined: Tue Aug 23, 2016 10:35 am
- Github: MiiNiPaa
- Discord: MiiNiPaa#4384
- Contact:
Re: renpy reload got transparent background and no character
Still need minimal reprodicible example, aka a small project exhibiting symptoms.Li yuanlin wrote: ↑Wed May 11, 2022 12:51 amI found all the images cannot load or reload are PNG files,while all the jpg files load and relaod correctly.
These situations below cause a checkerboard or black image in packed pc game:
1.shift+r to reload
2.save and load this save
3.quicksave and quickload this quicksave
rollback can get scene and characters shown
Is there anyway to get this fixed?
And problems arising from using autoreload should not be considered: it is not perfect and only exist to aid in development. Actual players will not have access to it anyway.
< < insert Rick Cook quote here > >
- Li yuanlin
- Regular
- Posts: 94
- Joined: Sat Aug 04, 2018 8:42 pm
- Location: Hong Kong
- Contact:
Re: renpy reload got transparent background and no character
I have already uploaded my project,would you mind finding the problem?Ocelot wrote: ↑Wed May 11, 2022 5:34 amStill need minimal reprodicible example, aka a small project exhibiting symptoms.Li yuanlin wrote: ↑Wed May 11, 2022 12:51 amI found all the images cannot load or reload are PNG files,while all the jpg files load and relaod correctly.
These situations below cause a checkerboard or black image in packed pc game:
1.shift+r to reload
2.save and load this save
3.quicksave and quickload this quicksave
rollback can get scene and characters shown
Is there anyway to get this fixed?
And problems arising from using autoreload should not be considered: it is not perfect and only exist to aid in development. Actual players will not have access to it anyway.
stay hungry,stay foolish.
- m_from_space
- Eileen-Class Veteran
- Posts: 1057
- Joined: Sun Feb 21, 2021 3:36 am
- Contact:
Re: renpy reload got transparent background and no character
This happens for me too for the first transition or so that occurs after using autoreload in game development. As Ocelot said, it's not important since it doesn't happen in normal games (where autoreload is not available).
- Ocelot
- Lemma-Class Veteran
- Posts: 2445
- Joined: Tue Aug 23, 2016 10:35 am
- Github: MiiNiPaa
- Discord: MiiNiPaa#4384
- Contact:
Re: renpy reload got transparent background and no character
The problem is at line 128 of options.rpy
scene statement removes all displayables from master layer, so any image will be removed when you load your game.
Code: Select all
label after_load:
$ preferences.set_volume('ambient', 0.2)
# $ renpy.quit_action = Quit(confirm=True)
scene
return
< < insert Rick Cook quote here > >
- Li yuanlin
- Regular
- Posts: 94
- Joined: Sat Aug 04, 2018 8:42 pm
- Location: Hong Kong
- Contact:
Re: renpy reload got transparent background and no character
I mean it happened on loading saves,which needs fixed.Tried on pack game,loading some saves gets transparent scene and cannot show scnene.m_from_space wrote: ↑Wed May 11, 2022 7:56 am This happens for me too for the first transition or so that occurs after using autoreload in game development. As Ocelot said, it's not important since it doesn't happen in normal games (where autoreload is not available).
stay hungry,stay foolish.
- Li yuanlin
- Regular
- Posts: 94
- Joined: Sat Aug 04, 2018 8:42 pm
- Location: Hong Kong
- Contact:
Re: renpy reload got transparent background and no character
Thank you so much! didn't mind that silly typing mistake,my fault.Ocelot wrote: ↑Wed May 11, 2022 7:58 am The problem is at line 128 of options.rpyscene statement removes all displayables from master layer, so any image will be removed when you load your game.Code: Select all
label after_load: $ preferences.set_volume('ambient', 0.2) # $ renpy.quit_action = Quit(confirm=True) scene return
stay hungry,stay foolish.
Who is online
Users browsing this forum: Google [Bot]