Giter Club home page Giter Club logo

Comments (7)

GoodBoyDigital avatar GoodBoyDigital commented on April 25, 2024

Thanks for the heads up @Dokmak!

The issue happens when the sprites width and height are being set before the texture has loaded. I just updated pixi.js so that it should behave a little better for ya :)

Let me know if the update fixes your issue!

Thanks!

from pixijs.

Dokmak avatar Dokmak commented on April 25, 2024

You mean I can now use the above code sample normally ?

I thought that you could maybe do a setter and a getter for the width and height ?

from pixijs.

Dokmak avatar Dokmak commented on April 25, 2024

Still the same actually ... it displays it correctly on chrome once ... and twice or three times with the default image size.

I'll try and find a way to fix it as well :)

from pixijs.

GoodBoyDigital avatar GoodBoyDigital commented on April 25, 2024

Interesting.. I implemented a fix suggested a little while age here: #29
Do you have a link to your example at all? thanks!

from pixijs.

Dokmak avatar Dokmak commented on April 25, 2024

Yep sure ... but please email me : [email protected]

from pixijs.

GoodBoyDigital avatar GoodBoyDigital commented on April 25, 2024

All sorted :)

from pixijs.

lock avatar lock commented on April 25, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

from pixijs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.