Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Bridgeman

Pages: [1] 2
1
Support / Re: Player behind tiles in tilemap
« on: August 24, 2014, 11:12:09 pm »
Cool, I finally got it working now. The whole Unity Layers thing thrown into the mix just confused me at first. Thanks for clearing this up.

2
Support / Re: Player behind tiles in tilemap
« on: August 24, 2014, 09:01:58 pm »
What exactly are you trying to do here? Some pics would really help.

Here in the Tilemap settings there's an option for Sorting Layers as well as Unity Layers. If I want a certain layer to overlap the player, do I need to change both of them or just the Sorting Layers?


3
Support / Re: Player behind tiles in tilemap
« on: August 23, 2014, 08:45:21 pm »
Tile map layers, in the tile map editor.

There's an option for Unity Layers as well as Sorting Layers. Do I need to change the Unity Layers as well, or can I leave those alone?

4
Support / Re: Player behind tiles in tilemap
« on: August 23, 2014, 07:29:08 pm »
You can mix tilemap layers and sorting order to get what you want. With certain other game types you'll have to use other means of sorting, especially if tiles overlap. Most should be fine with multiple tilemap layers and sorting the player appropriately.

You mean the layer drop down menu in the top right of the player object right?

5
Support / Re: Player behind tiles in tilemap
« on: August 23, 2014, 07:06:32 pm »
But then what if I wanted to make an RPG? There would be a lot of objects that would need to overlap the player. Can't that be done in one tilemap?

6
Support / Re: Player behind tiles in tilemap
« on: August 22, 2014, 11:37:14 pm »
You can use sorting order on the player sprite to control this. Note - you can't have some tiles overlap the player and others not.

Well, that's exactly my problem. I really don't know what's going on, but I figure it's easier if I show some pictures:

When I jump in one part of the level:



When I jump in another part of the level:



Now I don't really like either of them, but if I had to choose I'd prefer it to be like in the top image everywhere. Is there a way to fix that?

7
Support / Player behind tiles in tilemap
« on: August 22, 2014, 05:04:41 pm »
Hello,

I've created a level using a tilemap and added in a placeholder player. However, for some tiles, the player overlaps them, and for other tiles they overlap the player. But all my tiles are on the same layer in the Tilemap. So how do I get control over this? I want to decide which tiles should overlap and which shouldn't.

8
Support / Camera following character
« on: August 21, 2014, 08:17:15 pm »
Hello,

I'm trying to make a platformer and have begun creating a basic level. I threw in the Unity 2D character from the Sample Assets as a placeholder. However, now I want the camera to follow the player character. Unity's Sample Assets come with a script that does that, but it only works with the Unity 2D camera, and doesn't seem to work with the 2D Toolkit camera. Is there any way to make this work, or do I have to write a script from scratch?

9
Support / Re: Tileset not working
« on: August 14, 2014, 03:09:38 pm »
I tried the same thing in a new project with just the 2D Toolkit package, and it seems to be working now. I'm thinking the project I was working in just had too much clutter.

10
Support / Re: Tileset not working
« on: August 13, 2014, 09:45:29 pm »
But the max attachment size is 8000KB, and the 2D Toolkit package on its own is already like 18MB

11
Support / Re: Tileset not working
« on: August 13, 2014, 05:13:34 pm »
Here it is [removed link]

12
Support / Re: Tileset not working
« on: August 13, 2014, 04:59:35 pm »
I tried switching to my new SpriteCollection, but I get the error message "No sprites in <SpriteCollection>". But when I open up my SpriteCollection with the editor, it clearly has sprites.

13
Support / Re: Colliders not working
« on: August 13, 2014, 04:43:15 pm »
Oh nevermind, I can see the colliders now. I missed it because my colliders are fitted tightly around my tiles, so it was difficult to see.

14
Support / Re: Tileset not working
« on: August 13, 2014, 04:41:50 pm »
I can create a sprite, but then I get the heart sprite on my screen, which is not what I want. I want to use a tileset. So I followed the tutorial on how to do that, and it said I had to create a TileMap in the hierarchy window and link it to my spritecollection I created in the assets window. But the problem is the tileset doesn't show up in the TileMap when I try to paint.

15
Support / Re: Colliders not working
« on: August 13, 2014, 03:02:29 pm »
I did commit it, but it still doesn't show, even when I press play

Pages: [1] 2