Loader wont goto game layout

Discussion and feedback on Construct 2

Post » Mon Jul 29, 2013 6:13 pm

Hi, this is a 2 line capx:

https://www.dropbox.com/s/6shif7l7wpofis0/loadertest.capx

It has a loader layout and a game layout.

In the project, "use loader layout " is set to yes, and the first layout is set to "loader"

in loader, I have:

System loadingprogress=100 : System Go to game

It never works, it always gets stuck in the loader layout. No idea how to get the loader to switch to the game layout.

Help!
B
17
S
6
G
3
Posts: 370
Reputation: 3,942

Post » Mon Jul 29, 2013 6:26 pm

You should use System->on loader layout complete instead.
Your project is probably so small that it will switch to game less then blink of an eye so you should add wait 1 sec to see that it works.
B
14
S
5
G
4
Posts: 107
Reputation: 4,788

Post » Mon Jul 29, 2013 6:41 pm

Result, that fixed it! i just cut and pasted from an old project which used to work, didn't realize there was a nice new event!
B
17
S
6
G
3
Posts: 370
Reputation: 3,942

Post » Wed Aug 21, 2013 4:07 am

I think, that loadingprogress should equal to 1, not 100.

But I just started learning about loader.

This method seems to be able.
B
65
S
13
G
3
Posts: 33
Reputation: 5,424


Return to Construct 2 General

Who is online

Users browsing this forum: Digitalarray, Mario4President and 5 guests