Game optimization

IsabelleKIsabelleK Member, Sous Chef Posts: 2,807
edited November -1 in Working with GS (Mac)
Hello,
My game is almost ended, so I started to wonder how to optimize it.
It's very huge and complex. I managed to decrease images and sounds RAM usage, to the lowest level I could (and it's fine). Also my FPS are at the decent level (about 60).
Now I have two main problems:
1. Loading time.
2. Game Engine RAM usage.

Reference to 1. In GS the time from clicking on Preview on iPhone to play is about 10 minutes. I think that it's quite long, don't you think? (I'd only mention that my game is a classic point&click adventure game).
Reference to 2. I found somewhere on this forum, that GE contains every actor in the game. So I was wondering - I have about 500 dialogue actors with rules, it looks like that:
When touch is pressed, destroy this actor and spawn actor XXXX.
So the dialogue goes on. Would Game Engine memory usage decrease if I delete all of these actors and do something like that:
When touch is pressed, change image to: XXXX.?

Do you know any other ideas that could help me?

Thank you very much.

Comments

  • quantumsheepquantumsheep Member Posts: 8,188
    MarcinMakaj said:
    So I was wondering - I have about 500 dialogue actors with rules, it looks like that:
    When touch is pressed, destroy this actor and spawn actor XXXX.
    So the dialogue goes on. Would Game Engine memory usage decrease if I delete all of these actors and do something like that:
    When touch is pressed, change image to: XXXX.?

    Doing a change image with one actor will most definitely help. Having 500 actors will do you no favours!

    Hope that helps!

    QS :D

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: https://quantumsheep.itch.io

Sign In or Register to comment.