Before diving into the powerful world of GreenSock animation, complete this essential setup to ensure a smooth learning experience throughout the tutorial.
Topics Covered in This GreenSock Tutorial:
Setting up Your Class Files
What You'll Learn
File Setup
Learn how to properly organize your GreenSock class files for development. Create your own working copy to avoid conflicts with original files.
Cross-Platform Instructions
Follow step-by-step guidance for both Mac and Windows systems. Each platform has specific keyboard shortcuts and procedures.
Setup Requirements
Minimize or hide open windows to access Desktop easily
Ensure you have the GSAP Class folder available on your system
Follow either Mac or Windows specific duplication instructions
Creating Your Own Copy of Class Files
Throughout this comprehensive workbook, you'll be working hands-on with carefully crafted class files designed to reinforce each concept as you learn it. Rather than risk accidentally corrupting the original templates, we'll establish a dedicated workspace that's entirely yours to experiment with. This approach not only protects the source files but also gives you the freedom to make mistakes, iterate, and truly master GreenSock's animation capabilities without constraints.
- Clear your workspace by minimizing or hiding any open windows so you can see the Desktop clearly.
- Locate and open the Class Files folder on your system.
Follow the instructions for your operating system below to create your personal copy:
Mac:- Single-click the GSAP Class folder to select it.
- Press Cmd–D to create an instant duplicate.
- Rename the duplicate folder yourname-GSAP Class (replacing "yourname" with your actual name for easy identification).
- Single-click the GSAP Class folder to select it.
- Press Ctrl–C to copy the folder to your clipboard.
- Press Ctrl–V to paste a complete copy.
- Locate the new copy (it typically appears at the bottom of your folder list) and rename it yourname-GSAP Class for easy identification.
Excellent! You now have a dedicated workspace with your own complete set of class files. This personalized environment will serve as your animation laboratory throughout the entire course—feel free to experiment boldly and push the boundaries of what's possible with GreenSock.
Mac vs Windows File Duplication
| Feature | Mac Method | Windows Method |
|---|---|---|
| Selection | Click once on GSAP Class folder | Click once on GSAP Class folder |
| Duplication Command | Press Cmd-D to duplicate | Press CTRL-C then CTRL-V |
| Result Location | Creates duplicate in same location | Copy may appear at bottom of folder list |
| Rename Step | Rename to yourname-GSAP Class | Rename to yourname-GSAP Class |
Mac Duplication Process
Select Folder
Click once on the GSAP Class folder to select it from the Class Files directory
Duplicate
Press Cmd-D keyboard shortcut to create an immediate duplicate of the selected folder
Rename
Change the duplicate folder name to yourname-GSAP Class for personalized identification
Windows Duplication Process
Select Folder
Click once on the GSAP Class folder to select it from the Class Files directory
Copy and Paste
Press CTRL-C to copy, then CTRL-V to paste. The new copy may appear at the bottom of the folder list
Rename
Change the copied folder name to yourname-GSAP Class for personalized identification
You now have your own set of class files to use throughout the class. This prevents accidental modifications to the original files and gives you a clean workspace for learning GreenSock animation techniques.