View Full Version : Is it possible to make this kind of Character system on my own forum?
08-13-2012, 12:24 PM
Hey guys, is it possible that I find a picture of a character, and make every members have this same character appearing as their picture. And then I'll set up an online shop on the forum, where there are lots of different costume and accessories (just pictures) for the members to choose from. Then using the points they earned from The Points System to exchange/buy those stuffs from the shop and actually be able to put it on their character. Please tell me how if it's possible.. I would really appreciate it. Like, dress up their character the way they want to. I really wanna do this.
08-13-2012, 09:35 PM
You'll need a bunch of .gif images of the character and the clothes.
The background on all of them will be white (transparency color), and
the images will all be the same size. Basically, what the script can do
is "overlay" one on top of the other. Each image adds (or overlays) over
the basic character body as the bottom image. Each piece of clothing
is placed on the white image so it matches-up with the character's body.
They can be layered so that you put them on in a certain order. Any
part of the images that are "white" will show whatever is underneath,
as "white" is your tranparent color.
I think you can use either GIF or PNG, as they both allow transparencies.
GIF is probably easier to work with, but has limited colors. You can't use JPG/JPEG.
PHP (the GD library) will add one over the other, or multiple images and create
one GIF image to output to the browser. It's sort of creating a watermark, if you
wish to Google it: PHP GD overlay gif images
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.