GithubHelp home page GithubHelp logo

Comments (2)

bigtimebuddy avatar bigtimebuddy commented on May 11, 2024

Here's an example to illustrate it a little clearer: https://jsfiddle.net/bigtimebuddy/enhujtbr/

When you remove() the extension is it removing the Renderer's system from getting installed when the Renderer is created. It does not, however, prevent the installation of the mixins on DisplayObjects. In order to achieve that you need to do something like we discussed here #10392 and not import the code.

from pixijs.

elsassph avatar elsassph commented on May 11, 2024

Indeed, and I raised 2 issues because extensions and "renderables" are different topics.

As I answered on #10392 short of patching a number of files, extensions always initialize.

Potentially the extensions could "initialize late", and the mixins would also be applied late. It could be automatic when you first create a Pixi Application, or allow explicitly calling an extensions init function if that'd be needed. This would allow removing an extension before it has side effects.

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.