In this tutorial we will be exploring the CreateJS suite of libraries. CreateJS is suite of JavaScript libraries and tools for building rich, interactive. The script tag on line 4 includes the EaselJS library in our document so that we can work with it. We have a few options for how we do this: link to a local copy of . Refer to the GitHub repository for complete source code and a demo is available here. Other tutorials can be found on the CreateJS website.

Author: Vigrel Zujar
Country: Cuba
Language: English (Spanish)
Genre: Photos
Published (Last): 4 October 2010
Pages: 419
PDF File Size: 12.19 Mb
ePub File Size: 5.81 Mb
ISBN: 197-2-15359-523-8
Downloads: 75003
Price: Free* [*Free Regsitration Required]
Uploader: Netaur

Introduction to CreateJS – Part 1

Similarly, the Graphics object provides several functions to create shapes. Web Dev Partner Resources.

See the original article here. Over a million developers have joined DZone. Test in Production the Netflix Way.

EaselJS: Getting Started

Deploy code to production now. Release to users when ready. Each shape has a Graphics instance which is the interface to the canvas drawing system. Tutoria, came across the JavaScript library CreateJSwhich provides a suite of modular libraries that work together or independently to enable interactive content via HTML5. Introduction to CreateJS — Part 1.


Stage is the root level container for display objects.

A Brief Overview tuyorial Indigo. For other geometrical shapes, refer to the code on GitHub. Tools and Libraries, Part 3. It allows you to change color, alignment, size, font, wrapping, and other settings of Text objects.

In this article, we introduce the JavaScript library suite known as CreateJS, and show you how to make some basic animations using one of it’s component libraries. This can be done by Text objects of EaselJS.

EaselJS Tutorial: Getting Started

Join the DZone community and get the full member experience. This function will update the coordinates of shapes at the touch point and redraws the canvas. Recently I have been attempting to build casual games. This can be achieved through the following line of code:.

Integrate Feature Flags in Angular. Learn how to separate code deployment from user-facing feature releases with LaunchDarkly.

CreateJS | A suite of JavaScript libraries and tools designed for working with HTML5

Opinions expressed by DZone contributors are their own. Refer to the GitHub repository for complete source code and a demo is available here. These classes are included in the minified files of each library and are available on the CreateJS namespace.


Thank you for taking the time to read this article. From Design to Code: Provides Step-by-Step Guidance to Angular.

The modular libraries are:. Take a look at the official documentation to see how to titorial different shapes. The modular libraries are: We will pass the canvas object, which we created earlier.

In my demoI have added a text above the shapes. This can be achieved through the following line of code: This canvas object will be used by the Ewseljs object for the rendering of display objects. This Shape allows us to display vector graphics on the canvas. To draw a shape on the canvas, first, we will need to create a Stage object.