Hello, Boffins! ːsteamthisːːsteamthisːAn update to you!
As a novice hobby game maker this is not my main vocation, I remember throughout the project with all the fix's needed to make it work, it was like throwing myself at the wall. Some parts of the game where possibly neglected.
But these latest updates plan to streamline resources use of Boffins History Quiz Reel.
ːsteamthisː
Targeting memory use, made it a game goal to fix memory leakage bug issues.
Saving CPU use with better quiz button measures.
Made Extras interactive pop up box's more efficient.
fail proofed object controller - ensured only 1 copy can exist.
added function to ensure extras box's are targeted and destroyed on room exit so they can never build up in memory.
Targeted movie Sprites and reduced their resolution, the code scaled these images anyway reducing their physical resolution saves memory because it doesn't need to have them in their largest form.
Made a texture group which is for the large movie sprites and set the program to forget this texture group when not in use to save memory.
More manageable Movie background.
Major fix on the movie reel background - It is large because it has many images and switches between them, probably highest resource within this game. added extra code so when it switches between sprites it doesn't remember the last one, so unnecessary memory for this doesn't build up, which could cause a memory leak.
Improved Quiz Game button CPU resource use - Before every time a button was pressed all where destroyed and re made, the reason at the time for this was, the way I had built my game an my own knowledge of the code, at the time I thought it worked, an it did. But this used unnecessary computing power constantly destroying and remaking. 04.07.26
So the way the buttons work within the quiz game, their is a lot of information within them because the quiz is the main game but they are now re used saving CPU power.
Looked into the persistent object which manages different asset creation within game, code put in place
to ensure when this object is created and just after that their is only 1 running object of this type.
This ensures multiple objects of this type which would be unnecessary are never running all at once, if
this was a problem which I do not believe it was but it fool proofs this part of game code.
Extras unlocks pop up box's - a line of code was added to ensure only 1 pop up box ever exists at one time, this is to help prevent multiple instances on top of one another, the player would not see but it would use memory to do so when unnecessary. Made Extras interactive pop up box's more efficient.
Thank you for feedback within the player forum, this directly pushed me to address the problems with the program. - The Game has had some great patch fix's. ːsteamhappyː
