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
21
S
7
G
4
Posts: 221
Reputation: 5,070

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
73
S
16
G
6
Posts: 1,038
Reputation: 10,473

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
21
S
7
G
4
Posts: 221
Reputation: 5,070

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
247
S
85
G
40
Posts: 6,999
Reputation: 57,793

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
21
S
7
G
4
Posts: 221
Reputation: 5,070

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
247
S
85
G
40
Posts: 6,999
Reputation: 57,793


Return to How do I....?

Who is online

Users browsing this forum: jobel, Timedoor Indones, Yahoo [Bot] and 21 guests