Jump to content

DanAmador

Members
  • Content Count

    1
  • Joined

  • Last visited

  1. Good day, I'm trying to make a small game to get to know Phaser js but I'm having problems implementing collision detection with groups. Once the maze is created and stored in a bi-dimensional array I fill the screen up with sprites using the following function(as I can't use physics with primitive graphics, if i'm not mistaken) //makes sprites out of the maze function maekMaezDawg() { console.log('hello frmo maekMaezDawg()'); for (var i = 0; i < mazeHeight; i++) { for (var j = 0; j < mazeWidth; j++) { if (maze[i][j] === 0) { var tempBrick = game.add.spr
×
×
  • Create New...