How do move my player up and down between 3 different paths?

Get help using Construct 2

Post » Tue Jun 02, 2015 2:56 pm

Hi all, how do move my player up and down between 3 different paths like in Hungry Hal?
B
3
Posts: 3
Reputation: 183

Post » Tue Jun 02, 2015 3:21 pm

That would consist of changing/switching the y position..

What you could try is something like this:

Create a global variable lane

- system compare variable lane = 1
> player set y to 250
- system compare variable lane = 2
>player set y to 350
- system compare variable lane = 3
>player set y to 450

- on up arrow pressed
- system compare variable lane <= 2
> system add 1 to lane

- on down arrow pressed
- system compare variable lane => 1
> system subtract 1 from lane
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 » Tue Jun 02, 2015 4:02 pm

Thank you so much, can't get that working though.
Is there any chance you would have time to put that into a capx file for me so that I can see exactly how it works?
B
3
Posts: 3
Reputation: 183

Post » Tue Jun 02, 2015 4:18 pm

I'm not saying this is the best solution, but it's one..

https://dl.dropboxusercontent.com/u/48563442/Lanes.capx

If you need an example for something like this, you might want to follow some tutorials before proceding to more difficult matters..
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 » Tue Jun 02, 2015 4:23 pm

That's perfect for what I need. Again, thank you very much :-)
B
3
Posts: 3
Reputation: 183


Return to How do I....?

Who is online

Users browsing this forum: mekonbekon, NadeemAbbass and 7 guests