Updated to PixiJS v5.

This commit is contained in:
2019-09-10 16:34:59 +02:00
parent a775126f9c
commit ebe0b1253f
29 changed files with 46482 additions and 67844 deletions
+2 -2
View File
@@ -58,9 +58,9 @@ app.loadSprites([
text.pivot.set(text.width / 2, text.height / 2)
container.addChild(text)
// PIXI.extras.BitmapText
// PIXI.BitmapText
//--------------------
const bitmapText = new PIXI.extras.BitmapText('Bibliothek\nStuttgart', {
const bitmapText = new PIXI.BitmapText('Bibliothek\nStuttgart', {
font: '50px Arial',
align: 'left'
})