BBMOD_Sprite

Extends BBMOD_Resource

constructor

new BBMOD_Sprite([_file[, _sha1]])

Description

A sprite.

Arguments

Name Type Description
_file String The file to load the sprite from or undefined.
_sha1 String Expected SHA1 of the file. If the actual one does not match with this, then the model will not be loaded. Use undefined if you do not want to check the SHA1 of the file.

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 September 19, 2022 using GMDoc.