notalentgeek

Phaser - map.createFromObject

Aug 16th, 2015
361
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. this.coinGroup              = game.add.group();
  2. this.coinGroup.enabledBody  = true;
  3. this.map.createFromObjects  ('LayerObject', 4, 'ImageCoin', 0, true, false, this.coinGroup);
Advertisement
Add Comment
Please, Sign In to add comment