Check the repository
Assets
Let's complete our board, for this we will need assets:
A bomb png texture
A font
(You can use the as...
For further actions, you may consider blocking this person and/or reporting abuse
When I run using "cargo run" assets are loaded correctly. But when I try to launch debugger with visual studio code it fails loading assets.
my configuration looks like this:
should "cwd" (program working directory) be changed to something else?
Oh and also had to change BoardPlugin build debug section to use registry instead to make it work.:
Had to add environment variable in launch json :
a clue found in : docs.rs/bevy_asset/0.6.0/bevy_asse...
I don't use VS Code so I don't know about the issues with the built in debugger.
About the registry, you are using the old way of registering the components
Are you using the latest version of
bevy_inspector_egui? It should be0.8.x.Accessing the inspectable registry is no longer required
hmm. set the version in cargo to version = "~0.8". checked to see that version 0.8.2 is being downloaded. still had the same issue. Got panic:
bevy inspector egui panicked when unwrapping:
also. it seems that order of adding world inspector plugin matters (somehow expecting it to be strictly declarative). If I register the plugin at the start like this:
I get no panic, but sadly I also do not get any world inspector plugin.
If I add the world inspector plugin just before the app run it ends up panicking.
but anyways...
registry.register::<T>()work for me so I do not really care at this point :P. Thanks for your time!github.com/leonidv/bevy-minesweepe... - full tutorial updated to 12.1. One chapter per commit.