09-24-2016, 10:27 PM
(This post was last modified: 09-26-2016, 11:04 PM by Theforeshadower.)
Been a while but I have interesting update information:
I have solved a small memory that was at the core of my two shaders - pixelate and fade.
Using some problem solving skills and the Game Maker manual, I have changed the shaders from working with actual files as sprites to sprites pulled from the game drawing surface.
Boring story short, a 50 MB memory leak once you start the game and another 2MB each time the room resets is now gone! Game is now staying healthily under 20,000bytes of ram in its current state.
Always fun to solve a memory leak early in development before it grows into a huge problem later.
I have solved a small memory that was at the core of my two shaders - pixelate and fade.
Using some problem solving skills and the Game Maker manual, I have changed the shaders from working with actual files as sprites to sprites pulled from the game drawing surface.
Boring story short, a 50 MB memory leak once you start the game and another 2MB each time the room resets is now gone! Game is now staying healthily under 20,000bytes of ram in its current state.
Always fun to solve a memory leak early in development before it grows into a huge problem later.