I am trying to save more then one snapshot in my game.
i am creating a sprite where i am loading the snap shot to. but when i want to create another snapshot to a different sprite it comes instead of the first one. so i guess i need to save the first snap shot with the Local storage? i found a tutorial that shows how to store variables so i tried to save a snapshot instead and the result is:
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABkoAAAOJCAYAAABS8X61AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAP - this goes on/
and i cant figure out how to load the png?