Dmitrix Posted January 9, 2014 Share Posted January 9, 2014 Hello!So I built a small little game that only contains two states. A menu state which is just a picture and a button and a play state where you have a character that moves back, forth and jumps. My issue is that sometimes when you press the button on the menu state to go to the play state it will take a few seconds to load and will just display a black screen for a bit. Is there any way to get rid of this loading time by using some sort of loading screen? Or should I combine both states into one so there is no loading time in between? Thanks in advance for your suggestions. Link to comment Share on other sites More sharing options...
Mike Posted January 10, 2014 Share Posted January 10, 2014 What I recommend is checking the repository in the 'resources' folder and then "Project Templates / Basic". There you can see an example of using Boot state, Preloader state, MainMenu state and Game state - you got the 3rd,4th statesand adding the 1st,2nd will solve your problems since all graphics and assets will be preloaded in 2nd state. Link to comment Share on other sites More sharing options...
Recommended Posts