Modding: Image Emitters

Image emitters are commonly used to create particle animations, They are used on many things such as Picking up a Potion, Using a Kammi, Picking up a new wand etc.

Coding an image emitter
An image emitter is made using a ParticleEmitterComponent more info on the image emitter component can be found in component_documentation.txt under Steam\steamapps\common\Noita\tools_modding

The main parts of an image emitter involve: Here's an example of an image emitter with a played sound to run this image emitter you would do

Image Emitters
Image Emitter rely on a few conditions


 * if the background of the image is clear it should be replaced with black
 * The colors and shades of Red, Green, Yellow and Black should be only used

Different colors effect the image this is shown below;

Advanced Image Emitters
Once you come to grips with how image emitters works you can begin to understand how certain aniamtions are formed. Take the Kammi for example this is summoned using a combination of Green and Red in the image. The red causes the animation to have a constant amount of pixels and the green represents the animtion going to the centre (time) combined togther making yellow this creates the final animation of the Kammi.

Creating your own Kammi effect
Creating the kammi effect is probably the most difficult method to do (atleast in my opinion) - so i will guide you on how to do it :D

What i'm using
For this tutorial i will be using:


 * GMIC
 * Gimp
 * This Page as reference

If you aren't using gimp you need to make sure your software has a Distance Transform tool.

Steps
Now follow the steps below:

Other Methods
Many other methods could be used to achieve this effect - some maybe even leading to a nicer version of this here are some other ways of doing it but theres many more - if you happen to know any please feel free to add them :D


 * Gaussian blur
 * Enlarge the image, have it white, on a black background, and apply distance transform
 * Gradient Norm

Made by bobbymcbobface
With help from the awesome community that is noita :)