How could I make a login loading bar ?

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

genar
Posts: 137
Joined: 13 Jul 2017, 11:49

How could I make a login loading bar ?

Postby genar » 17 Aug 2018, 09:16

Good morning !

Im struggling with a good loading bar approach... currently once my player clicks on "login" the package is sent to the server ,where it checks if the username/password is valid. If so all user specific & server configuration data is sent to the client... the scene should start once all data is received... therefore a loading bar should be shown... any ideas how I could do that ?
User avatar
Zenith
Posts: 55
Joined: 09 Oct 2017, 09:57

Re: How could I make a login loading bar ?

Postby Zenith » 18 Aug 2018, 10:46

This much process actually happens very quick. So maybe you an fake a loading bar for 1s and fill it fully once the update arrives back.
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: How could I make a login loading bar ?

Postby Lapo » 18 Aug 2018, 14:16

Usually the best idea is not to use a percentage bar, instead use an animated icon (or bar) that does not show a specific progress and simply invites the user to wait a bit.

As Zenith said, most of the times the login process is so quick that users won't even be able to see the loading screen.

Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 79 guests