diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index b713b68bf..37d0aaabc 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -264,15 +264,15 @@ Example: default_cobble.png^[crack:10:1 -#### `[combine:<w>x<h>:<x1>,<y1>=<file1>:<x2>,<y2>=<file2>` +#### `[combine:<w>x<h>:<x1>,<y1>=<file1>:<x2>,<y2>=<file2>:...` * `<w>` = width * `<h>` = height -* `<x1>`/`<x2>` = x positions -* `<y1>`/`<y1>` = y positions -* `<file1>`/`<file2>` = textures to combine +* `<x>` = x position +* `<y>` = y position +* `<file>` = texture to combine -Create a texture of size `<w>` times `<h>` and blit `<file1>` to (`<x1>`,`<y1>`) -and blit `<file2>` to (`<x2>`,`<y2>`). +Creates a texture of size `<w>` times `<h>` and blits the listed files to their +specified coordinates. Example: |