Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

phaser Group custom properties


JokerJESUS
 Share

Recommended Posts

Hello, I have a problem with adding custom properies to Phaser Groups

So i tried like this

Gun1.enableBody = true;
Gun1.createMultiple(10,'bullet');
Gun1.addAll('dmg', 20);

 And like this

	Gun1.enableBody = true;
	Gun1.createMultiple(10,'bullet');
    Gun1.setAll('dmg', 20);

And none of childrens has prop dmg....

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...