• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

createjs: camera issue

Participant ,
Oct 16, 2021 Oct 16, 2021

Copy link to clipboard

Copied

2 hours on this.

1 - Does the camera work with canvas. 

If not, then that solves my problem ie: it doesn't work - then why do they let you access it when I'm dealing with createjs and canvass.

 

2 - If it does work then I have a bug.

a - I have an app that let's me drag movieclips.

b - MCs are stored in an array.

c - I loop through the array to add functionality. Events on mouse down, up, move + bind to a function.

So that's the drag part.

Timeline and camera.

I have added frames to the timeline and a couple of keyframes.

In one of those keyframes I add the camera functionality. Enlarge between two KFs and I add a classic tween.

I add a button - when you press the button it should gotoAndPlay that keyframe.

1 - It doesn'tgotoAndPlay

2 - On top of that - the ducky movieclip stops being draggable.

 

If I remove the camera layer - everything works perfectly.

 

 

Views

147

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Oct 16, 2021 Oct 16, 2021

Copy link to clipboard

Copied

LATEST

1 - The draggable has been corrected

2 - The camera issue continues.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines