Quantcast
Channel: 2D Latest Topics
Viewing all articles
Browse latest Browse all 623

EaselJS can't figure out how to resize canvas.

$
0
0

Hi,

 

I have followed several tutorials on this subject, but none of them really worked for me.

 

Basically all you have to do is listen to 'resize' browser's event and then set the canvas x\y to the new value and finally update the stage.

 

I have done all of this but the main bitmap that is rendered on the page doesn't change when I resize the browser.

 

Any ideas?


Viewing all articles
Browse latest Browse all 623

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>