Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Help with deleting clones/text sprite?
- Woofless04
-
100+ posts
Help with deleting clones/text sprite?
Okay so I'm making an RPG type game, and I've already made a text sprite that kind of works, you have to press space to continue with the next line of text.
However, if you press space before the text finishes it cuts off everything before the space key was pressed.
The script originally looked like this -
Then the clone sprite looked like this -
I have changed it in an attempt to fix it, so now it looks like this -
And the clones -
If you have any ideas I'll be glad to hear them!
However, if you press space before the text finishes it cuts off everything before the space key was pressed.
The script originally looked like this -
*Moving was just to stop the main character from moving.
Then the clone sprite looked like this -
I have changed it in an attempt to fix it, so now it looks like this -
And the clones -
If you have any ideas I'll be glad to hear them!
- Breck-
-
100+ posts
Help with deleting clones/text sprite?
How are you using the custom block? as in what triggers it?
- Woofless04
-
100+ posts
Help with deleting clones/text sprite?
Whenever you input something into string1, it should come up on the screen. How are you using the custom block? as in what triggers it?
Here's a project with the scripts in it -
https://scratch.mit.edu/projects/188041331/
- deck26
-
1000+ posts
Help with deleting clones/text sprite?
Because your clone script tells a clone to delete itself when space is pressed. Use a broadcast from the main script to tell the clones to delete themselves.
- Woofless04
-
100+ posts
Help with deleting clones/text sprite?
Okay I'll try that. Because your clone script tells a clone to delete itself when space is pressed. Use a broadcast from the main script to tell the clones to delete themselves.
- Discussion Forums
- » Help with Scripts
-
» Help with deleting clones/text sprite?