I have an idea for a game in javascript (I'm going to make it with EaselJS) and I'll have to detect keypresses. After looking around on the internet I've seen a lot of suggestions (use window.onkeypress, use jQuery, etc.) but for almost...
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 = new createjs.Bitmap("...
I am trying to simulate a countdown animation using easeljs. I have got an example of what it should look like. http://jsfiddle.net/eguneys/AeK28/  But it looks like a hack, is there a proper/better/flexible way to do this?  To put it other way, how...
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 the demo.  I've been playing around with...
(Continuation of this question.)  So let's assume I have two stages and I want to update them simultaneously at a tick.  $( document ).ready(function() {      context = "First";     init();     context = "Second";     init();...
I am experimenting with EaselJS and 2 animation instances using sprite sheets and 2 separate canvases at different positions with the same z-index, they aren't layered.  What I have now are two EaselJS functions each with a different stage and sp...
I am writing a game on Javascript with canvas and easeljs and I wonder if there are any ways to protect it. For example, I use stage.Addchild(index) to add a new object to the stage. Simply editing DOM I can attatch new event handler and fire it, som...
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 js library to make a sdocml (if so is there a gene...
I am using EaselJS as an API for HTML5 canvas.  I noticed that the following code:  line.graphics.setStrokeStyle(1).beginStroke("black").moveTo(100,100).lineTo(200,200); stage.addChild(line);   ...produces following line:    I set the thickne...
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'm using a browser and a touch device to...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.