Deletes a font asset.



Argument Description
ind The index of the font to delete.

Returns: N/A


With this function you can delete a font asset from the game. This is a permanent removal, and changing rooms, or restarting the game will not bring the removed font back. For that the player would need to exit the game and restart that way, so take care when using this function. In general it is only needed for freeing up memory that has been used by a font added to the game through the functions font_add or font_add_sprite.



The above code will delete the font indexed in the global variable "Font".

Back: Fonts
Next: font_get_name
© Copyright YoYo Games Ltd. 2018 All Rights Reserved