Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

HTML5 Canvas Responsive Scaling Faster

Community Beginner ,
Jul 17, 2020 Jul 17, 2020

I am looking for a way to get the canvas to scale before it is fully loaded.

I made a game and it works perfect. The problem is that it takes about 4 seconds to load, and in the mobile version that implies that it first shows the original size and only once it is loaded does it scale and reduce to the width of the device. As it is on a responsive website, all content is flipped to accommodate the new canvas size and is not a good user experience.


Any help or suggestion will be welcome! Regards

94
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation