Skip to content

Week Folder Assets #4007

Closed Answered by KoloInDaCrib
Amazonsphinx asked this question in Q&A
Jan 17, 2025 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

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…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Amazonsphinx
Comment options

@KoloInDaCrib
Comment options

@Amazonsphinx
Comment options

Answer selected by Hundrec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants