You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously, the number of levels was hardcoded in the Global script, and would
have to match the number of scene files in the TileMap directory.
Instead, when Global is initialized, enumerate the numbered scene files in that
directory; sort them numerically; and load them for good measure. The number of
levels is then determined from the number of scenes found.
Fixes#5
wjt
linked a pull request
Jan 10, 2025
that will
close
this issue
Currently the number of levels is hardcoded, and must coincide exactly with the number of TileMap/ scene files.
Can we auto-detect the number of levels by enumerating the directory and finding the number of levels inside?
The text was updated successfully, but these errors were encountered: