Skip to main content

Questions tagged [easeljs]

EaselJS is a JavaScript library for working with the HTML5 canvas element. Part of the CreateJS suite.

0 votes
0 answers
16 views

How to make a single function to load animation in Easeljs?

I am using the Easeljs library.Created a function to add an object and animation.Now the function has been added only for one picture;if you insert another sprite picture where each sprite has a ...
Lex34's user avatar
  • 75
0 votes
0 answers
31 views

Line drawn with easeljs - edges are not crisp

The edges are not sharp when drawing with easeljs. For straight line its okay, but the issue is for line with slope. Sample image of line var canvas = document.getElementById("testCanvas"); var ...
Abdul Sathar's user avatar
0 votes
0 answers
114 views

Is PixiJs is good for creating Graph to plot large number of data points with zoom and scroll

I want to build a Graph with scroll and zoom something similar to this (https://www.amcharts.com/demos-v4/line-chart-with-scroll-and-zoom-v4/) with lot more customization. I don't want to use any ...
Abdul Sathar's user avatar
0 votes
0 answers
30 views

EaselJS: update tweens as fast as possible while playing MovieClips at 30 FPS

I have Adobe Animate project exported to HTML5 which uses CreateJS as a backbone. All animations in AA (in terms of MovieClips) seem to be implemented with 30 FPS in mind. So, when I have CreateJS ...
Slaus's user avatar
  • 2,206
0 votes
0 answers
27 views

EaselJS Box2d Sockets.io app: object moving unexpectedly

sorry for the code dump but if any of you could help me figure out why the ball on this pong game moves vertically up and down instead of waiting for a serve command and then moving left to right, ...
Harry Main's user avatar
0 votes
1 answer
75 views

Weird fill + stroke alpha in CreateJS

I'm attempting to create a text shadow in CreateJS, although I suspect this issue applies to any fill + stroke combination with an alpha < 1. I want my text stroke to be aligned outside of my text, ...
GeorgePorge's user avatar
1 vote
1 answer
197 views

Create.js/Easel.js - createjs.Bitmap() - Getting SVG to load at original size?

I am using createjs.Bitmap to add an SVG to the stage. This is in Adobe Animate HTML5 Canvas which uses the Create.js/Easel.js frameworks. The project is using a responsive layout. The problem is ...
IlludiumPu36's user avatar
  • 4,274
0 votes
2 answers
293 views

Keep angle between 1 and 180 degrees

I have the following which returns the rotation in degrees of an object, lensParentRight, through 360. This is in Adobe Animate HTML5 Canvas (create.js/easel.js would apply). cylinderAngle is just ...
IlludiumPu36's user avatar
  • 4,274
0 votes
1 answer
164 views

Drag object around a half circle on mouse over - Adobe Animate HTML5 Canvas

I have the following code in Adobe Animate HTML5 Canvas using JavaScript/Easel.js/Create.js. The code enables an object to be dragged around a circle. I now want to change this to function for a half ...
IlludiumPu36's user avatar
  • 4,274
0 votes
2 answers
233 views

Drag object around a circle on mouse over - Adobe Animate/Create.js/Easel.js

Using Adobe Animate HTML5 Canvas which employs Create.js/Easel.js. I have the following code which drags an object around a circle. Works Ok, but the object should only be moveable when the cursor is ...
IlludiumPu36's user avatar
  • 4,274
0 votes
1 answer
50 views

Set button state - Create.js/Easel.js

In Adobe Animate HTML5 Canvas (Create.js/Easel.js), I am trying to set the state of a button, but not working with various code: this.retinoscopeButton.addEventListener("click", retinoscope....
IlludiumPu36's user avatar
  • 4,274
1 vote
2 answers
190 views

Is it possible to add a Gradient Filter to a Bitmap with EaselJS?

I have a Bitmap inside of a Container. The Container has all the transform properties (these properties are dynamic, they are fetched from the server). // Container const display = new createjs....
atian155's user avatar
0 votes
2 answers
40 views

How can I check if a symbol/MC is a child of another symbol/MC?

I'm using Adobe Animate HTML5 Canvas. EaselJS would also apply. How can I check if a symbol/MC is a child of another symbol/MC? So a symbol/MC is added as a child of lensParentLeft in the following. ...
IlludiumPu36's user avatar
  • 4,274
0 votes
1 answer
62 views

Can I Save only a specific item of an HTML canvas?

I've already known that there is a similar question "Save only a certain part of an HTML canvas" been solved. Save only a certain part of an HTML canvas However, my question is if there are ...
陳佩怡's user avatar
0 votes
1 answer
77 views

How to ignore right click on Easel JS

I am working on Easel JS and came across one issue. If I am adding Events to one easelJs element then how can I ignore the right-click and only listen to left-click? Click should work on a primary key ...
Shubham Shinde's user avatar

15 30 50 per page
1
2 3 4 5
68