Minious / CodeFarm

2 stars 0 forks source link

Give a name to every Phaser object in the game #57

Open Minious opened 4 years ago

Minious commented 4 years ago

Every Phaser object has an attribute "name" which is left as blank to the user by Phaser to keep track of game objects at runtime. Some names have already been added but it would be necessary to review all the code to name the missed game objects.

Example : gameObject.name = 'thisGameObjectName';