LoadImage

Category: Images and Rendering

Back to System Functions


Signature

LoadImage(imageName As String)

Returns

Integer

Description

Loads an image file and returns an image handle that can be used with DrawImage and related functions.

New images start with a hotspot of 0, 0.

Example

player = LoadImage("player.png")