Discuss Scratch

zeztybesty9372
Scratcher
17 posts

Setting the tts language to a number lags the game extremely

My browser / operating system: Windows NT 10.0, Chrome 136.0.0.0, No Flash version detected

Project:
https://scratch.mit.edu/projects/1182451602/

Update:
It doesnt lag it freezes the game because of an error

Last edited by zeztybesty9372 (May 29, 2025 17:06:49)

ispretty
Scratcher
500+ posts

Setting the tts language to a number lags the game extremely

Interesting. it seems like there's a .toLowerCase() for changing the language to lowercase, but doing “.toLowerCase()” on a number causes the crash
ispretty
Scratcher
500+ posts

Setting the tts language to a number lags the game extremely

I made a PR to fix it, although it's highly unlikely they're going to merge it anytime soon https://github.com/scratchfoundation/scratch-vm/pull/5426
zeztybesty9372
Scratcher
17 posts

Setting the tts language to a number lags the game extremely

ispretty wrote:

I made a PR to fix it, although it's highly unlikely they're going to merge it anytime soon https://github.com/scratchfoundation/scratch-vm/pull/5426

thanks

Powered by DjangoBB