Jump to content

XipsAhoy

Members
  • Content Count

    2
  • Joined

  • Last visited

  1. I am trying to make a game so I tried to load a tileset, to help me make the game, but when I try to play my game, this shows on the console- ```Cannot read property 'addTilesetImage' of undefined``` This is my code: ``` Ball.Level1 = function (game) {}; Ball.Level1.prototype = { create: function () { var map; var layer; this.map.addTilesetImage('element-h'); this.map.addTilesetImage('element-w'); this.map = this.game.add.tilemap('map', 32,
  2. Hi, I´m trying to set velocity to a sprite in a certain time, but i don´t know, can you pls help me, thanks
×
×
  • Create New...