kray Posted April 10, 2015 Share Posted April 10, 2015 I have a few bugs in my game: http://catchalphabets.tk/This game is help kids learn the correct order of the alphabets. When the dude sprite first collects a letter, i.e. A, it stops for a while and moves back, touching the world boundary. How do I prevent that?Code: this.physics.arcade.overlap(player, letters, this.collectLetter, null, this); collectLetter: function(player,letter) { this.arr.push(letter.name); this.check(); letter.kill(); } Link to comment Share on other sites More sharing options...
drhayes Posted April 10, 2015 Share Posted April 10, 2015 Just to verify: you're not calling physics.arcade.collide anywhere on the player and the letters group? What does this.check do? Link to comment Share on other sites More sharing options...
kray Posted April 11, 2015 Author Share Posted April 11, 2015 No I'm not collide on the players and letters. this.check is a function to check if letters are collected in the correct order. Link to comment Share on other sites More sharing options...
Recommended Posts