How do I make talking NPCs similar to topdown RPGs?

Get help using Construct 2

Post » Sat Aug 20, 2016 10:00 pm

I want to know how I can make the player able to interact with NPCs, similar to top down RPGs, but, I don't know how to make it that the player can talk to the NPC by just standing in front of them and facing them, and clicking a specific button.
*Insert Signature here*
B
13
S
5
Posts: 73
Reputation: 1,090

Post » Sat Aug 20, 2016 10:33 pm

You'll need a few conditions. Try is overlapping at offset for location, and within angle for facing the npc. Then the button trigger to run your action - display text.
Mistakes were made.
B
53
S
27
G
114
Posts: 1,698
Reputation: 64,444

Post » Sun Aug 21, 2016 7:57 pm

Ive always use another invisible sprite and just made what ever size so that I could do something like If overlapping this sprite start diagloque and usually i had it set up where it would use instance variable to activate the require dialogue.

but that just the quick n dirty not really a good way to do it.
B
52
S
24
G
6
Posts: 391
Reputation: 7,845


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 25 guests