tips4design Posted July 22, 2016 Share Posted July 22, 2016 I was wondering if Phaser.pool (or simillar) was implemented? (a group of re-usable objects for bullets for example) I know we were talking about this a few months ago. Link to comment Share on other sites More sharing options...
rich Posted July 22, 2016 Share Posted July 22, 2016 Not yet, no. Link to comment Share on other sites More sharing options...
icp Posted July 22, 2016 Share Posted July 22, 2016 You can always code it yourself : http://gamemechanicexplorer.com/#bullets-5 . Link to comment Share on other sites More sharing options...
tips4design Posted July 22, 2016 Author Share Posted July 22, 2016 2 hours ago, icp said: You can always code it yourself : http://gamemechanicexplorer.com/#bullets-5 . I know, but I had a class that I wanted to offer as a plugin and tried to make the code as clean as possible. If Phaser already had this implemented I could simply drop the extra code necessary for the pool pattern handling. Link to comment Share on other sites More sharing options...
rich Posted July 22, 2016 Share Posted July 22, 2016 I fully intend to split the Group class apart soon, and move lots of it to a generic Pool class. Link to comment Share on other sites More sharing options...
Recommended Posts