0
HTML5 Canvas Responsive Scaling Faster
Community Beginner
,
/t5/animate-discussions/html5-canvas-responsive-scaling-faster/td-p/11295270
Jul 17, 2020
Jul 17, 2020
Copy link to clipboard
Copied
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
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Have something to add?
Join the conversation

