Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Float Code 2021
- Nightmarishx
-
31 posts
Float Code 2021
Was needing some help with making a “floating” sprite. Quite new to Scratch, I don't know too much yet on scripts in general. If anyone could help out – or even make a project using a floating sprite, that'd be so appreciated. <3 Thanks.
- Vaibhs11
-
1000+ posts
Float Code 2021
idk if this works but
when green flag clicked
set [n v] to [...] // set it to whatever you want but not 0
repeat (...)//again.
set y to (([sin v] of (n)) * (...))//again
change [n v] by (1)//you can change the 1.
end
Last edited by Vaibhs11 (Jan. 29, 2021 06:55:51)
- Nightmarishx
-
31 posts
Float Code 2021
idk if this works butwhen green flag clicked
set [n v] to [...] // set it to whatever you want but not 0
repeat (...)//again.
set y to (([sin v] of (n)) * (...))//again
change [ v] by (1)
end
Dude, you're a lifesaver. Thanks so much c:
- Discussion Forums
- » Help with Scripts
-
» Float Code 2021