We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
version 8.1.3 / version 8.1.4 :
the bug vary across the different texts in the game but its like the texture atlas / the texture containing the characters is totally lost.. :)
My script for text writing :
import stage from "@/makio/core/stage" import { Text, Container} from "pixi.js" export default class WritingText extends Container{ constructor(styleOptions = {}){ super() let style = {fontFamily: 'Quantico',fill: 0x1C005C, fontSize: 30, wordWrap: true, wordWrapWidth: (stage.width-40)*2, align: 'left', lineHeight :50, ...styleOptions} this.text = new Text({text:``, style}) this.text.position.x = 20 this.text.position.y = 40 this.text.scale.set(.5,.5) this.letters = [] this.msg = '' this.addChild(this.text) stage.onUpdate.add(this.update) } update = (dt) => { if (!this.letters.length) return; this.time += dt; let delay = 8; while (this.time >= delay) { if (this.letters.length > 0) { this.msg += this.letters.shift(); this.text.text = this.msg; } this.time -= delay; } } write(text){ this.time = 0 this.msg = '' this.letters = text.split('') } }
The text still work in 8.1.x :)
change a text over time.
pixi.js version**: 8.1.4
pixi.js
No response
The text was updated successfully, but these errors were encountered:
heya, thanks for flagging - to confirm this is 8.1.3 -> 8.1.4?
Sorry, something went wrong.
Yes I confirm the bug was introduce in 8.1.4
heya, i am struggling to recreate this one! Would you mind testing the game out with this branch please?
Thanks!
Sorry guys, I was busy and just went back on testing it : I try on 8.1.5 and it works well, only 8.1.4 is actually broken
8.1.5
8.1.4
No branches or pull requests
Current Behavior
version 8.1.3 / version 8.1.4 :
the bug vary across the different texts in the game but its like the texture atlas / the texture containing the characters is totally lost.. :)
My script for text writing :
Expected Behavior
The text still work in 8.1.x :)
Steps to Reproduce
change a text over time.
Environment
pixi.js
version**: 8.1.4Possible Solution
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: