easeljs Questions
6
I have an array of objects (specifically easelJS images) - something like this:
var imageArray = new Array;
gShape = new createjs.Shape();
// shape is something
imageArray.push(gShape);
What I w...
Mailand asked 31/7, 2013 at 21:36
1
I'm building a mobile app using jQuery Mobile 1.3.0, EaselJs 0.6.0 and TweenJs 0.4.0.
So, when I load the page, some content gets visually duplicated. The DIVs are not really duplicated, it is jus...
Therapeutics asked 12/4, 2013 at 10:49
4
Solved
There are Shape.graphic methods to draw circles and rectangles easily, but no obvious method to draw polygons such as hexagons and polygons? How do you draw them using EaselJS?
Snooze asked 6/2, 2014 at 14:44
4
Solved
After a year of studying and experimenting through trial-and-error, I feel that I am starting to understand JavaScript a bit more. So, now, I wanna try my hand at writing a simple 2D platform game ...
Manifestative asked 21/6, 2013 at 18:51
3
Solved
I'm trying to find a good way for collision detection for my easelJS small app.
I've just created 2 rectangle using createjs.Shape
But after creating a rectangle shape, the API doesn't let me kno...
Handbill asked 3/12, 2013 at 11:42
3
Solved
I have a bitmap inside of a container. When I drag the container the cursor changes to the edit-text shape, and also the image jumps to the bottom-right side of the cursor (as though I'm holding th...
Marsland asked 3/4, 2014 at 6:6
1
Solved
I'd like to dynamically downsize some images on my canvas using createjs, and then store the smaller images to be displayed when zooming out of the canvas for performance reasons. Right now, I'm us...
Corissa asked 14/3, 2016 at 0:42
0
I am looking for a way to display animated gifs using the EaselJS/CreateJS library. The only source I find are on displaying an animated spritesheet, but in this case I simply want to show an anima...
Oconnor asked 21/2, 2016 at 18:53
2
Solved
I'm fairly new to Canvas. I've been trying to get the images reversed in this EaselJS Alpha Mask example so that the initial image is clear, and what you paint is blurry; basically, the reverse of ...
Deadfall asked 8/12, 2015 at 1:41
2
Solved
I'm trying to set the z-index for my line Graphic(). I'm trying to set the line to be always behind the other two shapes.
As far as I know, the first element added is z=0, the second one is z=1 a...
1
Solved
I want to have a random color where "Crimson" is defined
var stage = new createjs.Stage("demoCanvas");
var circle = new createjs.Shape();
circle.graphics.beginFill("Crimson").drawCircle(0, 0, ...
Urbanist asked 31/1, 2015 at 18:12
3
Solved
Am using Easeljs library. Everthing works fine in firefox and ie9 except in google chrome mouse events wont work and I got this error
"Uncaught An error has occured. This is most likely due to sec...
Than asked 9/6, 2012 at 20:52
2
Solved
I have EaselJS Shapes on the canvas and then I start drawing Graphics each tick. At the moment the graphics are being drawn over the Shapes. Is there a way to define the z-index so that the Shapes ...
Scouring asked 19/2, 2013 at 17:11
1
Trying to get Easeljs js library in Aptana 3 (as web project). Dragged the files in the project (files are indexed). It doesn't recognize the library as code assist.
Is the only way for external j...
Synaeresis asked 23/12, 2011 at 23:18
2
Solved
Pretty simple concept but it doesn't seem to be working. Here is my code:
stage.clear();
stage.update();
Simple stuff -- nothing happens. The docs aren't helping.
Montreal asked 24/10, 2012 at 19:10
1
Solved
I would like to create a pan function with my mouse in EaselJS. Is it possible to fill a container in such a way that I can make it draggable. Or is there another similar solution where I can move ...
Magisterial asked 27/1, 2014 at 15:50
1
Solved
This is my easel js function, it draws a red circle and an image, however the circle is showing but the image isn't.
function Start() {
var stage = new createjs.Stage("DogeCanvas");
var dog = ne...
Bennettbenni asked 31/12, 2013 at 2:7
1
Solved
Currently the problem I'm running into is, when I'm running locally (in a ubuntuVM), using WebStorm as a webserver, I run my game and it plays fine and its responsive, but when I uploaded it to my ...
1
Solved
I'm making a rotating rectangle with EaselJS but it doesn't work like I thought.
As I think, if I want to make a square (40x40) which rotates around its center at position x=100, y=100, I will nee...
1
Solved
I am new to EaselJS and I am trying to create a colored container with a centered text. This is my code:
var width = 100, height = 100;
canvas.width = width + 10;
canvas.height = height + 10;
var ...
Mayoralty asked 8/11, 2013 at 15:50
2
Solved
Is there any way to do this to let the user know the element is clickable?
I have been using easeljs but haven't found anything related.
Spectrometer asked 26/9, 2012 at 19:8
1
Solved
I'm creating a game using EaselJS, and I'm wondering if somebody can explain how the inheritance pattern used in the demo files works. Specifically, I'm looking at the following file: https://githu...
Swinger asked 2/8, 2013 at 3:43
0
I have an app with a little animation class. The animation class creates a canvas (using jQuery), creates a createjs.Stage element that uses this canvas, and then this stage element is used to do s...
Underlinen asked 21/8, 2013 at 12:14
1
Solved
I'm trying to use touch events with Createjs / Easeljs objects. For example, I'm trying to attach a touchstart and touchmove event using addEventListener.
Touchstart and mousedown seems to work: I...
De asked 18/6, 2013 at 10:30
1
Solved
is it possible to make a transparent rect clickable?
I don't want to fill it so it looks like
shape.graphics.setStrokeStyle(2).beginStroke("#000").rect(0, 0, 100, 100)
Zygo asked 30/5, 2013 at 7:12
1 Next >
© 2022 - 2025 — McMap. All rights reserved.