Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

phaser seeded group

//  Limited to 20 objects in the pool, not allowed to grow beyond it
// bullets = this.pool.createObjectPool(Bullet, 20);
bullets = this.add.group({
  classType: Bullet,
  maxSize: 20,
  runChildUpdate: true
});
Source by github.com #
 
PREVIOUS NEXT
Tagged: #phaser #seeded #group
ADD COMMENT
Topic
Name
5+9 =