combine_sprite {pixelpuzzle} | R Documentation |
Combine two sprite
Description
Combine two sprite
Usage
combine_sprite(img, img2, gap = 1)
Arguments
img |
Sprite 1 |
img2 |
Sprite 2 (added on the right) |
gap |
Gap between the sprites |
Value
Sprite
Examples
sprites <- define_sprite()
sprite1 <- sprites[["buhu"]]
sprite2 <- sprites[["sword"]]
show_sprite(combine_sprite(sprite1, sprite2))
[Package pixelpuzzle version 1.0.1 Index]