GDevelop icon indicating copy to clipboard operation
GDevelop copied to clipboard

Add particle emitter examples provided by pixi into GDevelop asset store

Open tristanbob opened this issue 2 years ago • 5 comments

Description

Particle emitters have so many variables it is often overwhelming for new users to get started.

GDevelop should include a variety of particle emitters in the Asset Store so that people can quickly get a feel for what is possible and perhaps modify one of the examples for their own game.

Solution suggested

Pixi has ~30 particle emitter examples that we can use to quickly get started with this.

Test example particle emitters (click "Load"): https://pixijs.io/pixi-particles-editor/#

Source code: https://github.com/pixijs/particle-emitter/tree/master/docs/examples

tristanbob avatar Jul 06 '22 00:07 tristanbob

We can't directly import these particle effects from PixiJS, but we could totally recreate them with the Particle Object in GD and make them importable from the Asset Store I agree. The process would be:

  • Create a project with all the objects particles inside.
  • Send it to me, and I package the objects for the Asset Store :) !

We've a bit of documentation about the how to on the wiki, but maybe it's unclear, because it has been done once by Florian for the Wishforge Games' Particles objects. I can totally help to recreate these objects ;)

Bouh avatar Jul 07 '22 08:07 Bouh

I can help in that :3 Check list of finished particles (From pixi to GDevelop example)

  • [X] Trail
  • [X] Flame
  • [X] Gas
  • [x] Exposition 1
  • [x] Exposition 2
  • [x] Exposition 3
  • [ ] Megaman Death
  • [x] Rain
  • [x] Pixie Dust
  • [x] Smoke
  • [x] Bubbles
  • [x] Bubble Stream
  • [x] Bubble Spray
  • [x] Vertical Bubbles
  • [x] Cartoon Smoke
  • [x] Cartoon Smoke Blast
  • [x] Pixel Trail
  • [x] Snow
  • [x] Sparks

VegeTato avatar Jul 07 '22 17:07 VegeTato

Here is the project, i did my best to get the same results as pixi particles examples 👍 Particles Example.zip

• In Trail i added Blur effect to make it similar to what pixi example have. • "Megaman Death" is not possible to make from my experience(in one object) (tried and failed). • "Bubbles" are not exactly the same, because in pixi they have the option (Start speed & end speed) in GDevelop we only have Start speed. • "VerticalBubbles" are not exactly the same, because we cant set a spawning position in particles in the same time increasing in the radius of the emitter. • When you try "Rain" or "Snow" particles, rotate them to 50

VegeTato avatar Jul 07 '22 20:07 VegeTato

• "Megaman Death" is not possible to make from my experience (tried and failed).

On the megaman death, does the particle strictly should be inside one particle object? cause you can recreate if you spawn more particles in different angles

https://user-images.githubusercontent.com/1837825/177984185-8e02f0e6-5d77-447a-b923-52d31b757c86.mp4

MegamanDeath.zip

planktonfun avatar Jul 08 '22 11:07 planktonfun

I started to implement the objects in the Asset Store. I'll keep you informed here of the progress.

@planktonfun unfortunately objects can't yet be wrapped with their events, I'll skip this object for now.

Bouh avatar Jul 14 '22 00:07 Bouh

@Bouh this is completed, isn't it?

tristanbob avatar Oct 20 '22 16:10 tristanbob

Right, this is done the pack is: image

Bouh avatar Oct 20 '22 20:10 Bouh