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: The web version on mobile device is not displayed properly #145

Closed lambej closed 7 months ago

lambej commented 8 months ago

Description I tried the web build on a mobile device. The text is too big for the screen and the image is blurry.

Steps To Reproduce

  1. Build the project flutter build web -t lib/main_production.dart
  2. Deploy on firebase
  3. Go to your app on your mobile browser

Expected Behavior I'm expecting the game to be optimized for mobile devices even if it's the web version.

Screenshots image

wolfenrain commented 8 months ago

We probably have to change the TextComponent to be a TextBoxComponent that knows the max width so it wraps correctly.

If you feel up to it you can have a stab at it yourself! Let us know if you would like to be assigned 🙌

lambej commented 8 months ago

Yes why not, I can give it a try :)

lambej commented 7 months ago

I would need some help for that. I changed the TextComponent for a TextBoxComponent but I still not see the text correctly. It still too big for the screen.

alestiago commented 7 months ago

HI @lambej ! We can try helping you out 🙌

In the meantime, we're moving this repository to Very Good Templates. Hence, I'm closing this issue. Could you re-open the issue there?