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
0
votes
0 answers

EASELJS: dotted lines appearing just above my bitmaps

Game Screenshot http://www.image-share.com/ipng-2442-264.html Hey, i'm a making a html5 game and on these particular star bitmaps I have the tiny dotted lines appearing. I've checked my png images and they dont have any dots on them. Anyone with…
CodesmithX
  • 246
  • 4
  • 8
0
votes
0 answers

preload map tiles before drawing

I'm creating a browser based game with javascript (createJS) and HTML5 canvas... and am working on the tilemap drawings. I would like to preload all tiles before drawing them. function start() { stage = new createjs.Stage("demoCanvas"); …
user3871
  • 12,432
  • 33
  • 128
  • 268
0
votes
1 answer

performance hit of stage.update() in ticker

I'm using createJS with HTML5 canvas to create a browser game. Is there a big performance difference of updating the stage in the tick event function tick() { stage.update(); } versus just calling stage.update() each time I move the shape, or…
user3871
  • 12,432
  • 33
  • 128
  • 268
0
votes
1 answer

createJS caching tilemap background does not render

If I don't cache the container of tiles after creating the map, I can see them rendered to the canvas: function createWorld() { background = new createjs.Container(); for (var y = 0; y < mapWidth; y++) { for (var x = 0; x <…
user3871
  • 12,432
  • 33
  • 128
  • 268
0
votes
1 answer

createJS hittest for label

I'm trying to register a hit test on a createJS label. I have two questions: 1) As you can see from the pic below, hit test only register when I hover over the red ball, and not the label. I think this is because the ball's size is much larger. How…
user3871
  • 12,432
  • 33
  • 128
  • 268
0
votes
0 answers

EaselJS adds Bitmap to stage oversized

I'm trying to dynamically create and add a Bitmap image and add it to stage, but when I do the image always comes in incredibly oversized (2-3x), so I always have to find some arbitrary scale numbers to get it right (ex 375x500 image made me use…
CodedMonkey
  • 458
  • 1
  • 7
  • 17
0
votes
1 answer

Correct implementation of a spritesheet with createJS library?

I have seen about 10 different implementations of spritesheets in createJS. I have tried this a number of different ways, but can't get my spritesheet to appear on the stage. When investigating with Google Chrome tools, I see the sprite object…
0
votes
2 answers

GameDevelopment Best Practise: Scaling distances of actions and objects

i started to develope a web-based game on the canvas element in addition with create http://www.createjs.com/ , where the user has actions like jump over obstacles and collect goddies and so on. I want to publish it on many devices like…
Sven Delueg
  • 1,001
  • 11
  • 23
0
votes
0 answers

Speed issue in Firefox after converting flash FLA file to html 5 using createJS

Converted flash FLA file to html 5 using CreateJS toolkit, it works smoothly in Google chrome but very slow in Firefox, Click Event listeners taking more time to respond also the animations, how can i solve this issue?
Harsha
  • 13
  • 1
  • 7
0
votes
0 answers

CreateJS - Can't tween secondary stage

I'm working on a web-app that uses CreateJS. Due to the nature of the app, I am using the API's DOMElements, and as such, if I want to draw anything over those DOMElements I'd have to create a secondary Stage object (which I have). I have the…
DanTheMan
  • 556
  • 2
  • 7
  • 21
0
votes
4 answers

pass through current target name to function

I'd like to dynamically create event listeners for multiple buttons, and subsequently, show a particular frame label depending on the button clicked, but I'm unsure what to pass through (FYI, this is will be used for HTML5 canvas in Flash CC, but…
0
votes
1 answer

Using nodeJS and createJS for browser single-player RPG

I'm creating a single player web RPG in JavaScript. It will not be too heavy of an events-based game, but I will be loading lots of objects to the screen. I have two questions: 1st: I've used createJS to load my bitmaps, but noticed severe lag when…
user3871
  • 12,432
  • 33
  • 128
  • 268
0
votes
1 answer

In JSFL, is there a workaround for writing to BitmapItem.sourceFilePath?

I want to write a script that replaces the source of certain bitmap objects in my library with another file. Actually, it's not important that the object is updated on the stage in Flash, and I don't care if BitmapItem.sourceFileIsCurrent's state…
PokeJoe
  • 57
  • 1
  • 7
0
votes
1 answer

Can two Stages contain the same child element?

Is is possible for two stage objects to contain the same child element? I am basically looking to create two stages with differing scale factors, each containing all of the same child elements and essentially "mirroring" each other at different…
itsmequinn
  • 1,054
  • 1
  • 8
  • 21
0
votes
1 answer

CreateBundle Symfony CMF

I am trying to use the create bundle symfony cmf. So far everything works because I am able to edit blocks but I am not able to save my content. I get the following error: Error occurred while saving [{"message":"Not found:…
Dr.Knowitall
  • 10,080
  • 23
  • 82
  • 133