AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Particle playground draw order8/3/2023 Basically just move your particle system into any other parent you'd like. The Playground Manager is needed in the scene to simulate the particle systems and takes care of the Global Manipulators, it is not necessary to be parent of a particle system. In this case you would publish to yourself, but you are also encouraged to put a price tag on your particle systems and distribute them. Step by step is explained in the Publish Guide on the official site. From there you can create new presets and export them through the Preset Wizard. The Playground also comes with some ready preset methods, which basically is its own structure of handling prefabs and displaying them with an icon in the Playground Wizard (Window > Particle Playground). In version 2.1 you'll also be able to set Sorting Layer and Order In Layer directly in the Rendering tab.Ĭlick to expand.Great! Yes, a particle system is like any other GameObject, you can create prefabs of it and export it as a UnityPackage. Finally scale your State's transform to fit your card and you should see a result similar to this:Īnother option is to use Source > Paint and by hand paint your particle positions on a plane collider in the scene. Then in Rendering tab you can set Color Source to Lifetime Color (using Source will leave you restricted to the pixel colors in your State), then apply any Lifetime Coloring and set Material you'd like. This is how I setup mine:ĥ) In the Forces tab you may want to set Only Source Positions to restrict particles to their distributed source points. Increase Particle Count until you see the result you were after. You can hit Set Particle Count in your unfolded new State to get the correct amount of particle per source point.Ĥ) In Particle Settings you may want to apply some Source Scatter to dissolve the original pixel structure. After hitting Create you should see your new State live in the Scene View. You will also most likely want to scale it down as each pixel with scale 1 will be one unit, but all settings can also be edited after creation in the list of States. In the Unity's Importer Settings make sure Read/Write is enabled and that you don't filter or compress it, you could set it up like this:ģ) Create a new State in your particle system ( Source > State > Create State), set your border image as Texture. Paint out your source positions and leave the rest as transparent.Ģ) Save the image as PSD or PNG in your project. The amount of pixels in the texture will determine how many source points will be created, any fully transparent pixels will be excluded (unless Playground Manager > Advanced > Build Zero Alpha Pixels is enabled).ġ) Create an image of 32x32 pixels (any non-power of 2 may create unwanted pixels when Unity scales the image at import). On to the important stuff, as you have a predetermined flat shape I'd suggest to use State as Source along with a texture.
0 Comments
Read More
Leave a Reply. |