Loading Screen

iPhoneDevForMeiPhoneDevForMe Member Posts: 362
edited November -1 in Working with GS (Mac)
I am trying to add a loading screen to my game the way FMG has with his games.

When I press the button to go to a level, I spawn the loading actor and change the scene.

If I add a timer to change scene, the loading actor spawns but the game crashes. If I do not add a timer, the loading actor does not show up?

Anyone have any advice as to the proper way to do this? Thanks in advance!

Comments

  • firemaplegamesfiremaplegames Member Posts: 3,211
    I use a timer, like this:

    Rule
    When Touch is Pressed
    -----Spawn Actor [loading graphic]
    -----Timer After 0.1
    ----------Change Scene To: [whatever]
  • iPhoneDevForMeiPhoneDevForMe Member Posts: 362
    That's exactly what I did, but it seems to be crashing every time untill I remove the timer!

    I will have to play with it a little though because my GS viewer seems to be crashing for no reason today and that might be the problem.

    Thanks for the input! I at least know the logic is right now!
  • bladeolsonbladeolson Member Posts: 295
    I am having the same issue. My game keeps crashing just after my load screen...

    Did you figure it out?
  • CapCap Member Posts: 225
    firemaplegames said:
    I use a timer, like this:

    Rule
    When Touch is Pressed
    -----Spawn Actor [loading graphic]
    -----Timer After 0.1
    ----------Change Scene To: [whatever]

    You can spawn an actor before you change to the scene where the actor should appear? :-O
Sign In or Register to comment.