Week Folder Assets #4007
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
All of the libraries/folders for stage assets (the folders "tutorial", "week[1-7]" and "weekend1") are hard-coded in the How the assets are pulled from those libraries is by setting the current level/week in As for the Stage Editor i did a somewhat messy thing to check for libraries/week folders and put them on the dropdown, you can view it here |
Beta Was this translation helpful? Give feedback.
All of the libraries/folders for stage assets (the folders "tutorial", "week[1-7]" and "weekend1") are hard-coded in the
project.hxp
file. Eric has been working on a system to reorganize assets though and you can view it in one of the pull requests in funkin.assets repository!)How the assets are pulled from those libraries is by setting the current level/week in
LoadingState.hx
based on the stage to be loaded. When setting the level,Paths.hx
(the utility class that handles asset paths) checks the folder whether it has the asset that is looked for. If it finds the asset looking for in the level library, it returns the path that the asset is located in.As for the Stage Editor i did a som…