After seeing it for 1000 times it gets annoying so I'd like to have option to remove it.
Somebody online answered that setting
PIXI.dontSayHello = true;
will solve the problem in older versions of PIXI, but in version 3.0.3 it didn't work. Searching for "dontSayHello" in the source code didn't render any results.
This is deprecated in newer versions:
PIXI.utils._saidHello = true;
This is right:
PIXI.utils.skipHello();
After looking in the source code of Pixi I found that an easy way to disable the banner is to add this line just after pixi.js embed
<script>PIXI.utils._saidHello = true;</script>
You can do this is you are using import statements:
import { utils } from 'pixi.js';
utils.skipHello();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With