What is CreateJS?
For me, CreateJS will be a way to take my Flash skills and use them in a way that will work with HTML5, and on more devices than the Flash Player is currently running on.
First things first - You need to know HTML and JavaScript. A great place to learn this is at W3Schools, don't worry, it's free!
I'd start with learning HTML, then HTML5, then JavaScript.
CreateJS appears to be a JavaScript 'library' (a collection of JavaScript functions that someone has written, that makes really complex things a lot easier), which also writes a lot like actionscript 3 (Flash programming language). So if you know JavaScript, or ActionScript 3, then a lot of the logic behind what you are doing comes very quickly.
Second things second - You need to download the library.
It looks like you can actually use the online versions of the libraries in your scripts, but I think your fields would have to be online too for that to work.
For writing and testing script on your hard-drive, the files need to be on your hard-drive too (I tried accessing the online one, it wouldn't work. I'm sure some people knew this was obvious, but I had to check.).
The website for downloading them is here. And you will have to unzip the folder to access the files inside.
Once inside, open the 'tutorials' folder, then the 'Getting Started' folder, and then the 'index.html' file. This will take you through the basics of how to use the library as a script source, making a canvas tag, and if I remember correctly, drawing a red circle.
For now, I will be going through these tutorials, so anything I post will just be a re-organisation of what I learnt there, into a format that makes more sense to me.
But I just thought I'd post this, because I spent a long time trying to find free tutorials on line, only to find that they were available within the download itself!
Warning: The tutorial may have typos in the code (e.g. Window, instead of window), but the source code for the examples works, so use that as a guide.
No comments:
Post a Comment
Please enter your message here...