niner-games/lost-dutchman-mine

Implement real clock feature

Opened this issue · 0 comments

Please, implement an actual graphical representation of a current in-game time -- moving clock's hands all the way around the clock's dial.

Game uses AM/PM 12-hour system, so the shape of large and small hand is the same, irrespective of the fact whether it is day, dusk, night or dawn.

The small and large hands location (starting point) is always fixed -- center of the clock's dial:

Element aX, aY aW, aH
Center of the clock's dial 3174, 1459 10, 11

Location and dimensions of a few example clock hand's positions are given below.

The below values are relative to the starting point (center of the clock; see above) and not to the clock, control panel or screen.

Hour Small aW, aH Large aW, aH Image
06:15 11, 97 129, 10 image
07:00 -65, -86 11, -118 image
09:00 -108, 10 11, -118 image
10:10 -98, -54 -64, 119 image
10:35 -87, -64 -76, 97 image
11:30 -54, -86 118, 11 image
12:20 11, -97 119, 64 image
12:25 11, -97 75, 97 image
15:05 108, 10 75, -97 image
15:45 108, 32 -130, 10 image

For the clarity, in this case dimensions of clock's hands were given in absolute (4K resolution) values only.

⚠️ Please, pay a special attention to the last two examples. The game a dial clock working like a real one, meaning that the small hand also rotates ("in between hour") when time progresses following quarters. For details, please see this section.

For more details, some example images etc., please follow to the corresponding Wiki article.