Custom loader doesnt work?!

Get help using Construct 2

Post » Mon Dec 09, 2013 2:15 am

i've made a custom loader layout, first layout set to "loader", use loader layout "yes", this suppose to display my loader layout at first right? but i'm still getting the default C2 loader style first, after the default C2 loader loaded complete, then show my loader for 1 sec (because its already 100% before my loader shows).

am i missing something to make it use my custom loader layout instead? or its a bug? btw, i'm using r152 & cocoonjs.

on side note, i thought cocoonjs wouldn't show loader at all, because all data are on iphone already, but its still showing C2 loader....
Doo Doo Diving App Store | Google Play

Donut Pirate App Store | Google Play
B
17
S
2
G
1
Posts: 195
Reputation: 1,578

Post » Mon Dec 09, 2013 12:42 pm

The C2 loader shows while the loader layout is loading.
Scirra Founder
B
403
S
238
G
89
Posts: 24,648
Reputation: 196,133

Post » Mon Dec 09, 2013 10:43 pm

@ashley

thanks for reply! what i'm seeing is C2 default loader loads to 100%(or near) then to my custom loader, which theres nothing left to load for my custom loader.

i might be wrong, but from what i read, my custom loader should take over the loading when elements on my custom loader layout has been loaded? is there a particular order how it loads? because i do my loader layout at the end of my project (i thought loader wouldn't appear for cocoonjs, but it still shows), and it seems my loader is the last thing being loaded?

i tried reproduce a new capx in the order i did. if you use the cocoonjs launcher, you should be able to see the problem. (compiled by cocoonjs also shows the same)

https://www.dropbox.com/s/olqvjc4o3l7pgea/loader_test.capxhollowthreat2013-12-09 22:47:47
Doo Doo Diving App Store | Google Play

Donut Pirate App Store | Google Play
B
17
S
2
G
1
Posts: 195
Reputation: 1,578

Post » Wed Dec 11, 2013 3:00 am

i made some changes to the game, nothing changed in loader area, compiled again, unexpected to see the loader working fine now! weird but fine now... i'll keep tracking on this.

good for now, thanks :)
Doo Doo Diving App Store | Google Play

Donut Pirate App Store | Google Play
B
17
S
2
G
1
Posts: 195
Reputation: 1,578

Post » Tue Apr 01, 2014 6:02 pm

@hollowthreat Can you explain me what i must do to receive fine working custom loader layout?

i have this same problem as you before
B
113
S
29
G
48
Posts: 1,883
Reputation: 36,580

Post » Tue Apr 01, 2014 10:09 pm

@delgado loader layout wouldn't show over cocoonjs launcher, you have to compile to test your loader.
Doo Doo Diving App Store | Google Play

Donut Pirate App Store | Google Play
B
17
S
2
G
1
Posts: 195
Reputation: 1,578

Post » Tue Apr 01, 2014 10:27 pm

@hollowthreat but how looks right code of working loader? i need this only for browser
B
113
S
29
G
48
Posts: 1,883
Reputation: 36,580

Post » Tue Apr 01, 2014 10:32 pm

@delgado sorry i cant help you with browser loader
Doo Doo Diving App Store | Google Play

Donut Pirate App Store | Google Play
B
17
S
2
G
1
Posts: 195
Reputation: 1,578


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 6 guests