Hello i have some problems with pixi-layers.js. I want to move some sprites to top.
I use pixi.v4 with this script: https://github.com/pixijs/pixi-layers/blob/layers/dist/pixi-layers.js
Error message i get:
pixi-layers.js:705 Uncaught TypeError: Cannot read property 'prototype' of undefined
at pixi-layers.js:705
at pixi-layers.js:744
I add pixi layers in index.html this way:
<script src="/socket.io/socket.io.js"></script>
<script src="https://pixijs.download/v4.4.2/pixi.min.js"></script>
<script src="src/pixi-layers.js"></script>
<script src="src/keyboard.js"></script>
<script src="src/client.js"></script>
What did i do wrong?
Thank you for your time.