Discuss Scratch

Sakurabloomstar
Scratcher
20 posts

Text Engine

Hi, I'm using a text engine by @chippysmall4 and it's working on the original copy/past project but when I move the code into my own project it doesn't seem to work anymore. Here's the original project: https://scratch.mit.edu/projects/961870333/ and here's my project where there is supposedly a type of problem https://scratch.mit.edu/projects/980009866/
Chippy is helping me figure out what's wrong although it's kind of confusing as I'm more of a visual learner

Last edited by Sakurabloomstar (March 25, 2024 14:50:49)

cookieclickerer33
Scratcher
1000+ posts

Text Engine

It uses clones, if you type over 200 letters or clones are used elsewhere in the project, then it will break the text engine

⠀ ⠀ I beat Mario 64 yay! ⠀⠀ ⠀ ⠀ ⠀ ⠀ I love you ivy & may :3
⠀ ⠀ ⠀ ⠀ ⠀ ⠀⠀ ⠀ ⠀GEOMETRY DASH

NamePending_
Scratcher
100+ posts

Text Engine

cookieclickerer33 wrote:

It uses clones, if you type over 200 letters or clones are used elsewhere in the project, then it will break the text engine
Addition: A way to fix this would be to use stamping instead of clones. Stamping can be found in the pen extension.

Welcome to my signature!
Was this post helpful? If so, please consider checking out my profile!
say pasta in it please
100 POSTS YESSIRRRRRRRR
Sakurabloomstar
Scratcher
20 posts

Text Engine

NamePending_ wrote:

cookieclickerer33 wrote:

It uses clones, if you type over 200 letters or clones are used elsewhere in the project, then it will break the text engine
Addition: A way to fix this would be to use stamping instead of clones. Stamping can be found in the pen extension.

They were originally using a pen but they told me to delete that
cookieclickerer33
Scratcher
1000+ posts

Text Engine

Sakurabloomstar wrote:

NamePending_ wrote:

cookieclickerer33 wrote:

It uses clones, if you type over 200 letters or clones are used elsewhere in the project, then it will break the text engine
Addition: A way to fix this would be to use stamping instead of clones. Stamping can be found in the pen extension.

They were originally using a pen but they told me to delete that
That’s because pen is always layered behind all sprites

⠀ ⠀ I beat Mario 64 yay! ⠀⠀ ⠀ ⠀ ⠀ ⠀ I love you ivy & may :3
⠀ ⠀ ⠀ ⠀ ⠀ ⠀⠀ ⠀ ⠀GEOMETRY DASH

1029289
Scratcher
11 posts

Text Engine

I cleaned up the code that i saw, hopefully you can work from here?
https://scratch.mit.edu/projects/989331060

ooh mysterious QR code…
Sakurabloomstar
Scratcher
20 posts

Text Engine

Sakurabloomstar wrote:

I got help for the text itself (tysm @1029289 ^ ^). If I wanted the text engine to react to an answer how would I do that?
e.g
if <(answer)=(test)> then 
[Print Text Slow (This is a test.) (x) (y) (s) (c) (b) (100) ]


else

end

That is not the actual block ofc but Scratchblocks does not have a Print Text Slow block as it was custom

Last edited by Sakurabloomstar (March 25, 2024 15:38:42)

chippysmall4
Scratcher
1000+ posts

Text Engine

Sakurabloomstar wrote:

I got help for the text itself (tysm @1029289 ^ ^). If I wanted the text engine to react to an answer how would I do that?
e.g
if <(answer)=(test)> then 
[Print Text Slow (This is a test.) (x) (y) (s) (c) (b) (100) ]


else

end

That is not the actual block ofc but Scratchblocks does not have a Print Text Slow block as it was custom
Replace the When I Receive with
when I receive [start v]
broadcast [erase all v]
wait (0) secs
ask [question?] and wait
if <(answer ::sensing) = [abc] > then
Print Text (text) () () () () () ::#ff6680
end
And Add
when I receive [erase all v]
delete this clone

(Highlight + Shift + Down To See The Rest Of My Signature!)
Hi! I'm Cosmic-


Stuf
| Scratch Wiki | Empty My Stuff? Click Here! | Ocular | The SCM! | Project Nexus | More On The MyStuff Bug | Advanced Topics |



chaos



e
*digital art noises*
*forum noises*

Powered by DjangoBB