VeryGoodOpenSource / very_good_flame_game

A Very Good Flutter Starter Flame Game created by the Very Good Ventures Team ๐Ÿฆ„
https://brickhub.dev/bricks/very_good_flame_game
MIT License
85 stars 11 forks source link

fix: resolve image caching issue on flame_game template #143

Closed BBarisKilic closed 9 months ago

BBarisKilic commented 11 months ago

Status

READY

Description

Fixes: https://github.com/VeryGoodOpenSource/very_good_cli/issues/918

There is a bug on the generated flame_game template. The cached images are not accessible from the FlameGame, therefore they are not "actually" cached and causing a runtime error. This pull request fixes the issue.

Type of Change

wolfenrain commented 10 months ago

Thanks for the contribution!

I left a few comments about the styling of the code itself so it fits with our overal practices.

alestiago commented 10 months ago

Resolves #918

BBarisKilic commented 10 months ago

Tests have been updated as @wolfenrain suggested.