mzamateo Posted March 7, 2016 Share Posted March 7, 2016 hi everybody! i have a problem when using a bitmapData as tileSprite texture in versions > 2.3.0 bmd = game.add.bitmapData(400, 100); bmd.fill(0, 0, 0, 1); text = game.make.text(0, 0, "hello!" ); bmd.draw(text, 0, 0); ts=game.add.tileSprite(10, 10, 400, 100, bmd); it worked under 2.3.0 but not on 2.4.6, and throws a console.log any sugestions will be apreciated thanks! Link to comment Share on other sites More sharing options...
mzamateo Posted March 7, 2016 Author Share Posted March 7, 2016 just in case frame is required i've tried ts=game.add.tileSprite(10, 10, 400, 100, bmd, 0); ts=game.add.tileSprite(10, 10, 400, 100, bmd, "bitmapData"); with same results Link to comment Share on other sites More sharing options...
Recommended Posts