• Android: combine multiple drawables into one dynamically?
    1 replies, posted
lets say I want to make an app which lets user create avatar from choice of clothes/items and then let other users see these "avatars". So what would be the best way to make this work? I was thinking of having these clothes/items as images, then save user avatars as numbers say: 4f6v31 which would translate into like: 4 = skin color. f = face. 6 = shirt color. v = pants color. 3 = shoes. 1 = hair. Then when user receives say 5 of these "other peoples saved avatars" it would load all 5 avatars by combining those clothes/items images into one drawable. Is such thing possible or is there better way?
It's definitely possible. You could just draw all the pieces of the avatar on top of one another with a Canvas.
Sorry, you need to Log In to post a reply to this thread.