{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/pxt-common-packages/issues/583","repository_url":"https://api.github.com/repos/Microsoft/pxt-common-packages","labels_url":"https://api.github.com/repos/Microsoft/pxt-common-packages/issues/583/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/pxt-common-packages/issues/583/comments","events_url":"https://api.github.com/repos/Microsoft/pxt-common-packages/issues/583/events","html_url":"https://github.com/Microsoft/pxt-common-packages/pull/583","id":392351515,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5NjQ0MDk0","number":583,"title":"particle source lifespan and destroy all effects at anchor","user":{"login":"jwunderl","id":5615930,"node_id":"MDQ6VXNlcjU2MTU5MzA=","avatar_url":"https://avatars0.githubusercontent.com/u/5615930?v=4","gravatar_id":"","url":"https://api.github.com/users/jwunderl","html_url":"https://github.com/jwunderl","followers_url":"https://api.github.com/users/jwunderl/followers","following_url":"https://api.github.com/users/jwunderl/following{/other_user}","gists_url":"https://api.github.com/users/jwunderl/gists{/gist_id}","starred_url":"https://api.github.com/users/jwunderl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwunderl/subscriptions","organizations_url":"https://api.github.com/users/jwunderl/orgs","repos_url":"https://api.github.com/users/jwunderl/repos","events_url":"https://api.github.com/users/jwunderl/events{/privacy}","received_events_url":"https://api.github.com/users/jwunderl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-18T21:53:13Z","updated_at":"2018-12-19T17:48:29Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/Microsoft/pxt-common-packages/pulls/583","html_url":"https://github.com/Microsoft/pxt-common-packages/pull/583","diff_url":"https://github.com/Microsoft/pxt-common-packages/pull/583.diff","patch_url":"https://github.com/Microsoft/pxt-common-packages/pull/583.patch"},"body":"lifespan for sources for making temporary effects (e.g. a fire that goes out after 5 seconds), destroy effects at the given anchor (destroys all that match x and y)."},"comment":{"url":"https://api.github.com/repos/Microsoft/pxt-common-packages/issues/comments/448684807","html_url":"https://github.com/Microsoft/pxt-common-packages/pull/583#issuecomment-448684807","issue_url":"https://api.github.com/repos/Microsoft/pxt-common-packages/issues/583","id":448684807,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODY4NDgwNw==","user":{"login":"jwunderl","id":5615930,"node_id":"MDQ6VXNlcjU2MTU5MzA=","avatar_url":"https://avatars0.githubusercontent.com/u/5615930?v=4","gravatar_id":"","url":"https://api.github.com/users/jwunderl","html_url":"https://github.com/jwunderl","followers_url":"https://api.github.com/users/jwunderl/followers","following_url":"https://api.github.com/users/jwunderl/following{/other_user}","gists_url":"https://api.github.com/users/jwunderl/gists{/gist_id}","starred_url":"https://api.github.com/users/jwunderl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwunderl/subscriptions","organizations_url":"https://api.github.com/users/jwunderl/orgs","repos_url":"https://api.github.com/users/jwunderl/repos","events_url":"https://api.github.com/users/jwunderl/events{/privacy}","received_events_url":"https://api.github.com/users/jwunderl/received_events","type":"User","site_admin":false},"created_at":"2018-12-19T17:48:29Z","updated_at":"2018-12-19T17:48:29Z","author_association":"CONTRIBUTOR","body":"If a sprite is destroyed the particle source remains as is. As a destroyed sprite just gains the `sprites.Flag.Destroyed` flag when it is destroyed until it is garbage collected, using `removeEffects` will work even if the sprite is destroyed: e.g.\r\n\r\n![arcade-screenshot 6](https://user-images.githubusercontent.com/5615930/50237639-488f0b80-0372-11e9-9cfe-8bfe73b7b4e9.png)\r\n\r\n![2018-12-19 09 36 26](https://user-images.githubusercontent.com/5615930/50237661-517fdd00-0372-11e9-8f53-c9806ead9299.gif)"}}
{"actor":{"display_login":"jwunderl"}}