Quick particle question - what is the correct way to add an emitter to an actor? #2433
-
Probably a simple question, but my smooth brain isn't working atm: Works
Does not work
Link: https://codepen.io/chrisk7777/pen/poLroev?editors=0010 I note in the docs that it refers to I'm happy to open a doc PR once its all sussed out. Side questionI noticed in one of the issues that using the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
@chrisk-7777 In theory adding an emitter as a child to an entity should work, very possibly a bug with particle emitters... I'm looking into it. I think the docs are out of date for sure 👍 I think it's fine to use |
Beta Was this translation helpful? Give feedback.
@chrisk-7777 In theory adding an emitter as a child to an entity should work, very possibly a bug with particle emitters... I'm looking into it.
I think the docs are out of date for sure 👍
I think it's fine to use
particleSprite
now, the reason that message was there was in the past sprite modifications were expensive to animate. I think that's some stale information/documentation. Apologies, the particle emitter api is definitely one of the oldest in Excalibur and needs some work, it's definitely not the most friendly.