Custom Loading Screen
#1244
-
So I am new to melonjs, and I want to make my own Loading Screen instead of just using the default one. I have made attempts, but it didn't really work well. any ideas on how I should make it? |
Beta Was this translation helpful? Give feedback.
Answered by
obiot
Aug 27, 2024
Replies: 1 comment 2 replies
-
it's supposed to be actually quite simple (when it works). Define a new Loading Screen that extend the where are you stuck exactly ? |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
em9836
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
it's supposed to be actually quite simple (when it works).
Define a new Loading Screen that extend the
Stage
class (see the source code of our loading screen here), and then just "assign" it to the loading screen by callingstate.set(state.LOADING, new youCustomLoadingClass());
where are you stuck exactly ?