Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Author Topic: shadow for 2d characters?  (Read 2305 times)

0 Members and 1 Guest are viewing this topic.

fsk

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 82
    • View Profile
    • My blog
shadow for 2d characters?
« on: August 22, 2007, 10:33:43 AM »

Hi!

Can i use a shadow for my 2d character?  ???

thanks! ;D
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: shadow for 2d characters?
« Reply #1 on: August 22, 2007, 02:26:16 PM »

You can, but you have to paint it. Then you have several options:

1) make the shadow part of your character images (you can use the alpha channel to make the shadow semi-transparent).
2) Use some generic shadow image and add it as a subframe to your character's animations in SpriteEdit.
3) Use some generic shadow image and attach it to your actor using the actor.AddAttachment() method.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

fsk

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 82
    • View Profile
    • My blog
Re: shadow for 2d characters?
« Reply #2 on: August 23, 2007, 08:53:56 AM »

thanks again Mnemonic!!!  8)
Logged
 

Page created in 0.037 seconds with 20 queries.