CarlosBR Posted December 2, 2018 Share Posted December 2, 2018 It's been very difficult to convert my Phaser2 games to Phaser3. For instance, I could animate objects just as simple as: this.coins = game.add.group(); this.coins.enableBody = true; this.mapa.createFromObjects('moedas', 'moeda', 'coins', 0, true, false, this.coins); this.coins.callAll('animations.add', 'animations', 'spin', [0, 1, 2, 3, 4, 5], 10, true); this.coins.callAll('animations.play', 'animations', 'spin'); So, this way was easy to create hundreds of objects with TiledMap, including their animations. But with Phaser3, this code doesn't work anymore. All I get is a message: this.coins.callAll is not a function Is it possible to convert the code above to Phaser 3, without changing to Tiles instead of Objects? Link to comment Share on other sites More sharing options...
samme Posted December 2, 2018 Share Posted December 2, 2018 http://labs.phaser.io/view.html?src=src/game objects\tilemap\static\create from objects.js CarlosBR 1 Link to comment Share on other sites More sharing options...
Recommended Posts