CG数据库 >> FXPHD – AFX303 Advanced Scripting for After Effects, Part 1

FXPHD – AFX303 Advanced Scripting for After Effects, Part 1的图片1

8 Classes Project Files Included MP4

Title: FXPHD – AFX303 Advanced Scripting for After Effects, Part 1

Info:

You already have some experience with scripting in After Effects (or attended the Beginner Scripting Course AFX226)? Then this course will take your scripting work to the next level! In the course, scripting expert Mathias Möhl will focus on three aspects: scripting tools, clean code and hands-on examples.

# Scripting Tools #

Learn how to use the distributed version control system git that turns your code into a time machine in which you can track changes, access previous version of your code and collaborate with other team members. Also, learn how to configure the Atom text editor for After Effects scripting to turn it into a very powerful alternative for ExtendScript Toolkit. The best of it: Both git and Atom are not just highly professional software development tools, but also available free.

# Clean Code #

The larger your scripting projects become, the more important it is to write clean code, that consists of independent, modular and reusable code blocks. In this course you learn how to write such clean code and how to create your own library of reusable code snippets. To achieve this goal, you also learn how to use functions effectively and how to use the Module and Constructor patterns.

# Hands-on Example #

All the concepts mentioned above are explained based on hands-on After Effects scripting examples. You learn, for example, how to embed images for the user interface of a script directly in the code and how to read data from a spreadsheet.

course syllabus

CLASS 1

We start by configuring the Atom text editor for After Effects scripting. We configure Atom such that it does proper syntax highlight for jsx files and configure a keyboard shortcut that executes the After Effect script directly from inside Atom. Also, you get a first overview of the git version control system.

CLASS 2

Here you get some first practical experience with git and learn how to access previous versions of your scripting code with it. You also learn how to add icon buttons to the user interface of a script.

CLASS 3

In this class Mathias explains how to embed binary files – like the images of icon buttons – directly in your code. You also learn how to make your code more modular by using functions effectively.

CLASS 4

In this class we cover how to use the embedded binary data we created in the previous class. You also learn how to use tags in git to label important points in time in your development. Furthermore, you learn how to use exceptions in JavaScript to do proper error handling.

CLASS 5

Time to cleanup your code: Today we cover the Module pattern which is a key concept for modular and reusable code. You also learn how to execute command line calls from a script, how to open an URL in the default browser and how to create snippets in Atom.

CLASS 6

Reading data from a spreadsheet is useful in many scenarios where After Effects should be used in an automated way. In this class we start writing a function that reads data from a spreadsheet. We also cover a good habit how to deal with optional arguments of functions.

CLASS 7

In this class we finish the spreadsheet parser we started in the previous class. You also gain some hands-on experience in debugging your code with ExtendScript Toolkit.

CLASS 8

In this class we cover the Constructor pattern which allows you to create objects in the spirit of Object Oriented Languages like Java or C++. Like the Module pattern, this is a key concept for clean, reusable code.

发布日期: 2017-07-14