I took a rest from coding for a long while because i have been working a lot and i came to a stage in the game where i was trying to get the frame rate higher but was struggling to find where the game was slowing down.
When i came back to the code with a fresh pair of eyes i set about going through it thoroughly and eventually found where the slow down was occuring. i was loading in extra images every frame which resulted in a memory leak. I have now fixed this.
I almost gave up with the project as it took me ages to figure this out,but now i hope to get it moving along again with renewed enthusiasm.
No comments:
Post a Comment