Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Clone Based Text Engine Lagging Up Project
- FatOldHen_ZTC
-
Scratcher
25 posts
Clone Based Text Engine Lagging Up Project
https://scratch.mit.edu/projects/612371506/editor/
Normally I don't need help on any of my scripts, but this one has me tied up.
I've got a 3*5 slot machine that's finished and everything (it took me 30+ hours) but the text engine is lagging up my project. I already know its not any of the other sprites in the project because when you remove the text engine script it's just fine. Add it again and it starts lagging. Framerate drops to unplayable amounts as soon as you leave the thumbnail screen.
I've never tried using text engines, but I want to make my first high quality project for once. Because I don't really know how to do them, because I've never tried, I've got it replacing clones instantly in a forever loop. Is that the issue? If so, is there a way around it? I've shared the link and project. Look on the very bottom sprite called “textEngine”.
Now here's the weird thing, try playing the game. Press the green flag, wait for the thumbnail to disappear, press spacebar to spin, and enjoy the lag. But then, press the green flag again, wait for the thumbnail to disappear, press the spacebar again, and you'll notice that the project functions just fine with 0 - no lag. What the heck is going on? On the first time you try to play the game it lags, but then if you green flag it again it doesn't lag. Refresh the pag, lags. Green flag, no lag.
Normally I don't need help on any of my scripts, but this one has me tied up.
I've got a 3*5 slot machine that's finished and everything (it took me 30+ hours) but the text engine is lagging up my project. I already know its not any of the other sprites in the project because when you remove the text engine script it's just fine. Add it again and it starts lagging. Framerate drops to unplayable amounts as soon as you leave the thumbnail screen.
I've never tried using text engines, but I want to make my first high quality project for once. Because I don't really know how to do them, because I've never tried, I've got it replacing clones instantly in a forever loop. Is that the issue? If so, is there a way around it? I've shared the link and project. Look on the very bottom sprite called “textEngine”.
Now here's the weird thing, try playing the game. Press the green flag, wait for the thumbnail to disappear, press spacebar to spin, and enjoy the lag. But then, press the green flag again, wait for the thumbnail to disappear, press the spacebar again, and you'll notice that the project functions just fine with 0 - no lag. What the heck is going on? On the first time you try to play the game it lags, but then if you green flag it again it doesn't lag. Refresh the pag, lags. Green flag, no lag.
- real_ender_dragon
-
Scratcher
61 posts
Clone Based Text Engine Lagging Up Project
use stamp for text engines it works
- FatOldHen_ZTC
-
Scratcher
25 posts
Clone Based Text Engine Lagging Up Project
use stamp for text engines it works
Is there anyway to make the stamp go above a sprite? If not, then I can't use that.
- real_ender_dragon
-
Scratcher
61 posts
Clone Based Text Engine Lagging Up Project
use stamp for text engines it works
its annoying
ohhhhhhhhhhhhhhhhhhhhhhh yeah sorry i forgot about thatuse stamp for text engines it works
Is there anyway to make the stamp go above a sprite? If not, then I can't use that.
its annoying

- FatOldHen_ZTC
-
Scratcher
25 posts
Clone Based Text Engine Lagging Up Project
use stamp for text engines it worksohhhhhhhhhhhhhhhhhhhhhhh yeah sorry i forgot about thatuse stamp for text engines it works
Is there anyway to make the stamp go above a sprite? If not, then I can't use that.
its annoying
Yes, it certainly is. Its ok if you don't know though. Thanks for the help anyway.
- FatOldHen_ZTC
-
Scratcher
25 posts
Clone Based Text Engine Lagging Up Project
Nevermind everyone. I'll probably just update it only when the variable changes. That way its not constantly updating.
- FatOldHen_ZTC
-
Scratcher
25 posts
Clone Based Text Engine Lagging Up Project
Edit: Everything's been solved. There's no need to offer help.
If you would like to see the finished product the link is still there.
If you would like to see the finished product the link is still there. - EDGE_X
-
Scratcher
100+ posts
Clone Based Text Engine Lagging Up Project
If the text engine is lagging the project, instead of clones use the stamp block
- Discussion Forums
- » Help with Scripts
-
» Clone Based Text Engine Lagging Up Project