Clock

A simple clock I made in Scratch converted to Snap!. Enjoy.

MAY BE GLITCHY AND HAS LOTS OF BUGS

Question: why do you repeat 1 time ?

That's remind me my first (?) real project (in french sorry)

3 differents clocks

This one is drawn in real time:

image

In this one i used 3 differents sprites (like your project):
image

And a digital one:
image

HOUR HAND iS FIXED!

Uh...what?

image

Repeat (1) ???

2rd question : why are you "point in direction" 4 times in the script ?

The reason why is because I want to add some kind of physics animation into it so it flickers back and forth every second.

But sometimes, it cause a lag...

Yeah...I know. I wanted the clock to look a bit...clunky...and mechanical.

In this case, i have an idea for you: base the motion of the seconds on milliseconds

Remove all the wait blocks in the forever loop

Add this in the forever loop:
If ms in 0-249 point in dir ...
ElseIf ms in 250-499 point in dir...
ElseIf ms in 500-749 point in dir...
ElseIf ms in 750-999 point in dir...

You can adapt this with your own values..

Is this clock RealTime?

Yeah. It is.

Is it always synchronized?

Not always.

Maybe just have a variable to track the time, and every time the variable changes, change the clock's handles accordingly.

Perfect !
image

Funny effect by the way !

I made my clock using only the pen (I've been doing a lot of pen projects lately):
https://snap.berkeley.edu/snap/snap.html#present:Username=joecooldoo&ProjectName=Pen%20Clock
(Fun Fact: It only uses the CLEAR block once)

I changed it! Thank you so much!

That reminds me when I first learned Scratch(yes not snap)I made a clock that never report the correct time
i found out that it was because I didn't draw the needles vertical

when your clock's battery is about to die out and the motor is not strong

Sorry for the long reply but I do this in animations to simulate scenes, shots, cuts, and other stuff. It also makes things easier for me.

Think of it as a function in JS.