Jump to content


Photo

Hi, Overlapping Png's Using PHP/GD2


  • Please log in to reply
1 reply to this topic

#1 ZenLife

ZenLife

    Young Padawan

  • Members
  • Pip
  • 2 posts

Posted 23 June 2012 - 04:21 PM

Hello,
Real Quick: I am trying to make a 'dress up game' basically. In a text-based game online, the user has a default avatar, which is a human shape. I want to allow them to choose different 'clothes', and add it to their avatar.

I assume this would involve overlapping these pre-made .png's and saving them as one image. I have had no luck with the overlapping, keeping transparency, and saving. GD is semi-foreign to me still.

An example/explanation/link to overlapping .png's and saving, as i need here, would be great. Or opinions of something else to use besides GD

I have googled and searched on this fine site but have not had results.
Thank you for your time!

#2 ZenLife

ZenLife

    Young Padawan

  • Members
  • Pip
  • 2 posts

Posted 26 June 2012 - 09:01 AM

I figured it out. Thanks.

But seriously; not one post on the Whole forum going on three days now? Wake Up!

P.S. Sorry for the double post :D




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users