Skip to content

v0.4.0

Latest
Compare
Choose a tag to compare
@mnmaita mnmaita released this 22 Aug 07:35
08cc955

BREAKING CHANGE

It is no longer necessary to prepend the main folder where the assets are located when using FontAssetList.

If you were doing

app.insert_resource(FontAssetList::new(
    [
        "fonts/bold.ttf",
        "fonts/italic.ttf",
        "fonts/thin.ttf",
    ]
    .into(),
));

change this to

app.insert_resource(FontAssetList::new(
    [
        "bold.ttf",
        "italic.ttf",
        "thin.ttf",
    ]
    .into(),
));

The folder will be taken from the FontAssetFolder Resource.

What's Changed

Full Changelog: v0.3.0...v0.4.0