Load Autosave always put the character in the middle of the scene and stops all sounds?

  • #1, by AkcayKaraazmakSunday, 27. September 2015, 16:40 9 years ago
    Hi mates,
    I'm trying to implement the autosave in the game. But whenever I call "load autosave" it load the autosaved file but put the character in the middle of the scene (but inside the borders). I call the exec autosave in the beginning of the scene when character is on the very left side of the scene. But autosave puts in the middle smile

    Also after loading the autosave, all the music and playing sounds doesnt play, game starts in mute.

    Any ideas? smile

    Thank you!

    Great Poster

    440 Posts


  • #2, by afrlmeSunday, 27. September 2015, 17:28 9 years ago
    I believe you need to let the scene load first (fade in) before triggering the autosave. Add something like this to the top of the at begin of scene action list...

    hide cursor
    pause 500ms (whatever fade in time is)
    execute autosave #?
    show cursor

    P.S: before doing that, could you check the log please to see if there are any errors present after saving & after loading.

    Imperator

    7278 Posts

  • #3, by sebastianSunday, 27. September 2015, 17:32 9 years ago
    regarding the music:
    do you use "continue music from previous scene" in your scene properties?

    Thread Captain

    2346 Posts

  • #4, by AkcayKaraazmakSunday, 27. September 2015, 17:51 9 years ago
    @Lee it worked mate, thank you so much!

    @Sebastian; yes bro, continue music from prev scn. What I should do to have the music after autosave?

    Great Poster

    440 Posts

  • #5, by AkcayKaraazmakSunday, 27. September 2015, 17:53 9 years ago
    Before the loading of autosave, a video starts play (with option stop music), and when video finishes it loads the autosave.

    Great Poster

    440 Posts

  • #6, by AkcayKaraazmakSunday, 27. September 2015, 17:55 9 years ago
    Ovv I changed stop music into "only resume in same ..." and it worked! . Thank you so much mates!!!

    Great Poster

    440 Posts