Discuss Scratch

D1A0B
Scratcher
34 posts

How to make a sprite turn back and froth to make a cool title screen

How do make a sprite turn back and forth to make a cool title screen? I am pretty sure it is a simple script but I can't think of how to do it.
TheAnomalousPseudo
Scratcher
1000+ posts

How to make a sprite turn back and froth to make a cool title screen

You mean a 3D effect, or just rotate back and forth flat on the background?
D1A0B
Scratcher
34 posts

How to make a sprite turn back and froth to make a cool title screen

rotate back and forth (srry for the late respondse

TheAnomalousPseudo wrote:

You mean a 3D effect, or just rotate back and forth flat on the background?
D1A0B
Scratcher
34 posts

How to make a sprite turn back and froth to make a cool title screen

*response
Yusei-Fudo
Scratcher
1000+ posts

How to make a sprite turn back and froth to make a cool title screen

Here's an easy way to rotate back and forth or should I say left-right.

It's also achievable with this block:
set rotation style [left-right v]
D1A0B
Scratcher
34 posts

How to make a sprite turn back and froth to make a cool title screen

Yusei-Fudo wrote:

Here's an easy way to rotate back and forth or should I say left-right.

It's also achievable with this block:
set rotation style [left-right v]
what would be the script to do this tho? I tried this:

when green flag clicked
forever
turn cw (enter value here) degrees
wait (2) secs
turn ccw (enter value here) degrees
end
But it doesn't work. I also have this separate:
when green flag clicked
set rotation style [leftandright v]
D1A0B
Scratcher
34 posts

How to make a sprite turn back and froth to make a cool title screen

or it technically doesn't have to be this. I just want motion on some sprite to make it not look boring.
TheAnomalousPseudo
Scratcher
1000+ posts

How to make a sprite turn back and froth to make a cool title screen

when green flag clicked
forever
point in direction ((90) * ([sin v] of (foo))) //decrease the 90 to make it rotate less; increase to rotate further
end

when green flag clicked
forever
change [foo v] by (10) // decrease 10 to rotate slower; increase to rotate faster
end

Last edited by TheAnomalousPseudo (May 13, 2021 00:29:30)

D1A0B
Scratcher
34 posts

How to make a sprite turn back and froth to make a cool title screen

hm let me try this thanks!

Powered by DjangoBB