{"action":"created","issue":{"url":"https://api.github.com/repos/libgdx/libgdx/issues/2893","labels_url":"https://api.github.com/repos/libgdx/libgdx/issues/2893/labels{/name}","comments_url":"https://api.github.com/repos/libgdx/libgdx/issues/2893/comments","events_url":"https://api.github.com/repos/libgdx/libgdx/issues/2893/events","html_url":"https://github.com/libgdx/libgdx/issues/2893","id":59457651,"number":2893,"title":"ParticleEffect.scaleEffect(float scaleFactor) causes pooled FX to not reset() correctly","user":{"login":"just4phil","id":2955658,"avatar_url":"https://avatars.githubusercontent.com/u/2955658?v=3","gravatar_id":"","url":"https://api.github.com/users/just4phil","html_url":"https://github.com/just4phil","followers_url":"https://api.github.com/users/just4phil/followers","following_url":"https://api.github.com/users/just4phil/following{/other_user}","gists_url":"https://api.github.com/users/just4phil/gists{/gist_id}","starred_url":"https://api.github.com/users/just4phil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/just4phil/subscriptions","organizations_url":"https://api.github.com/users/just4phil/orgs","repos_url":"https://api.github.com/users/just4phil/repos","events_url":"https://api.github.com/users/just4phil/events{/privacy}","received_events_url":"https://api.github.com/users/just4phil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-02T09:36:19Z","updated_at":"2015-05-21T15:24:55Z","closed_at":null,"body":"Hi.\r\ni have constant issues with pooled particleEffects / emitters.\r\n\r\nafter some investigation i found out that ParticleEffect.scaleEffect(float scaleFactor) causes pooled FX to not reset() correctly.\r\n\r\nhere is a libgdx-barebone-desktop-app to test it:\r\nhttp://pastebin.com/wmMBiiTv\r\n\r\nhere are the .png and .p files. put them in assets into a subdirectory \"particleFX\" \r\nhttps://www.dropbox.com/sh/o014eeg53y6cymn/AACJFE-wwFhQ_hgiowqNsrtea?dl=0\r\n(not sure if this works)\r\n\r\nalternative:\r\nthis is the .p file. (name it \"test_explosion.p\" and put it into assets/particleFX/\r\nhttp://pastebin.com/826YZQnm\r\n\r\nput the standard particleImage \"particleExhaust.png\" there, too.\r\n\r\napp:\r\npress SPACE\r\nand activate / deactivate the line with setScale...\r\n\r\nbye\r\nphil"},"comment":{"url":"https://api.github.com/repos/libgdx/libgdx/issues/comments/104318485","html_url":"https://github.com/libgdx/libgdx/issues/2893#issuecomment-104318485","issue_url":"https://api.github.com/repos/libgdx/libgdx/issues/2893","id":104318485,"user":{"login":"Darkyenus","id":5280068,"avatar_url":"https://avatars.githubusercontent.com/u/5280068?v=3","gravatar_id":"","url":"https://api.github.com/users/Darkyenus","html_url":"https://github.com/Darkyenus","followers_url":"https://api.github.com/users/Darkyenus/followers","following_url":"https://api.github.com/users/Darkyenus/following{/other_user}","gists_url":"https://api.github.com/users/Darkyenus/gists{/gist_id}","starred_url":"https://api.github.com/users/Darkyenus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Darkyenus/subscriptions","organizations_url":"https://api.github.com/users/Darkyenus/orgs","repos_url":"https://api.github.com/users/Darkyenus/repos","events_url":"https://api.github.com/users/Darkyenus/events{/privacy}","received_events_url":"https://api.github.com/users/Darkyenus/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T15:24:55Z","updated_at":"2015-05-21T15:24:55Z","body":"Loading it from the file on each time would be terribly slow. It would have to be saved alongside ParticleEffect or nearby."}}