Questions tagged [createjs]

A suite of Javascript libraries and tools for building rich, interactive experiences with HTML5.

CreateJS is a suite of modular libraries and tools which work together to enable rich interactive content on open web technologies via HTML5. These libraries are designed to work completely independently, or mixed and matched to suit your needs.


The CreateJS Suite is comprised of:

  • EaselJS - Makes working with HTML5 Canvas a breeze
  • TweenJS - Powerful library for tweening and animating
  • SoundJS - Tools for working with HTML5 Audio API
  • PreloadJS - Asset management system
  • Zoë - Tool written in ActionScript for producing Sprites for the CreateJS library.

Resources


Related tags

1271 questions
4
votes
3 answers

PreloadJS is undefined(Windows 8 game programming)

I am new to metro style programming so I am following a tutorial here http://www.sitepoint.com/creating-a-simple-windows-8-game-with-javascript-game-basics-createjseaseljs/ for games using createJS. Here the code
Win Coder
  • 6,628
  • 11
  • 54
  • 81
3
votes
1 answer

I would like to understand the use of the "reversed" property of TweenJS

I don't find any valid example for understand the use of "reversed" propertie in TweenJs. Could you send me a bit of code, explaining this issue? Thanks!!
Perxeo
  • 31
  • 1
3
votes
2 answers

How to fix preloaded assets not showing on canvas in createjs?

I'm trying to create an animation by setting a background to a canvas and then trying to move my assets over the background image. I'm able to display the background image in the canvas and also able to preload all my assets. However, I'm not able…
Steve Tom
  • 31
  • 2
3
votes
2 answers

Using createJS in typescript?

I am attempting to incorporate createJS into a typescript project (a powerbi visual) that I am building. I have done the following: 1) Installed createJS and typings file using: npm install createjs --save and npm install --save @types/createjs 2)…
ClimbingTheCurve
  • 323
  • 2
  • 14
3
votes
2 answers

iOS ringer switch mutes web audio

In a project I'm working on I noticed that, on iOS, the sounds are muted when the ringer switch is turned off. The project is based on CreateJS and the sounds are managed by SoundJS. Frustratingly, other websites that use sounds/media (youtube,…
alebianco
  • 2,475
  • 18
  • 25
3
votes
1 answer

Mask with Alpha Filter in EaselJS or TweenMax

I'm trying to do a sheen effect passing above of my image and I just want that this effect just should show in the content of my image and not the all container. I been trying it a lot and I can not make working the alphaMaskChannel. I will…
3
votes
0 answers

Memory (RAM) occupied by single-page web app, made with createJS, keeps increasing without a memory leak

I have currently created several single-page web applications using createJS. The basic principle is to preload images and sounds between the different screens in the application, and then releasing those said assets from memory when the screen is…
Catalin Iancu
  • 722
  • 5
  • 18
3
votes
1 answer

Haxe CreateJS loading external manifest content fails

Am trying to build an app using Haxe and CreateJS (externs). I am running into an issue with loading manifests. Here is the code: function loadAssets():void { var _manifest:String = "assets/manifests/mymanifest.json"; _queue = new…
MikeH
  • 103
  • 5
3
votes
3 answers

Using Adobe Animate CC in HTML5 canvas mode with external JavaScript files

I'm transitioning a large FLA AS3 project into Canvas/JS. I have a large external folder structure of AS files and many library objects associated with classes. I've converted FLA into a canvas mode but I can't find a way to associate JS files to…
xims
  • 1,570
  • 17
  • 22
3
votes
1 answer

Upgrading to latest Createjs version from May 2013 version

This was the standard boiler plate I was using: var stage = new createjs.Stage("canvas1"); createjs.Ticker.addEventListener("tick",stage); stage.enableMouseOver(); ... createjs.Ticker.setFPS(12); createjs.Ticker.addListener(stage,false); Apparently…
Bob H
  • 135
  • 8
3
votes
1 answer

Using Createjs and Chartjs

I'm currently trying to use chartjs to make the chart and use createjs position it into the stage. Any ideas on how to puts a chartjs chart(radar) into createjs canvas stage?
3
votes
0 answers

EaselJS calulate font size of text

The createjs.Text class provides the usage of lineWidth, lineHeight, maxHeight, maxWidth, etc.. I can define a custom font size for my text but i need to calculate it. Here is my code: var headline = new createjs.Text("", "30px Arial",…
oops
  • 179
  • 1
  • 8
3
votes
2 answers

How to stop tween of element in CreateJS/TweenJS

I have multiple Tweens in CreateJS/TweenJS: createjs.Tween.get(elem1).to({..}); createjs.Tween.get(elem2).to({..}); In timeline, I need to stop one of Tweens. I tried: var tween1 = createjs.Tween.get(elem1).to({..}); var tween2 =…
zur4ik
  • 6,072
  • 9
  • 52
  • 78
3
votes
1 answer

How to replace a image path for base64 in this code?

I'm working to make a kaleidoscope effect in canvas, I'm using as example a code from: https://github.com/CreateJS/sandbox/blob/master/Kaleidoscope/demo.html (you can check it working on: http://sandbox.createjs.com/Kaleidoscope/demo.html) But when…
user3822492
  • 145
  • 1
  • 11
3
votes
2 answers

PreloadJS to pass to background-image

Am using Preload JS to load my images. Some of these images however need to be injected as background-images in CSS. However this doesn't work. When I pass my 'background' to $('.main').css('background-image', 'url(' + img + ')'); the HTML is…
Komsomol
  • 698
  • 10
  • 27
1 2
3
84 85