Jump to content

Anicet

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by Anicet

  1. I was just planning on the paper all the in-game features so I wanted to know if it is possible. Now I get it ! Thanks !
  2. Thanks Andy, but my question really was how to do your onkeypress callback thing. In fact I'm a beginer with phaser and I don't know the syntax for this one
  3. Hi, I am trying to make a menu which lets the user bind the in-game inputs. But I have no idea how to do that... Maybe there is a way to detect which input he presses and then use this information when creating input... Thanks beforehand.
  4. Hi everyone, I'm actually making a simple 2d platformer with arcade physic and I recently implemented a tiled tilemap which contain an "object layer". In this object layer I draw collision zone with the polyline tool. Now I want thoses "collision zones" to be recognized by phaser. Which mean : if the player overlap "object layer"'s content, it will blocked as if it was a wall. I just want to know if this is possible or if I must set collision "on" for my tile layers in which I may put all my walls tiles. Also, If I must use the 2nd solution, if my tile sprite is smaller than my 24x24 tile square (I attached an example), will the hitbox fit the sprite size or the 24x24 square ? Thanks beforehand.
×
×
  • Create New...