-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: bitmap font texture is scaled to 0.5 after exporting in version 1.3.0 #113
Comments
Hey @hotyes can you share with me your assetpack config? |
@Zyie yes sure .assetpack.js import { pixiPipes } from '@assetpack/core/pixi'
import { webfont } from '@assetpack/core/webfont'
import { json } from '@assetpack/core/json'
export default {
entry: './raw-assets',
output: './public/assets/',
cache: false,
compression: true,
pipes: [
...pixiPipes({
cacheBust: false,
resolutions: { high: 2, default: 1, low: 0.5 },
texturePacker: {
texturePacker: {
removeFileExtension: true,
},
},
manifest: {
trimExtensions: true,
output: './public/assets/assets-manifest.json',
},
}),
],
} |
Thank you! I think I know what has happened here, can you try out this config and tell me if it fixes the issue: import { audio } from '@assetpack/core/ffmpeg';
import { compress, mipmap } from '@assetpack/core/image';
import { json } from '@assetpack/core/json';
import { pixiManifest } from '@assetpack/core/manifest';
import { spineAtlasCompress, spineAtlasManifestMod, spineAtlasMipmap } from '@assetpack/core/spine';
import { texturePacker, texturePackerCompress } from '@assetpack/core/texture-packer';
import { webfont } from '@assetpack/core/webfont';
const manifestOptions = {
createShortcuts: true,
trimExtensions: true,
output: './public/assets/assets-manifest.json',
};
export default {
entry: './raw-assets',
output: './public/assets/',
cache: false,
pipes: [
webfont(),
audio(),
texturePacker({
texturePacker: {
removeFileExtension: true,
},
resolutionOptions: {
fixedResolution: 'default',
resolutions: { high: 2, default: 1, low: 0.5 },
},
}),
mipmap({
fixedResolution: 'high',
resolutions: { high: 2, default: 1, low: 0.5 },
}),
spineAtlasMipmap({
fixedResolution: 'default',
resolutions: { high: 2, default: 1, low: 0.5 },
}),
compress(),
spineAtlasCompress(),
texturePackerCompress(),
json(),
pixiManifest(manifestOptions),
spineAtlasManifestMod(manifestOptions),
],
}; |
hi @Zyie unfortunately it is not working and I got this error now:
and my other textures also scaled |
hmm ok, i'll dig into this further. it definitely this PR that caused this to happen: #96 |
ok thanks |
Hey @hotyes After looking into this one a bit more we have now introduced the |
hi @Zyie thanks for this.. after upgrading to 1.4.0 whether using |
After upgrade assetpack to
1.3.0
the bitmap font is brokenbut it is working on assetpack
1.2.3
I used
{fix}
as the tagsThe text was updated successfully, but these errors were encountered: