Updated Overlay image configuration (markdown)

Themaister 2013-01-11 06:48:25 -08:00
parent b1a04424cf
commit 61ad02f358
1 changed files with 9 additions and 0 deletions

@ -75,3 +75,12 @@ The format is:
`hitbox_type` describes which type of shape the button has. `radial` (circle, ellipsis) and `rect` (rectangular) shapes are supported.
`range_x` and `range_y` describe the size of the button. The semantics differ slightly for radial and rect hitbox types. For `radial` shape, `range_x` and `range_y` describe the radius in x and y directions in pixels of the source image. For `rect` shape, the `range_x` and `range_y` values represent the distance from center to the edge of the rect in terms of pixels of the source image. E.g. a `range_x` of 20 would mean the width of the rectangular is 40 pixels in total.
### Triggering multiple buttons with one desc
It's possible to trigger multiple buttons (e.g. diagonals) with one overlay desc.
overlay0_desc0 = "left|up,32,64,radial,10,20"
will trigger both left and up at same time.