playMaker

Author Topic: [SOLVED] Sprites overlapping in transparent background area?  (Read 1715 times)

RC

  • Full Member
  • ***
  • Posts: 148
[SOLVED] Sprites overlapping in transparent background area?
« on: December 10, 2014, 12:38:30 PM »
Hi,

Can you guys give me some advice to fix this problem?

Player on the left have a transparent background, which looks fine in the Scene tab but in the Game tab its overlapping the zombie, it's fine, but shouldn't it show the zombie? instead cutting/overlapping it?

I have tried layer order but that didn't do much.


I don't want to trim the player because there are tons of sprite if I do so, and could mess up the alignment of the sprites itself.

Image attach so you guys can see what I mean.

Thank you!
« Last Edit: December 11, 2014, 08:53:26 AM by Lane »

RC

  • Full Member
  • ***
  • Posts: 148
Re: Sprites overlapping in transparent background area?
« Reply #1 on: December 10, 2014, 07:14:01 PM »
anyone?

RC

  • Full Member
  • ***
  • Posts: 148
Re: Sprites overlapping in transparent background area?
« Reply #2 on: December 10, 2014, 10:12:03 PM »
Found the problem. I use the action, rotation, to get the zombie to look left.
I set a rotation of 180 that's why it cuts off when its playing the animation.
Setting it (-180) solves the problem, don't really understand why, but it did fix the issue.