Vertical moving platforms sollution?

Get help using Construct 2

Post » Sat Feb 11, 2012 3:44 pm

Ive made some vertically moving platforms in my game using the "sine" function but it wont work properly.. on the way down player gets in falling state and on the way up theres very glitchy jumping. Searched the forum for post but none presented a sollution.
B
28
S
10
G
6
Posts: 252
Reputation: 6,662

Post » Sat Feb 11, 2012 4:00 pm

Hi MonDieu,

http://www.scirra.com/forum/platformer-jumps-on-vertical-moving-platform_topic47845.html

Here is the relevant link.

To find it i just typed " C2 verticle platforms" in the search, :) first one on the list.

(Edit: whenever im looking for anything to do with C2 i always put it at the beginning of the search.)GenkiGenga2012-02-11 16:01:38
ImageImage
B
102
S
21
G
7
Posts: 1,058
Reputation: 12,325

Post » Sat Feb 11, 2012 4:10 pm

yes I found that one before.. dont like the idea of having to use a third button to jump on V-platforms
B
28
S
10
G
6
Posts: 252
Reputation: 6,662

Post » Sat Feb 11, 2012 4:34 pm

And how do you intend to control your character if you don't use three buttons ?
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
276
S
103
G
85
Posts: 7,292
Reputation: 83,606

Post » Sat Feb 11, 2012 5:33 pm

using the default platform movement.. arrow keys, press up to jump, with this ill have to use up + another key to jump while on a v-platform.. or am I missing something? If so, sorry that I missed it but please tell me :)
B
28
S
10
G
6
Posts: 252
Reputation: 6,662

Post » Sat Feb 11, 2012 7:02 pm

You just "shortcut"/intercept the user's input, and handle it with a keyboard plugin by yourself.

So you handle when the player presses the left arrow key, the right arrow key and the up arrow key.
Still three buttons, as by default.

Check out the page 5 of the how to make a platform game tutorial.Kyatric2012-02-11 19:03:19
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
276
S
103
G
85
Posts: 7,292
Reputation: 83,606


Return to How do I....?

Who is online

Users browsing this forum: Ami Samad and 5 guests