Discuss Scratch

Filhamel
Scratcher
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
Scratcher
17 posts

How to make a sprite follow your hand (whit the camera)

they should add a block [follow[scratchblocks

<touching color ?>]


Last edited by Filhamel (Jan. 9, 2016 00:39:04)

Filhamel
Scratcher
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
New Scratcher
1 post

How to make a sprite follow your hand (whit the camera)

There are video motion blocks! it follows the motion!
PikaPal54
Scratcher
100+ posts

How to make a sprite follow your hand (whit the camera)

PhsychoGamer32 wrote:

There are video motion blocks! it follows the motion!
It actually doesn't.
i-will-not-tell-you
Scratcher
100+ posts

How to make a sprite follow your hand (whit the camera)

make four hit boxes.
drmcw
Scratcher
1000+ posts

How to make a sprite follow your hand (whit the camera)

Filhamel
Scratcher
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
Scratcher
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
(video [motion] on [ this sprite]))

Last edited by scoochybop (April 6, 2016 01:01:18)

Sprki_Studios
Scratcher
22 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.

Last edited by Sprki_Studios (Oct. 11, 2016 20:23:37)

GreenDog3
Scratcher
100+ posts

How to make a sprite follow your hand (whit the camera)

Sprki_Studios wrote:

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
Scratcher
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-
Scratcher
1000+ posts

How to make a sprite follow your hand (whit the camera)

1a02Igramiranje wrote:

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

Please don't necropost. The topic has likely been resolved by now. Thanks!

Powered by DjangoBB