BBMOD_Sprite

Extends BBMOD_Resource

constructor

new BBMOD_Sprite([_file[, _sha1]])

Description

A sprite.

Arguments

Name Type Description
_file String/Undefined The file to load the sprite ffrom.
_sha1 String/Undefined Expected SHA1 of the file. If the actual one does not match with this, then the model will not be loaded.

Properties

Name Description
Height The height of the sprite.
Raw The raw sprite resource of undefined if it has not been loaded yet.
Width The width of the sprite.

Methods

Name Description
get_texture Retrieves a pointer to the texture.

Throws

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on May 18, 2022 using GMDoc.