|
|
|
|
|
gImageExists (Function) In french: gImageExiste Checks whether an image was loaded in memory. Reminder: The LoadImage or LoadImageSheet functions can be used to load images into memory.. These images can be numbered from 1 to 9. gImageExists is used to determine if image N has been successfully loaded in memory. Then, this image can be used by gImage.
IF NOT gImageExists(3) THEN
LoadImage(3, "Logo.png")
END
LIB_TITRE = "Our logo: " = gImage(3)
Syntax
<Result> = gImageExists(<Image identifier>)
<Result>: Boolean - True if the image was loaded in memory.
- False otherwise.
<Image identifier>: Integer Identifier of image sought in memory (included between 1 and 9). This identifier is returned by LoadImage or LoadImageSheet.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|