Discuss Scratch

Nightmarishx
Scratcher
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
Scratcher
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
Scratcher
31 posts

Float Code 2021

Vaibhs11 wrote:

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 [ v] by (1)
end

Dude, you're a lifesaver. Thanks so much c:

Powered by DjangoBB