Press the buttons to use "real time" or "own time"! "Real time" is a mode that shows the real time, both in analog and digital clocks. "Own time" is a special mode for education especially, but you can also play with it! To steer the "own clock", just use the arrows left and right! < > I am working on a mode that if you press a key, you'll change own time seconds MUCH SLOWER! Good if your'e educating and want to show 10:00:00... I also want a speed mode...
I coded ALL of this by myself! This is how I made it: - I made a simple text engine for the digital clock - For the analog clock I used 3 costumes with different colours for the hands. Then I set the direction to the h/m/s (hour, minute, second) corresponding time. For example: if the time is s: 15, the direction sets to 90 because 360/6 is 60, as the seconds in one minute/one turn, so the time (15) times 6 = 90. It works on the left half also because you can use BOTH -90 and 270 in a direction block to point left. For example: Time = 50, 50*6=300, 300 degrees means "50" on an analog clock, and it still works. But on the hour-hand the "times 6 trick" doesn't work, because there isn't 60 hours a day. It is 24! So, instead of 6 we use 24, because 360/24 is 15, and that is the one (five minutes). Hope you understand now how it works! This took 30 minutes to make, and I think it is quite simple maths. Now there are some tips that you can use this "machine" in: - Use the analog clock as a health viewer - Use the digital clock as a score counter without the colons. Can you see what to change in the code for these ideas? Comment below any tips for games with this engine, or why not post what you have done with it? Comment if you see any bug, I'll fix them as soon as possible. But hopefully you wont see any bugs! Monday, 10 June Fixing a bug that forces the clock to spin FAST in own time when you press both left and right