Hello Guest

Author Topic: Sinking into Tilemap tiles (but not hand-copied ones)  (Read 4110 times)

sfbaystudios

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 40
    • View Profile
Sinking into Tilemap tiles (but not hand-copied ones)
« on: December 28, 2012, 12:37:34 am »
Hello,

My character seems to sink into tilemaps (all directions) but not into the tiles I created by hand (copy/paste) before I started to use the tilemaps.  Also, creating a new sprite tile shows but character does not collide.  All the colliders are set to Box Custom (without changes).  I try to expand the Z size of the collider, but when the game starts it returns to 0.2.

I'm not sure how, but the sprites I had been using for copy/paste have z size (of the collider) set to 100 and it does NOT change when the game starts.  They all come from the same sprite sheet.

The only difference seems to be the z size of the box collider -- is there a way to keep it from reverting to 0.2 (or even better to default to 100 or something bigger?) as it seems that the character falls through even though they're all on the same z-axis.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Sinking into Tilemap tiles (but not hand-copied ones)
« Reply #1 on: December 28, 2012, 02:15:49 am »
You can change the z depth in the sprite collection editor - it won't change then.

sfbaystudios

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: Sinking into Tilemap tiles (but not hand-copied ones)
« Reply #2 on: December 28, 2012, 02:30:48 am »
Ah, I see "Collider Depth"