Go Back   CodingForums.com > :: Client side development > General web building

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-13-2012, 11:24 AM   PM User | #1
Jimmy25
New to the CF scene

 
Join Date: Aug 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Jimmy25 is an unknown quantity at this point
Is it possible to make this kind of Character system on my own forum?

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.
Jimmy25 is offline   Reply With Quote
Old 08-13-2012, 08:35 PM   PM User | #2
mlseim
Master Coder

 
mlseim's Avatar
 
Join Date: Jun 2003
Location: Cottage Grove, Minnesota
Posts: 9,045
Thanks: 8
Thanked 1,029 Times in 1,020 Posts
mlseim has a spectacular aura aboutmlseim has a spectacular aura aboutmlseim has a spectacular aura about
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



.

Last edited by mlseim; 08-13-2012 at 08:38 PM..
mlseim is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:23 PM.


Advertisement
Log in to turn off these ads.