Successfully traverse the cozy people spritesheet to create an avatar outfit from overlaid elements. Customization of the avatar is not necessary yet, just show that you can create a good-looking avatar sprite from constituent body + outfit elements.
Try tackling animation as well if possible
Frontend
Generate the avatar somewhere temporary (probably on the player profile page)
Decide on which sprites we are going to use for MVP1 and note down the locations of the sprites in the spritesheets. We need:
Base bodies
A small variety of outfit-related items
A small set of enemy-looking or challenge-looking sprites to represent tasks
Any other decorative things to use in game would be helpful
Backend
Given some player avatar object (ex: {body:, hair:, shirt:, pants:, }), determine the locations (coordinates) in the spritesheet you will have to access to get the correct sprites
You can self-define the player object for now but eventually it will be in the database
The values of the player object can be the specific coordinates in the spritesheet you'll have to traverse, but more than likely in future implementation they will be unrelated id values. We can have some separate file dictating the relationship between these id values and the coordinates on the spritesheet to which they correspond
Avatar: Spritesheet to avatar generation
Overview:
Successfully traverse the cozy people spritesheet to create an avatar outfit from overlaid elements. Customization of the avatar is not necessary yet, just show that you can create a good-looking avatar sprite from constituent body + outfit elements.
Try tackling animation as well if possible
Frontend
Backend
{body:, hair:, shirt:, pants:, }
), determine the locations (coordinates) in the spritesheet you will have to access to get the correct spritesid
values. We can have some separate file dictating the relationship between theseid
values and the coordinates on the spritesheet to which they correspond