Updated Overlay image configuration (markdown)
parent
5b9a22bf09
commit
94ce4aa26d
|
@ -35,6 +35,7 @@ By default, the overlay image will be stretched out to fill the whole game image
|
||||||
However, for some overlays, this is not practical.
|
However, for some overlays, this is not practical.
|
||||||
|
|
||||||
It is possible to set the placement using for example:
|
It is possible to set the placement using for example:
|
||||||
|
|
||||||
overlay0_rect = "0.2,0.3,0.5,0.4"
|
overlay0_rect = "0.2,0.3,0.5,0.4"
|
||||||
|
|
||||||
We assume that the game screen has normalized coordinates in X and Y that span from `[0, 0]`
|
We assume that the game screen has normalized coordinates in X and Y that span from `[0, 0]`
|
||||||
|
@ -42,6 +43,7 @@ in the top-left corner to `[1, 1]` in the lower-right corner.
|
||||||
|
|
||||||
This will render the overlay to `x = 0.2, y = 0.3` with size `width = 0.5, height = 0.4`.
|
This will render the overlay to `x = 0.2, y = 0.3` with size `width = 0.5, height = 0.4`.
|
||||||
The default (stretch to full screen) could be described as such:
|
The default (stretch to full screen) could be described as such:
|
||||||
|
|
||||||
overlay0_rect = "0.0,0.0,1.0,1.0"
|
overlay0_rect = "0.0,0.0,1.0,1.0"
|
||||||
|
|
||||||
### Coordinate descriptors
|
### Coordinate descriptors
|
||||||
|
|
Loading…
Reference in New Issue