How do I make 2nd floor stairs?

Get help using Construct 2

Post » Tue May 12, 2015 10:21 pm

Hello guys I have came up with a problem on creating the 2nd floor solid so the played does not go back down again as he reached 2nd floor as he needs to get to the other side of the building but what happens is he goes straight down I have tried but everything has ended with a flop....

Here is how the stairs work:

Image

In short version what I want is:
When reach top >> walk on 2nd floor (allowing player to pass the stairs)
Then allow him go back down again after he walked on the 2nd floor....

Image

Thank you for your attention!
B
8
S
3
Posts: 120
Reputation: 989

Post » Wed May 13, 2015 12:27 am

I can't see any images.
Image
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,155

Post » Wed May 13, 2015 5:55 am

I've been wondering this myself - I've personally done something similar to whereas I put a jump-thru floor as the stairs and a bit of the upper level. I then made it so when you pressed down or something it did the "fall through" function. But I'm sure there's a better way to do it.
B
38
S
12
G
1
Posts: 526
Reputation: 4,085

Post » Wed May 13, 2015 3:33 pm

@A0Nasser the images worked for everyone so far :/ You got some software that blocks it maybe....
B
8
S
3
Posts: 120
Reputation: 989

Post » Wed May 13, 2015 3:39 pm

What I did is this but is there any other way to do it?

I did it like this so:
When red - Collide then : solid disable on the second floor so he could go through!
When green + then solid enable so you can walk through the hole.
The green - removes the solid object so you can fall down...

You cant really probably see but there is a solid sprite on the top where the stairs end little orange line which enables and disables solid.

Image
If Image doesnt work add www.
This is the link to the Direct Image - upload.ee/image/4721920/Untitled-2.png
B
8
S
3
Posts: 120
Reputation: 989

Post » Wed May 13, 2015 7:38 pm

Anyone?
B
8
S
3
Posts: 120
Reputation: 989

Post » Wed May 13, 2015 8:42 pm

The area that he can pass through remove the solid and set it as a jump thru and when they press a key it can trigger the fall through. Like this.

https://dl.dropboxusercontent.com/u/128 ... index.html

Achieved simply by this
Image

if you want it to be automatically just remove the keypress and when he collides with the trigger he will fall through. Jumpthru objects are solids but also have the feature of being able to go up under them and falling through them. Just set a trigger at where you want him to be able to fall through.
B
23
S
4
G
2
Posts: 364
Reputation: 2,392

Post » Thu May 14, 2015 2:54 am

@PhoenixNightly - interesting concept, but what if you wanted to take it one step further and make it so you could also pass the first stair (ie go behind it)
B
38
S
12
G
1
Posts: 526
Reputation: 4,085

Post » Thu May 14, 2015 12:14 pm

**EDIT** Doing some testing.
Last edited by PhoenixNightly on Thu May 14, 2015 4:17 pm, edited 2 times in total.
B
23
S
4
G
2
Posts: 364
Reputation: 2,392

Post » Thu May 14, 2015 3:57 pm

Do you have any ideas for AI ? It's A bit complicated I think?
Last edited by Frap1K on Thu May 14, 2015 5:10 pm, edited 2 times in total.
B
8
S
3
Posts: 120
Reputation: 989

Next

Return to How do I....?

Who is online

Users browsing this forum: Google [Bot] and 1 guest