Skip to content
This repository was archived by the owner on Feb 21, 2024. It is now read-only.

fix: resolve image caching issue on flame_game template#143

Merged
alestiago merged 11 commits into
VeryGoodOpenSource:mainfrom
BBarisKilic:fix/resolve-image-caching-issue-on-flame_game-template
Jan 30, 2024
Merged

fix: resolve image caching issue on flame_game template#143
alestiago merged 11 commits into
VeryGoodOpenSource:mainfrom
BBarisKilic:fix/resolve-image-caching-issue-on-flame_game-template

Conversation

@BBarisKilic

Copy link
Copy Markdown
Contributor

Status

READY

Description

Fixes: VeryGoodOpenSource/very_good_cli#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

  • ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore

@BBarisKilic BBarisKilic requested a review from a team as a code owner December 12, 2023 00:32
Comment thread src/very_good_flame_game/test/game/components/counter_component_test.dart Outdated
Comment thread src/very_good_flame_game/test/game/entities/unicorn/unicorn_test.dart Outdated
@wolfenrain

Copy link
Copy Markdown

Thanks for the contribution!

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

@alestiago

Copy link
Copy Markdown
Contributor

Resolves #918

@alestiago alestiago added the waiting for response Response required label Jan 12, 2024
@BBarisKilic

Copy link
Copy Markdown
Contributor Author

Tests have been updated as @wolfenrain suggested.

@alestiago alestiago requested a review from wolfenrain January 19, 2024 09:58
@alestiago alestiago removed the waiting for response Response required label Jan 19, 2024

@alestiago alestiago left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Made some minor adjustments to the tests, overall LGTM! Thank you for the contirbution 💙

@alestiago alestiago self-assigned this Jan 30, 2024
@alestiago alestiago merged commit 2ce4052 into VeryGoodOpenSource:main Jan 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

fix: resolve image caching issue on flame_game template

3 participants