FujiAPI / Fuji

Celeste 64 Mod Loader
30 stars 10 forks source link

Graceful level load error handling #57

Closed axiand closed 6 months ago

axiand commented 6 months ago

Please confirm the following

Describe your feature

Fuji should handle level load errors with more care. For example, missing levels and corrupted levels.

The error handling procedure would be:

  1. Halt level loading immediately
  2. Log the error to the console
  3. Show a friendly error message to the user.
    • Quit to menu
    • Retry
    • Open log folder

We can also check for missing entities.

Why should we implement this?

Users wouldn't want to see the game crash because of a faulty level.

Optional