Adobe Animate CC - Alternate for Default Camera - V cam - Tutorial with Code

Alternate for Default camera -  V cam:


There is alternative for default camere is v cam which is called Virtual Camera. If you have any problem in default camera use v cam as an alternative.
Watch video for full Detail.


How to use V-cam in Flash or Animate CC? this is the question all of you are asking to me in the comment. In this video I am going to Show how to Create a V cam by yourself. All you have to do is Just Copy the Code here, and Follow the Video steps.. Join our Facebook Animation community Group - NEIGHBORHOOD ANIMATORS: https://www.facebook.com/groups/25790... ActionScript Code:
var cameraTrans:Transform = new Transform(this);
var stageTrans:Transform = new Transform(parent); visible = false;
function updateStage(...rest) {
stage.addEventListener(Event.ENTER_FRAME, updateStage); parent.filters = filters;
stageMatrix.invert();
stageTrans.colorTransform = cameraTrans.colorTransform; var stageMatrix:Matrix = cameraTrans.matrix;
addEventListener(Event.REMOVED_FROM_STAGE, resetStage);
stageMatrix.translate(stage.stageWidth*.5, stage.stageHeight*.5); stageTrans.matrix = stageMatrix; }; updateStage(); function resetStage(...rest) {
parent.filters = new Array();
stage.removeEventListener(Event.ENTER_FRAME, updateStage); stageTrans.matrix = new Matrix(); stageTrans.colorTransform = new ColorTransform(); } Copy this Code and make use of it..
Thanks for watching and Subscribe for more videos.

Comments

Popular Posts