Skip to main content
Inspiring
January 8, 2020
Question

Animate 2020 Canvas StageGL not working

  • January 8, 2020
  • 2 replies
  • 888 views

FYI, the recent update looks like StageGL has been enabled on export seeing that it is being instance in the lib namespace. However, I think it should be noted that the stage is still not WebGL. If one wants to get webGL going I believe the following line needs to change in the export.

 

(lib.Stage = function(canvas) {
createjs.Stage.call(this, canvas);
}).prototype = p = new createjs.StageGL();

 

to

 

(lib.Stage = function(canvas) {
createjs.StageGL.call(this, canvas);
}).prototype = p = new createjs.StageGL();

 

 

This topic has been closed for replies.

2 replies

Participating Frequently
April 4, 2020

when I changed my generated code to what you suggested above some of the features in my document stopped working, I'm guessing stageGL does not fully support all the features yet, and this is the reason why, but I'm definetly interested in finding more about what is and is not supported. Any additional resources would be helpful

Joseph Labrecque
Community Expert
Community Expert
January 8, 2020

If you believe this to be a bug or oversight - definitely let the Animate team know: 
https://www.adobe.com/products/wishform.html