Loading screen

pinkio75pinkio75 Member, PRO Posts: 1,217
edited February 2012 in Working with GS (Mac)
hello to everyone,
I have a question...
how to make a classic "loading screen" every time
i step from one stage to another?
Thanks in adv.

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    edited February 2012
    Whatever is on the scene when the scene changes, is what shows threw the load. So you can have an image that says loading or whatever on the scene where you want it with its alpha set to 0 so you dont see it, then right before you change scenes change its alpha to 1 so it becomes visible then itll be there threw the load.

    cheers
  • pinkio75pinkio75 Member, PRO Posts: 1,217
    Thanks for your solution
    so I need to load a hidden image in front of my layer;
    I thought that you could set it like a splash screen,
    anyway i will try this method.
  • pinkio75pinkio75 Member, PRO Posts: 1,217
    edited February 2012
    I did as you said, and it works fine :)
    but just to know, how to make a "loading progressive bar"?
    thanks
  • CloudsClouds Member Posts: 1,599
    "how to realize a "loading progressive bar?"

    You mean how to have an animated (moving) progress bar ?
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    Unfortunately that's not possible, to have the bar actually change size and show load progress while the scene is changing. Whatever is on the scene when it changes is what shows threw the load, and its static

    cheers
  • CloudsClouds Member Posts: 1,599
    edited February 2012
    @JohnPapiomitis

    Is this possible . . . ?

    The next scene you go to has zero actors that preload - except for an animated progress bar that loads instantly (you make sure it only uses a tiny amount of memory).

    Then once the progress bar is up and going . . . . you spawn all the actors in your scene.

    Would that work ?
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    Yeah but the game would stop, load and show the spinning loading wheel so the user is gonna know its loading, then go to a blank scene with a loading bar, then they have to wait for that to load. Then you would have to spawn that actors which might cause hiccups to the frame rate.

    Doesn't see worth it to me, just for a loading bar.

    cheers
  • pinkio75pinkio75 Member, PRO Posts: 1,217
    Yes i mean animated (moving) progress bar
    but don't worries, my question it was only to information
    Thanks
  • CloudsClouds Member Posts: 1,599
    edited February 2012
    "Yeah but the game would stop"

    Of course, that's the intention !

    "load and show the spinning loading wheel"

    The idea is that the progress bar would load near instantaneously if you made it tiny (perhaps just a few kb).

    "then go to a blank scene with a loading bar"

    Of course, that's the intention !

    "then they have to wait for that to load."

    The idea is that the progress bar would load near instantaneously if you made it tiny (perhaps just a few kb).

    "Then you would have to spawn that actors which might cause hiccups to the frame rate."

    I think you could make the frame rate of a progress bar very very low, an 8 bit PNG, just a few kb, that animates every quarter of a second might do the trick. Might be worth a try ?

    ??
Sign In or Register to comment.