How do I create > 4 points on a tilemap collision

Get help using Construct 2

Post » Sun Oct 26, 2014 3:49 pm

I just bought:

https://www.scirra.com/store/royalty-fr ... -tiles-210

I'm having some difficulty setting it up. I can't see how to make the collision on the tilemap object work with this asset. I can see how to change collision but four points don't work with many of these tiles very well.

A good example is this which needs five:

Image

What can I do (if anything) to get this asset to work properly with c2 tilemaps? Or should a different approach be used entirely?
B
20
S
6
G
2
Posts: 157
Reputation: 3,111

Post » Sun Oct 26, 2014 3:52 pm

If you double click one of the points, another one should be created, or right clicking a point and add collision point
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
53
S
22
G
18
Posts: 2,122
Reputation: 17,123

Post » Sun Oct 26, 2014 3:59 pm

That works for sprites but not tilemaps as far as I see..

Actually it's greyed out for sprites too. Very confused.
B
20
S
6
G
2
Posts: 157
Reputation: 3,111

Post » Sun Oct 26, 2014 4:14 pm

Ignore me :) I'm an idiot.
B
20
S
6
G
2
Posts: 157
Reputation: 3,111

Post » Sun Oct 26, 2014 4:21 pm

Here's another question though, if I have a game with multiple levels, do I have to use a new tilemap per level?
B
20
S
6
G
2
Posts: 157
Reputation: 3,111

Post » Sun Oct 26, 2014 4:34 pm

silkc2 wrote:Here's another question though, if I have a game with multiple levels, do I have to use a new tilemap per level?


Depends on what you mean by "level", you can actually use the same tilemap object across layout (they will be different instances), but if you need to change the look of the tilemap (by that I mean the image of the tilemap), you will need another tilemap object.
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
53
S
22
G
18
Posts: 2,122
Reputation: 17,123

Post » Sun Oct 26, 2014 5:01 pm

One work around for more complex uses of tilemaps to create more detailed collision maps like you want to do is to place an additional invisible sprite overtop of the areas you need it in. So for example you can make a loop that goes through and wherever there is a type of tile that you need it. It will automatically place it on top for you.
B
87
S
44
G
16
Posts: 1,005
Reputation: 17,938


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 15 guests