Tuesday, 7 April 2015

Coding: Memory

Another piece of code I wanted to incorporate into my project was memory. I wanted the artefact to remember the users name and then use this information throughout the piece. I remembered that in second year we learnt how to code memory and preferences so I referred back to my old work.

I managed to re-create memory in my final project, now the user can enter their name at the beginning and the artefact will remember it. Throughout the piece the users name will be displayed. I feel this brings in a level of interactivity and connects the user to the piece.

Below is the code in action: