Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: sprite.texture.on is not a function. (In 'sprite.texture.on('update',this._attachBitmap.bind(this,sprite))', 'sprite.texture.on' is undefined) #1

Open
tomwilsn opened this issue Jan 27, 2016 · 3 comments

Comments

@tomwilsn
Copy link

Does this thing still work? I keep getting this error

It's on line 3034: sprite.texture.on('update', this._attachBitmap.bind(this, sprite));

@Nickolia
Copy link

Nickolia commented Mar 3, 2016

+1

@Nickolia
Copy link

Nickolia commented Mar 3, 2016

Ok. I did this.

sprite.texture.on('update', this._attachBitmap.bind(this, sprite));
-->
sprite.texture.baseTexture._dirty[0] = true; this._attachBitmap(sprite);

@zsimple
Copy link

zsimple commented Mar 29, 2016

Still doesn't work here, nothing appears but the black background and FPS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants