Jump to content

Problem with tileSprite


sphimau
 Share

Recommended Posts

Hi everybody,

I am a newbie to phaser and I am trying to build a world for a game project. I would like to make a parallax background and to make that I'm using tileSprite. The problem is that when I create a tile of 256x256 its renders but when the size changes I'm getting black square and in the console log I'm getting this message

 

 

 

WebGL: drawElements: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering or is not 'texture complete'. Or the texture is Float or Half Float type with linear filtering while OES_float_linear or OES_half_float_linear extension is not enabled.

 

I'm using phaser v1.1.5 from the CDN http://cdnjs.cloudflare.com/ajax/libs/phaser/1.1.5/phaser.min.js.

 

Also I would like to know if it's possible to add some movement on the z-axis.

 

 

Thank you very much for your help

 

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...