Quantcast
Channel: Pixi.js Latest Topics
Viewing all articles
Browse latest Browse all 3979

I found a Pixi Particles Editor which generates .json files. Does Pixi.js is still able to use these particle effects?

$
0
0

Here's the link:

PixiParticlesEditor (pixijs.io)

An animated example is shown on the left side of the page, and you can adjust the visual effects easily via the panel.

This page is using an older version of Pixi.js (3.0.9), and it's using PIXI.particles.Emitter to generate particles which had been deprecated long ago.

Do we have something that does the same job and is able to load the .json files generated by this editor? Much thanks ('w')

 

An example of the .json file:

{
	"alpha": {
		"start": 1,
		"end": 0
	},
	"scale": {
		"start": 0.1,
		"end": 0.01,
		"minimumScaleMultiplier": 1
	},
	"color": {
		"start": "#117d9e",
		"end": "#42abd4"
	},
	"speed": {
		"start": 60,
		"end": 20,
		"minimumSpeedMultiplier": 1
	},
	"acceleration": {
		"x": 0,
		"y": 0
	},
	"maxSpeed": 0,
	"startRotation": {
		"min": 0,
		"max": 360
	},
	"noRotation": true,
	"rotationSpeed": {
		"min": 0,
		"max": 0
	},
	"lifetime": {
		"min": 0.5,
		"max": 1
	},
	"blendMode": "normal",
	"frequency": 0.01,
	"emitterLifetime": -1,
	"maxParticles": 500,
	"pos": {
		"x": 0,
		"y": 0
	},
	"addAtBack": false,
	"spawnType": "circle",
	"spawnCircle": {
		"x": 0,
		"y": 0,
		"r": 0
	}
}

 


Viewing all articles
Browse latest Browse all 3979

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>