Game optimization
IsabelleK
Member, Sous Chef Posts: 2,807
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.
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
Hope that helps!
QS
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io