Skip to content

Commit

Permalink
Made it more clear that "[combine" does accept a list of files.
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertZenz authored and sfan5 committed Jan 3, 2016
1 parent 64c060e commit a7c50a3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions doc/lua_api.txt
Expand Up @@ -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:

Expand Down

0 comments on commit a7c50a3

Please sign in to comment.