From 94ce4aa26d64d8553bfcdb0eb35103c1cac453b7 Mon Sep 17 00:00:00 2001 From: Themaister Date: Sun, 23 Dec 2012 15:42:52 -0800 Subject: [PATCH] Updated Overlay image configuration (markdown) --- Overlay-image-configuration.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Overlay-image-configuration.md b/Overlay-image-configuration.md index e196e7f..d7f23b9 100644 --- a/Overlay-image-configuration.md +++ b/Overlay-image-configuration.md @@ -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