simonthefox Posted March 2, 2016 Share Posted March 2, 2016 In my create function, I have this; this.map = this.game.add.tilemap('baseMap'); this.map.addTilesetImage('simples_pimples', 'tiles'); this.ground = this.map.createLayer("Collision"); this.ground.resizeWorld(); I have checked that baseMap , Collision, tiles, and simples_pimples are all correct names. However, when I run this code, the screen does not change from my main menu screen and I get this on the console; Uncaught TypeError: this.postUpdateCore is not a function (12:40:30:685 | error, javascript) at Phaser.TilemapLayer.postUpdate (public_html/js/phaser.js:86943:10) at Phaser.Group.postUpdate (public_html/js/phaser.js:21310:26) at Phaser.Stage.postUpdate (public_html/js/phaser.js:19725:30) at Phaser.Game.updateLogic (public_html/js/phaser.js:26253:24) at Phaser.Game.update (public_html/js/phaser.js:26188:22) at Phaser.RequestAnimationFrame.updateRAF (public_html/js/phaser.js:44765:19) at _onLoop (public_html/js/phaser.js:44749:30) This is bothering me because nowhere in that stack is my code, so I'm having trouble debugging. Any advice? Link to comment Share on other sites More sharing options...
Recommended Posts