Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Number Counter for Multiple Variables, but With 1 Sprite
- Blue-Q
-
Scratcher
69 posts
Number Counter for Multiple Variables, but With 1 Sprite
How do I make a single sprite keep track of multiple variables and using custom costumes to paste the variables? It can't be that I have to create one sprite just for one variable, and it may get a bit messy. How should I do this?
Here is the project that uses this: https://scratch.mit.edu/projects/400808590/
Here is the project that uses this: https://scratch.mit.edu/projects/400808590/
- deck26
-
Scratcher
1000+ posts
Number Counter for Multiple Variables, but With 1 Sprite
Are you talking about displaying a value on screen using a sprite rather than just choosing to display the variable? You just need to use stamp or clone to display one character at a time and move between characters.
If you're just displaying a score here's an example using stamp https://scratch.mit.edu/projects/43934978/
If you're just displaying a score here's an example using stamp https://scratch.mit.edu/projects/43934978/
- Blue-Q
-
Scratcher
69 posts
Number Counter for Multiple Variables, but With 1 Sprite
Are you talking about displaying a value on screen using a sprite rather than just choosing to display the variable? You just need to use stamp or clone to display one character at a time and move between characters.
If you're just displaying a score here's an example using stamp https://scratch.mit.edu/projects/43934978/
Yes, I know. The problem is they need to keep changing based on the variables, but the define block only allows for one variable to keep changing, as it includes the pen block
clearSo how do I do it?
- Blue-Q
-
Scratcher
69 posts
Number Counter for Multiple Variables, but With 1 Sprite
Are you talking about displaying a value on screen using a sprite rather than just choosing to display the variable? You just need to use stamp or clone to display one character at a time and move between characters.It's OK now, I know how to do it!
If you're just displaying a score here's an example using stamp https://scratch.mit.edu/projects/43934978/

- Discussion Forums
- » Help with Scripts
-
» Number Counter for Multiple Variables, but With 1 Sprite

