Canvas vs Screen

Just starting out? Need help? Post your questions and find answers here.
kirkkaf13
Posts: 3
Joined: Sat Feb 29, 2020 12:20 am

Canvas vs Screen

Post by kirkkaf13 »

Hello,

What are the differences between adding a canvas gadget or a screen? Is one the html5 canvas and the other handled by pixiJS?
poshu
Posts: 96
Joined: Mon Feb 24, 2014 11:46 pm

Re: Canvas vs Screen

Post by poshu »

Both are html5 canvas, the difference is WebGL : the screen is GPU accelerated (but it need to be refreshed every frame) while the canvas isn't.

You should select which one to use based on movement : do you need a lot of update to your canvas? Go screen. Will your canvas be mostly static? Go Canvas.
Post Reply