Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Weird textbox bug??
- lewboy70
- Scratcher
17 posts
Weird textbox bug??
Hi, so I'm making a game that I'm supposed to release tomorrow. It has a textbox engine where letters slowly appear like in undertale, and the letters quickly reset every time the next message is played. However, (using turbowarp) I've seen that in a certain section the clones of the letters just keep piling up and enter the 700s! I've tried everything I can to fix it and it's perfectly fine in all of the other sections but in that one specifically the clones really start to pile up. I have no idea why. Here's the script I use for the clones by the way:
(text1 being line one of the textbox for example)
(some parts are left out like the positioning of the letter for convenience)
If any help is provided I would greatly appreciate it
(text1 being line one of the textbox for example)
(some parts are left out like the positioning of the letter for convenience)
set [length] to [0]
set [i] to []
repeat (length of (text1))
change [length] by (1)
set [i] to (join [i] ((length)() of (text1)))
set [cloneID] to [text]
create clone of [myself]
wait (0) secs
end
If any help is provided I would greatly appreciate it
- Discussion Forums
- » Help with Scripts
- » Weird textbox bug??