Streaming levels freezes the game

anonymous_user_ffb7c36b
Sun, 04 Jan 2015 21:51:40 +0000
World Creation

I’m working on a game that will have many linked levels and I want to make it seamless. I have transition areas where both levels need to be loaded. I’ve now set this up so that its pretty easy to switch maps “seemlessly”, but it freezes the game while this happens. I would like to do it in the background if possible. Since my main hub area has many transitional areas in it, they ALL need to be loaded with this map. This causes about a 1-3 second delay. I’ll include a screenshot of my load map function, which gets called via a foreach loop. I’ll also include a screenshot of my interface to detect if its done loading or not. When its done loading some actions are performed.alt text

11 posts - 7 participants