02Geek HTML5 and JavaScript, TypeScript, React, Flash, ActionScript online School
Previous VideoNext Video

Getting Started and setting up

Hello GreenSock Members. There are 3 tiers of memberships, and as such we split the course into seperate segements moving up based on the access level. By the end of this lecture, you will know how to work with our source files and will be ready to start animating.

Video Transcript

00:00Hello, Green Sock Club members and people that are planning on joining the Green Sock Club membership.
00:09Now, there are three tiers of membership and that's why we separated each chapter
00:13from next chapter and on to be based on the different tiers so you could learn about the different features that are available in those tiers
00:22starting from the lower level and moving up.
00:27Without further ado, what I want to do next is I want to show you the source files, show you how we're going to set up things on our end
00:34and in the next lesson, we're going to do a simple animation in the GSAP library that doesn't involve the club at all.
00:41There's a lot of amazing things you could do with the GSAP library in general.
00:45We actually have a 24-hour course, three courses actually, that combine together 24 hours of training over animation
00:52going really in-depth and we'll talk about that briefly in the next video.
00:57So, let's get started. You're going to see in your source files, once you download them, that they're going to be there a couple of directories.
01:03You're going to have your art directory, your CSS directory, your JS directory.
01:08Now, in that, we're going to have our GSAP Club HTML file which will be our main HTML that we work with
01:14and we're really going to try to stick to the least amount of files so you're going to find all the projects combined together.
01:21The only thing is that you have to go on to the GSAP login once you've already registered and paid for your membership
01:28and download the source files of all the stuff that involves GSAP and just make sure you put them in this folder that is inside of JS and GSAP
01:38for the animations to work and for you to be able to play along with us.
01:43So, let's get started and before I actually create a small simple demo,
01:46I want to show you basically a few stuff that we're going to start up with.
01:51So, for one is you can see already in the file that we just peeked at is that we have your simple, very simple project that's running.
01:58There really isn't a lot of stuff going on in it, but we do have an HTML structure that I pre-planned in advance
02:04and also CSS that I already pre-configured.
02:07I've also imported jQuery, the one dot version of it, and I've also already pre-loaded TweenMax and our club JavaScript file
02:17which will be our source file that we're working in.
02:20Throughout the training, we might add more scripts and if we do, we will talk about them.
02:24Now, in general, it's not mandatory for you to work with jQuery.
02:28You could work without any plug-in and work directly with the TweenMax library or the GSAP library in general,
02:36but in our case, because we're going to do some fancy interactions with the browser,
02:41we wanted to take advantage also of some of the features that are available in jQuery
02:45and you're going to see them as we go along when and why we really want to use jQuery.
02:50In our source files, you're going to see that I already pre-configured our onReady
02:55and I configured here the code for jQuery that will automatically call the onReady function whenever our application is done loading.
03:04And in other words, if you just right-click and go into your, find your inspector,
03:11and Chrome and Firefox would be, you would inspect an element and then you would see your inspector
03:17and you would find that inside of your console then, and if you move to the console, you'll see that
03:21hello GSAP has loaded, you don't see any errors, so we're in a good shape at this stage.
03:27And throughout our training, we're going to keep this inspector open, so make sure that you know how to target it.
03:32We talk more about that in our actual programming training and animation training.
03:36Here, we're going to be more focused on the actual animations themselves
03:40and focused exclusively on the Green Sock Club things.
03:44Now, before we do that, I want to do a small little sample of just a basic animation just forever
03:49is completely new to Green Sock Animation Library.
03:53And in the next video, we're going to have a really short video about that,
03:56which after that, we're going to jump right into the club features.
04:00So see you in the next video when we will talk a little bit about animation and see a sample of it.

Ready to Level Up Your Skills?

Join thousands of learners on 02GEEK and start your journey to becoming a coding expert today!

Enroll Now for Free!