Code Monkey home page Code Monkey logo

Comments (2)

undertowe avatar undertowe commented on July 21, 2024

So, I think I figured out why this is happening in my test but not the example. In the example you're creating a PIXI.Sprite (of the background) before creating the Live2DSprite of the model. In my code I'm creating only the Live2DSprite of the model. I just tried creating a Sprite first and the warning went away. Without delving into the code, it seems that creating a Sprite causes the value of _activeTextureLocation to be set properly, but that doesn't happen when you create a Live2DSprite.

I'll try to poke around and figure out what needs to happen when creating a Live2DSprite in order to prevent this warning.

from pixi-live2d.

Icemic avatar Icemic commented on July 21, 2024

Seems to do with Pixi.js' Sprite implement.

I am busy recently, so I have to delay processing this issue, sorry. I will come back after Christmas or early next month.

If you made any progress, pr is always welcome!

from pixi-live2d.

Related Issues (13)

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.