-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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
2.4.4 Regression: Null Sprites Using Last Created Texture in WebGL #2176
Comments
This is fixed in the dev branch already. In the meantime you can resolve it by setting the |
Duplicate issue #2173 |
Hi all, While searching for how to make popups in phaser i found this modals library i am trying to embedde this in myy game to show popup but i am unable to create and embed this. This are things i tried till now :- I had added the modal.js script in index.html I used the function given at the usage section on this page but it dosen't work. You can find my code at:- Please if any one can help |
Not a phaser framework issue @Tdnshah Please post on the html5gamedev forum |
Thanks for such a prompt reply |
I ran into this issue when I upgraded from Phaser 2.4.3 to 2.4.4. I use null sprites quite a bit to define hit areas over text, and in Phaser 2.4.4 I noticed that Phaser was using whatever the last created texture and displaying it on the null sprite instead of no texture.
Here's a test case with both a text sprite and some bitmap data:
https://jsfiddle.net/tanptet2/5/
Once the jsFiddle loads, you may have to hit "run" to see the duplicated textures.
In Phaser 2.4.3 and below, the null sprite would not have a visible texture of any kind.
The text was updated successfully, but these errors were encountered: