prime31 / Nez

Nez is a free 2D focused framework that works with MonoGame and FNA
MIT License
1.76k stars 357 forks source link

Adds TryLoad Method to AsepriteFileLoader #792

Closed AristurtleDev closed 4 months ago

AristurtleDev commented 4 months ago

Description

Adds a TryLoad method to the AsepriteFileLoader. When calling the underlying load method, when an exception occurs, this will output the exception details in the Debug panel and return false instead of causing exceptions to occur.

Motivation

The reason for this PR is as follows

image