Jump to content

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


RustyHare
 Share

Recommended Posts

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
	}
}

 

Link to comment
Share on other sites

  • 4 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...