summaryrefslogtreecommitdiff
path: root/docs/tracks/minimap.md
blob: cabca70acd037d0f890e941ee2089b12aaced0b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
\page minimap Minimap
# Minimap
Create a new `minimap.png` file using your favourite graphics editor.

There are two options for making a minimap. The outcome is identical.

## Format
* Image size of 32x32 to 128x128
  * Odd sizes like 64x32 or 128x64 is fine.
  * Recommend no bigger than 128x128 but it will work.
  * Save as 32-bit

## Tips
* Turn off anti-aliasing
* White pixels must be RGB(255, 255, 255)
* Black pixels must be RGB(0, 0, 0)
* Any other pixel colour will turn into white

## Option 1: Black Background, White Track
* Use black pixels for the background and white pixels for the track.
* The black pixels will be transparent in-game

![alt text](image-3.png)
* Easiest option to make because it is easy to see the track


## Option 2: Transparent Background, White Track
* Transparent pixels must be *FULL* transparent or they will turn into white pixels

<img width=64 src="image-5.png" />

* Transparent version much harder to see the track in the graphics editor.

## Export
Place `minimap.png` in the track folder.
```
desktop/mycoolmods/tracks/mytrackname/minimap.png
```
The same folder as the track data that looks like this:

<img width="289" height="466" alt="image" src="https://github.com/user-attachments/assets/ccef558b-ac9a-42ed-bc85-e27da4f16598" />

## In-game configuration

* In the minimap tab the position of the minimap, finishline, and players markers can be configured.
* The minimap can also be coloured

![alt text](image-18.png)