Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How do you make a sprite you can hold and throw?
- finnthehuman13
-
5 posts
How do you make a sprite you can hold and throw?
I could hold it but when I added the scripts to throw it I couldn't carry it any more. Also, how can you make it so you can only use the item once?
- -Scratcher-
-
100+ posts
How do you make a sprite you can hold and throw?
Do you mean like being able to throw a Sprite so it behaves like a ball?
- finnthehuman13
-
5 posts
How do you make a sprite you can hold and throw?
yeah like a ball but one that the player is holding
- finnthehuman13
-
5 posts
How do you make a sprite you can hold and throw?
the sprite I mean
- deck26
-
1000+ posts
How do you make a sprite you can hold and throw?
Only using an item once is just a case of having a variable to keep track of whether it has been used or not. Eg set a variable ‘key-used’ to 0 initially and to 1 when it is used. Only allow it to be used when the variable is 0.
- -Scratcher-
-
100+ posts
How do you make a sprite you can hold and throw?
Ohh, you mean like collecting items with the player so you can throw them, like when pressing E?
- frazzle96
-
20 posts
How do you make a sprite you can hold and throw?
Do you want it to be thrown at something?
- Paddle2See
-
1000+ posts
How do you make a sprite you can hold and throw?
Since this topic hasn't seen a new post from the topic owner in a long time, I'm going to assume that it is dead and close the topic. If it still is alive, the topic owner just needs to use the Report button to ask a mod to reopen it 

- Discussion Forums
- » Help with Scripts
-
» How do you make a sprite you can hold and throw?