Skip to content

Export and import scripts / Hm05Script / ImageSpec

Interface: ImageSpec ​

Properties ​

PropertyTypeDescription
bytesArrayBuffer | Uint8Array<ArrayBufferLike>PNG / JPEG / GIF / WebP file bytes
folder?stringa folder inside the Library's "images" folder
namestringthe Library name
sheet?objectcut into equal cells (a sprite sheet)
sheet.cellHeightnumber-
sheet.cellWidthnumber-
sheet.count?number-

HereSplash — 2D animation for the web