Loading scene...

  • #1, by dramaminiWednesday, 17. September 2014, 12:21 10 years ago
    Hi!

    I' m working on a first person adventure game.

    A certain scene in game, takes about 7 seconds to load, and the game stucks (looks like crashed).
    Is there a way to add a loading screen before that scene,
    or is there a way to run some actions, variables or conditions of this scene, when the game starts,
    (in order to reduce scene loading time)
    or -even better- can I put the specified scene in memory when the game starts?

    Thank you very much!

    Newbie

    44 Posts


  • #2, by SimonSWednesday, 17. September 2014, 12:32 10 years ago
    Hi, tell me some about it, how much animation data do you have there ? How big is the scene ? You might think about optimizing the amount of memory used. You can of course show a loading image before changing the scene, so it will be in front, when you change the scene, maybe with an interface. Press Pos1 to see your memory usage.

    Thread Captain

    1581 Posts

  • #3, by dramaminiWednesday, 17. September 2014, 12:49 10 years ago
    Thanks for reply!
    Scene is 1366x768 pixels.
    There is no animation at all. It is a puzzle where user should enter the right code.
    Every number is a hotspot. When clicked, the number increases +1.

    In order to understand, see this (under costruction) picture.

    *What is Pos1?

    Newbie

    44 Posts

  • #4, by SimonSWednesday, 17. September 2014, 13:11 10 years ago
    I don't understand then why it would take so long. Pos1 it's named in Germany, home I think it's in english, is there by the del and the scroll keys.

    Thread Captain

    1581 Posts

  • #5, by dramaminiThursday, 18. September 2014, 13:37 10 years ago
    Hmm.. Is there a way to load this scene and keep it in memory when game starts?

    Newbie

    44 Posts

  • #6, by SimonSFriday, 19. September 2014, 14:32 10 years ago
    I see only 3 options: there is some error in your scripting or you have very slow hardware or you use unoptimized files. I could take a look at them, but I can't diagnose what's wrong from the info I have. Loading the scene at the start would be navigating around the real issue. Also your texture memory limit is set much to high, you can fit 8 times full HD in there, I don't believe you use that sizes.

    Thread Captain

    1581 Posts