Jump to content

Problem with tileSprite


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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

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