Talking Player

Get help using Construct 2

Post » Sat Aug 11, 2012 10:02 pm

Hello Guys
How can i achieve the interactions in Home
http://www.youtube.com/watch?v=EwHJQbp-i9s

Like when you click on an object the dialogue will appear and sometimes you will have to answer to a question and When the dialogue is finished the little arrows with appear down

Thank you
B
34
S
16
G
16
Posts: 2,222
Reputation: 16,564

Post » Sat Aug 11, 2012 10:13 pm

i think this with array will be so easy but don't ask me how because i'm weak in arrays ^^
B
45
S
15
G
6
Posts: 795
Reputation: 11,935

Post » Sat Aug 11, 2012 10:49 pm

Anyone can show us how ?
I also suck at arrays !
B
34
S
16
G
16
Posts: 2,222
Reputation: 16,564

Post » Sat Aug 11, 2012 11:15 pm

Well that isn't hard to achieve ;)
you just need to call the message that will appear in the msg box when you click the object.
you can use it with ajax and call .txt files with the message or even have texts stored in variables of the objects.
You can check the current variable and add a choice for the player (yes/no).
when the message is over put the msg box and the message invisible.
it's important to add those objects in a separate layer that doesn't move around.
B
30
S
6
G
5
Posts: 433
Reputation: 6,061

Post » Sun Aug 12, 2012 7:28 am

I created the beginning for an adventure-game, which can be found in this topic:

http://www.scirra.com/forum/leaving-nics-vegas-a-c2-adventure-on-hold_topic53078.html

It's not exactly the same kind of game-play, but has the elements you requested. I didn't use arrays, just text-boxes and instance variables. (on object clicked - if variable is lookat - set text to "it's wonderful")
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
53
S
16
G
8
Posts: 6,157
Reputation: 19,744


Return to How do I....?

Who is online

Users browsing this forum: Pandadoor, Sotir31 and 31 guests