How do I check for specific shapes in a tilemap?

Get help using Construct 2

Post » Sun May 17, 2015 5:16 pm

I'm working on a prototype for a game. The player has the ability to place 16 X 16 blocks on the map, using the "tilemap" object. I want to be able to have the player drawing a specific shape in a non specific area trigger an event. For instance if the player drew the letter "H" in blocks anywhere on the screen, he would trigger an event. I hope all of you get what I'm saying. Thank you in advance :)
B
8
S
2
Posts: 39
Reputation: 604

Post » Sun May 17, 2015 5:28 pm

This plugin might come in handy..

plugin-unistroke-gesture-recognizer_t66773?
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sun May 17, 2015 5:36 pm

I don't think this is what i'm looking for. Is there any way I can do this using the Tilemap object? also, The player is placing blocks on the screen, not actually drawing like that.
B
8
S
2
Posts: 39
Reputation: 604

Post » Sun May 17, 2015 5:47 pm

Ah, ok..
Misunderstood..

I guess putting the information about the blocks in an array and checking if the shape is the shape you want on tile changed would be the way..
This is just theory, because for me it would be too difficult to create this..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sun May 17, 2015 5:48 pm

Ok, Thanks for responding :)
B
8
S
2
Posts: 39
Reputation: 604


Return to How do I....?

Who is online

Users browsing this forum: Baidu [Spider], Nagval333, newt and 26 guests