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

wasm asset listing from s3 #91

Conversation

varoonp123
Copy link
Contributor

The only thing @cdsupina needs to use is

/// A collection of file names/paths for individual background image assets to be lazily loaded.
/// These are fit to be used with bevy's AssetServer::load. Many architectures will support
/// bevy::asset::AssetIO::read_directory . But wasm32 does not support it. So we have a fallback
/// that can be populated by other systems. Generally this will be written to once and never
/// updated again.
#[derive(Resource, Deref, DerefMut, Default, From)]
pub struct BackupBackgroundAssetPaths(pub Vec<String>);

Copy link
Contributor

@cdsupina cdsupina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sick

… now because I dont want this to be able to change after we deploy. We will probably rework these type of 'top level app' options later
@varoonp123 varoonp123 closed this Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants