Doubts about... Keep scene in memory

  • #1, by juansirlinkTuesday, 18. April 2017, 02:08 7 years ago
    Hello, guys,

    Today was the first time I used the command "Keep scene in memory..." and I had some troubles... I made a pause screen using this (before this, i was using an interface to do a "pause screen") and, after some tests, the game started to work slowly (I'm not sure if it was a computer problem or a game trouble). My questions are... when I "Keep scene in memory..." and I leave the pause screen and I return to the main menu, that scene keeps in memory disappears or it is kept in the memory? If I pause the game lots of time... the scene is rewritten or I'm keeping various scenes?

    And... what is the meaning "for X scene changes"?

    Thanks a lot, guys!!

    Newbie

    46 Posts


  • #2, by afrlmeTuesday, 18. April 2017, 02:27 7 years ago
    x scene changes means that the scene will remain in memory for as many scene changes you specify. If you set it to 2 scenes then after changing scenes twice it will be removed from memory. Storing scenes in memory & preloading animations without manually removing them (preloaded animations) or letting them remove themselves from memory (scenes) will cause your game to lag over time during the current play session. It wouldn't matter if you own a custom built pc that cost you €10.000, it would still start to lag over time.

    Imperator

    7278 Posts

  • #3, by juansirlinkTuesday, 18. April 2017, 14:59 7 years ago
    x scene changes means that the scene will remain in memory for as many scene changes you specify. If you set it to 2 scenes then after changing scenes twice it will be removed from memory. Storing scenes in memory & preloading animations without manually removing them (preloaded animations) or letting them remove themselves from memory (scenes) will cause your game to lag over time during the current play session. It wouldn't matter if you own a custom built pc that cost you €10.000, it would still start to lag over time.
    Really, really thanks, AFRLme. I understand perfectly now how it work!

    Newbie

    46 Posts

  • #4, by afrlmeTuesday, 18. April 2017, 15:04 7 years ago
    No problem mate. It's all about the optimization! wink

    Imperator

    7278 Posts