Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How to make a sprite follow your hand (whit the camera)
- Filhamel
-
17 posts
How to make a sprite follow your hand (whit the camera)
I dont know if it's possible if yes please answer
- Filhamel
-
17 posts
How to make a sprite follow your hand (whit the camera)
they should add a block [follow[scratchblocks
<touching color ?>]
<touching color ?>]
Last edited by Filhamel (Jan. 9, 2016 00:39:04)
- Filhamel
-
17 posts
How to make a sprite follow your hand (whit the camera)
[scratchblock[follow]]
Last edited by Filhamel (Jan. 9, 2016 00:41:13)
- PhsychoGamer32
-
1 post
How to make a sprite follow your hand (whit the camera)
There are video motion blocks! it follows the motion!
- PikaPal54
-
100+ posts
How to make a sprite follow your hand (whit the camera)
It actually doesn't. There are video motion blocks! it follows the motion!
- i-will-not-tell-you
-
100+ posts
How to make a sprite follow your hand (whit the camera)
make four hit boxes.
- Filhamel
-
17 posts
How to make a sprite follow your hand (whit the camera)
thank you for all the help
you should go check my project i'm working on a game right now that use this

- scoochybop
-
1 post
How to make a sprite follow your hand (whit the camera)
Try this script. I havn't figured out a way to do up and down yet, so sorry if you need them.
http://imageshack.com/a/img921/3934/KLKyg3.png
(Ignore the
http://imageshack.com/a/img921/3934/KLKyg3.png
(Ignore the
(video [motion] on [ this sprite]))
Last edited by scoochybop (April 6, 2016 01:01:18)
- Sprki_Studios
-
22 posts
How to make a sprite follow your hand (whit the camera)
Try This:
Don't worry about the red thing behind the motion on this sprite thing.
forever
if <(video [Motion v] on [Sprite v]) > [40]> then
point in direction ((video [Motion v] on [Sprite v]) v)
move (40) steps
end
end
end
Don't worry about the red thing behind the motion on this sprite thing.
Last edited by Sprki_Studios (Oct. 11, 2016 20:23:37)
- GreenDog3
-
100+ posts
How to make a sprite follow your hand (whit the camera)
Try This:forever
if <(video [Motion v] on [Sprite v]) > [40]> then
point in direction ((video [Motion v] on [Sprite v]) v)
move (40) steps
end
end
end
Don't worry about the red thing behind the motion on this sprite thing.
Sorry about the necropost. But I can improve this code.
At the second
(video [ motion v] on [Sprite v])
motion should be direction.
(video [direction v] on [Sprite v])
- 1a02Igramiranje
-
1 post
How to make a sprite follow your hand (whit the camera)
say [] for (2) secs
when green flag clicked
forever
if <> then
(username)
move () steps
end
end
when green flag clicked
forever
if <> then
<key [ space] pressed?>
move (10) steps
point in direction (90)
end
end
- -ShadowOfTheFuture-
-
1000+ posts
How to make a sprite follow your hand (whit the camera)
say [] for (2) secs
when green flag clicked
forever
if <> then
(username)
move () steps
end
endwhen green flag clicked
forever
if <> then
<key [ space] pressed?>
move (10) steps
point in direction (90)
end
end
Please don't necropost. The topic has likely been resolved by now. Thanks!
- Discussion Forums
- » Help with Scripts
-
» How to make a sprite follow your hand (whit the camera)