etully: I'm going to try and make it so that the user can control the initial creation of the character, by like clicking on Hair, and then next or previous until they get their desired look. Then, it stores all those variables that have been set into a database, and creates a static image, which will be loaded where it is appropriate. For editing, I plan to create a system where you can select items, and apply them, and it'll just re-write the location's value to the database, and then re-merge all of the variables into the final image again, just overwriting it.
phpshift: I've already created a function with imagecopymerge that will apply all the locations and output the final image.
The real trouble I'm having has to deal with the database, and the interface that allows them to initially create their character. I'm haven't watched any of the MySQL videos I have really, and I'm just wondering how to structure it. Right now, I have a database, and then a table in it called avatar, then I have char_id, ava_eyes, ava_hair, ava_emotion, and it stores a number in each one. The number is then used to place into the filename of the hair, eyes, or emotion so it uses the write one, then merges them all down to get the final image. Would this case a problem if I wanted to store information about each thing, say once I got into adding articles of clothing, and wanted to have names and descriptions about each one? There's an example of it here. This isn't the current version I'm using. This one is where I took tekky's advice and stored the information in an array, and then it saves the image based on the ID you enter, and it will overwrite the old image with that ID.
Demo
To make sure it's actually doing the saving and what not, I added:
Show ID