by Bearded Shepherd in
Creation Tips Coding Tutorials

There are some particles in the game that are completely animated through a texture, especially clouds, target effects, sparkles, petals, and more. You can make your own by simply adding this piece of code.

  • “frameRate” determines how long your particles take to pass to the next frame.
  • “numFrames” determines how many total frames there are.
  • “texDiv” defines how your texture is divided up. In all the examples here there are two frames ontop and two frames on the bottom. The dimensions make a perfect square. The texture reads from left to right and you can add more than 2,2.

This can only be put directly under “” textures.


In-game preview
Notify of

Inline Feedbacks
View all comments