1. Home
  2. Docs
  3. PopcornFX v2
  4. Node Reference
  5. Templates

Templates

With PopcornFX v2, we ship a set of basic templates, which we call the PopcornFX core template library.

 

It defines a set of template nodes, ranging from script function wrappers such as “scene.axisUp()”, to more advanced event placement nodes, physics, collision, and trail nodes, with a whole spectrum of helpers in-between, such as color helpers, rotation helpers, and much more.

 

You can create effects without using the core template library, but it is not recommended.
It contains the building blocks which will allow you to quickly create complex effects.

By default, the core template library files are located, from the root of your project, in “Library/PopcornFXCore/Templates

 

Core library updates

We update the core template library automatically with every new release, and keep fleshing it up, fixing usability issues along the way, based on community feedback.

You should not modify the template library files !
When opening your projects with a new PopcornFX editor build, it will overwrite the entire template library with the updated version. Therefore, any changes you made to the corelib files will be lost.

 

Breaking changes

Even though we try to avoid these when possible, sometimes we need to change the way some templates work, for the greater good 🙂
When we do this, the editor knows about it and is able to patch your effects so they still work with the new changes, so you shouldn’t have to worry about anything.

Your project will appear as needing upgrades, and if you choose to upgrade, it will open with the new editor version, the editor will silently update the corelib files, and patch your effects so they produce the same results with the new corelib changes.

This robust upgrade system is what allows us to keep moving forward without having to support hard to use legacy stuff during years, but also stay in sync with the user feedbacks and the advances of the tech behind PopcornFX, and keep the corelib fresh and efficient.

Was this article helpful to you? Yes No

How can we help?