1
0
mirror of https://github.com/teoxoy/factorio-blueprint-editor.git synced 2025-01-18 02:58:31 +02:00

fixed wrong filename

This commit is contained in:
Teoxoy 2018-03-29 08:42:51 +02:00
parent 8206d24c7e
commit 64fd068aec
5 changed files with 12 additions and 11 deletions

View File

@ -64,15 +64,15 @@ G.app.stage.addChild(infoContainer)
PIXI.loader
.add([
{ name: 'extra_iconSprites', url: 'spritesheets/extra_iconSpritesheet.json' },
{ name: 'iconSprites', url: 'spritesheets/iconSpritesheet.json' },
{ name: 'entitySprites', url: 'spritesheets/entitySpritesheet.json' }
{ name: 'extra_iconSpritesheet', url: 'spritesheets/extra_iconSpritesheet.json' },
{ name: 'iconSpritesheet', url: 'spritesheets/iconSpritesheet.json' },
{ name: 'entitySpritesheet', url: 'spritesheets/entitySpritesheet.json' }
])
.load((_: any, resources: any) => {
G.app.renderer.plugins.prepare
.add(resources.extra_iconSprites.spritesheet.baseTexture)
.add(resources.iconSprites.spritesheet.baseTexture)
.add(resources.entitySprites.spritesheet.baseTexture)
.add(resources.extra_iconSpritesheet.spritesheet.baseTexture)
.add(resources.iconSpritesheet.spritesheet.baseTexture)
.add(resources.entitySpritesheet.spritesheet.baseTexture)
.upload(setup)
})

View File

@ -1726,5 +1726,5 @@
}
},
"meta": { "image": "entitySprites.png" }
"meta": { "image": "entitySpritesheet.png" }
}

View File

@ -61,5 +61,5 @@
"sourceSize": { "w": 64, "h": 64 }
}
},
"meta": { "image": "extra_iconSprites.png" }
"meta": { "image": "extra_iconSpritesheet.png" }
}

View File

@ -1106,5 +1106,5 @@
}
},
"meta": { "image": "iconSprites.png" }
"meta": { "image": "iconSpritesheet.png" }
}

View File

@ -4,6 +4,7 @@ const merge = require('webpack-merge')
const common = require('./webpack.common.js')
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin
const Visualizer = require('webpack-visualizer-plugin')
const OptimizeCssAssetsPlugin = require('optimize-css-assets-webpack-plugin')
//const ClosureCompilerPlugin = require('webpack-closure-compiler')
// https://webpack.github.io/analyse/