Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(4 edits)

Annoying. The available scaleModes are:

  • fit: Resizes the image to fit the height or width of the area, whichever is smaller, without cropping or distorting it. This will leave blank space around either the vertical or horizontal edges if the image and area have different aspect ratios.
  • stretch: Stretches the image to fit the area (this will distort the aspect ratio)
  • cover: Resizes the image to cover the area completely, cropping any excess off the sides or off the top and bottom as needed

The default mode is fit.

The blendModes (also cut off in the docs here) are the same as the ones provided by löve 11.4:

  • alpha (default)
  • add
  • subtract
  • multiply
  • replace
  • darken
  • lighten
  • screen

The image will be blended with the background.

thanks, recording that