Touch screen game with doors

Get help using Construct 2

Post » Thu Apr 05, 2012 11:41 pm

Hello,

Let me explain my problem:
I'm creating a game with touch screen. But, I want to make this:

1- When I click in the door, the char goes to the door that I selected and try to open it.
2- In this part of the phase, we will have 2 doors, but I want to make like this: 1 door will kill the char, the second will go to the next phase.
3- The problem is> I want to this random.

I mean, the first door can be death or new phase, but the second HAS to be the opposite effect. And it has to be random.

Can you help me, please?
B
2
Posts: 2
Reputation: 254

Post » Fri Apr 06, 2012 1:07 pm

Do you have a .capx where i could look at?
B
22
S
11
G
9
Posts: 133
Reputation: 6,572

Post » Fri Apr 06, 2012 4:41 pm

Here this might help

http://img51.imageshack.us/img51/3019/screenhelp.pngStephenC2012-04-06 16:42:27
B
20
S
4
G
4
Posts: 129
Reputation: 5,535

Post » Fri Apr 06, 2012 5:01 pm

You can do it with a simple instance boolean and a "Pick random instance" event, like this:

PickRandomDoor.capx
B
27
S
8
G
8
Posts: 903
Reputation: 8,452

Post » Fri Apr 06, 2012 5:10 pm

here's another example, not sure if this is what u need
http://dl.dropbox.com/u/65731657/deadoralive.capx
B
22
S
11
G
9
Posts: 133
Reputation: 6,572

Post » Sat Apr 07, 2012 8:06 pm

thank you guys,

wishy, thank you, but i couldnt open your project, you have a newer version... I updated mine, but i couldnt open yet.

thanks a lot!
B
2
Posts: 2
Reputation: 254


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, Yahoo [Bot] and 21 guests