Skip to content

Interface. Control Panel

Mr. Fat Guy edited this page Apr 16, 2024 · 21 revisions

Table of Contents:

Table of contents generated with markdown-toc.

Main

Please, note that even though this entire article is about control panel, all measurements given in here (both in-game and absolute 4K) are absolute. Relates to the entire screen and not to control panel itself.

Control Panel

Buttons

Day Dusk Night
Empty
Filled ![][64] ![][66]

Definitions:

  • gX, gY → in-game location; gW, gH → in-game dimensions;
  • aX, aY → absolute (4K resolution) location; aW, aH → absolute (4K resolution) dimensions

Status Panel

Implemented in: #86.

Element gX, gY gW, gH aX, aY aW, aH Image
With logo 81, 110 168, 50 884, 1210 1847, 551
Empty (the same) (the same) (the same) (the same)

Definitions:

  • gX, gY → in-game location; gW, gH → in-game dimensions;
  • aX, aY → absolute (4K resolution) location; aW, aH → absolute (4K resolution) dimensions

Thermometer

Implemented in: #85.

Day Dusk Night
Bulb ![][83]

Definitions:

  • gX, gY → in-game location; gW, gH → in-game dimensions;
  • aX, aY → absolute (4K resolution) location; aW, aH → absolute (4K resolution) dimensions

Clock

Dial

Implemented in: #99.

Location and dimensions of the clock's dial are as follows:

Element gX, gY gW, gH aX, aY aW, aH Image
Clock dial 269, 108 43, 41 2958, 1189 464, 453

Definitions:

  • gX, gY → in-game location; gW, gH → in-game dimensions;
  • aX, aY → absolute (4K resolution) location; aW, aH → absolute (4K resolution) dimensions

Hands

Implemented in: #148.

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

And so in the below table we are only showing width and height of a small and large hand. Therefore, please, note that the below values are relative to the starting point (center of the clock) and not to the clock, control panel or screen.

The below are upper, left corner and lower, right corner of the rectangle through which an arrow must be drawn (a diagonal). Or, in other words, a starting and ending point for the vector to be drawn. See the below image for details:

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

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

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

A Real Clock

⚠️ Please, pay a special attention to the last two examples, compare them carefully and observe the fact that the original game has a fully working dial clock implemented. Meaning that the small hand also rotates ("in between hour") when time progresses following quarters.

In the second to last image there's five past three meaning first quarter. And the small arrow points directly to the third hour. At the last image there's a quarter to four meaning third quarter. And the small arrow points two pixels below and is closer to four than to three. Just like in every real dial clock.

Calendar

Implemented in: #147.

Border

Element gX, gY gW, gH aX, aY aW, aH Image
Calendar label 261, 150 59, 9 2861, 1653 658, 97

Definitions:

  • gX, gY → in-game location; gW, gH → in-game dimensions;
  • aX, aY → absolute (4K resolution) location; aW, aH → absolute (4K resolution) dimensions

Label

Text

Element gX, gY gW, gH aX, aY aW, aH Image
Calendar label 261, 150 59, 9 2861, 1653 658, 97

Home

Game

Town

Locations

Gameplay

Development

Clone this wiki locally