How do I implement loading screen? For Level Preload

Get help using Construct 2

Post » Wed Jun 28, 2017 3:16 am

Hey guys,

please help me by this. I have done a game. But every time my level starts my screen freeze for 2-5 seconds. how can i implement a loading screen that preloads my whole level? i want to have a smooth level start. Can you make a CAPX for me? im on construct 2. thank you very much
B
15
S
7
G
2
Posts: 33
Reputation: 2,271

Post » Wed Jun 28, 2017 3:47 am

@Xh3maa

If you already build your game(apk) from Phonegap Build online or cocoon. You're in bad luck buddy :( . Their service nowadays sucks. They usually break your game. I suggest you compile it on your own using free open source products.
B
47
S
14
G
20
Posts: 87
Reputation: 12,913

Post » Thu Jun 29, 2017 2:24 am

Thanks for answer. I build my apps with Intel XDK... The problem stays.. my idea was to set an overlay on the top of my gam if the layout loads everything correctly the overlay would disapear. But how do i know when my level loads completely? Can anybody give me a tip? Its very important..
B
15
S
7
G
2
Posts: 33
Reputation: 2,271

Post » Thu Jun 29, 2017 5:08 am

@Xh3maa
You know what, I would suggest that you make a time variable to make a time delay before the game starts or you can set it when the progress bar reaches full. Your issue with screen freeze, I suspect is that your game is loading all the collision and behaviors all at once. My 2 cents advice to you is to optimize your game, disable all possible objects collision and behaviors that are not on the screen yet. This will definitely help your game to run smoothly.
B
47
S
14
G
20
Posts: 87
Reputation: 12,913

Post » Thu Jun 29, 2017 1:04 pm

I was thinking about that but it seems too easy :P
You are right. Everything loads on start. How to implement your idea? How to set everything on disabled on start of Layout? I know there is a button for disabled. But does help that? Later if i set everything on enabled at the same time wouldnt freeze my game?
B
15
S
7
G
2
Posts: 33
Reputation: 2,271

Post » Wed Jul 05, 2017 3:20 am

Nobody an idea? It would help very much!
B
15
S
7
G
2
Posts: 33
Reputation: 2,271

Post » Wed Jul 05, 2017 5:58 am

B
57
S
24
G
14
Posts: 772
Reputation: 13,135


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 43 guests