Updated Overlay image configuration (markdown)

Themaister 2012-12-23 15:42:52 -08:00
parent 5b9a22bf09
commit 94ce4aa26d
1 changed files with 2 additions and 0 deletions

@ -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.
It is possible to set the placement using for example:
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]`
@ -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`.
The default (stretch to full screen) could be described as such:
overlay0_rect = "0.0,0.0,1.0,1.0"
### Coordinate descriptors