Skip to main content

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

Folia

A minimal framework for narrative games. · By Axile

[doc] incomplete doc text for image()

A topic by ironlantern72 created 40 days ago Views: 43 Replies: 2
Viewing posts 1 to 2

cuts off near the end, potential scaleMode values are missing.

the way it appears

(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