I am making a website with multiple games, in the website you will be able to create your own avatar.
I am thinking in some solutions:
1. I would like to save the avatar properties on a JSON or XML and use this data it in each game for building the avatar in real tiem so the player can see his builded avatar during each game.
2. creating a sprite of the avatar, and a sprite for each part and change in realtieme the source of the image of each sprite.
I dont know what to do, there are some one that can help me with a advice.