Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check that background images exist #10233

Open
Booplicate opened this issue Mar 25, 2024 · 0 comments
Open

Check that background images exist #10233

Booplicate opened this issue Mar 25, 2024 · 0 comments
Assignees
Labels
enhancement making existing stuff better help wanted
Projects

Comments

@Booplicate
Copy link
Member

Since we know at the time of definition of background object what images it's going to use, we can validate that the images are loadable by renpy. This will prevent crashes when people fail to install a submod or an image has been deleted/corrupted. For these cases we should fallback to the default background and log the error.

The builtin backgrounds should always raise an error on a missing asset.

@Booplicate Booplicate added the enhancement making existing stuff better label Mar 25, 2024
@Booplicate Booplicate self-assigned this Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement making existing stuff better help wanted
Projects
core
  
Awaiting triage
Development

No branches or pull requests

1 participant