"Simulate Control" doesnt work

Get help using Construct 2

Post » Sun Mar 19, 2017 12:44 pm

soo my "player" has a "platform" behavior, and then i made a simple event.. where every 1 second.. my "player" will Press the jump button and left button at the same time using the simulate control event... but.. instead my player only jump.. and never moving left.. is this a bug ?
B
8
S
3
Posts: 46
Reputation: 708

Post » Sun Mar 19, 2017 3:31 pm

Without a capx I don't know where the problem is. Maybe you haven't specified for how long the left button is pressed ...
B
40
S
10
G
9
Posts: 213
Reputation: 7,057

Post » Sun Mar 19, 2017 6:13 pm

Yeah ... Makes sense. Every 1 second, the up arrow key simulation will be pressed – a single press is enough for the player to jump. The same will happen to the left arrow key simulation – it will be pressed only for a short moment, so you cannot see any difference ...
B
32
S
7
G
4
Posts: 398
Reputation: 4,591

Post » Sun Mar 19, 2017 6:13 pm

grigrizljac wrote:Yeah ... Makes sense. Every 1 second, the up arrow key simulation will be pressed – a single press is enough for the player to jump. The same will happen to the left arrow key simulation – it will be pressed only for a short moment, so you cannot see any difference ...
B
32
S
7
G
4
Posts: 398
Reputation: 4,591

Post » Fri Apr 07, 2017 2:16 pm

grigrizljac wrote:
grigrizljac wrote:Yeah ... Makes sense. Every 1 second, the up arrow key simulation will be pressed – a single press is enough for the player to jump. The same will happen to the left arrow key simulation – it will be pressed only for a short moment, so you cannot see any difference ...


soo.. i need to make 2 different event for my player to automatically jump and move left ?
B
8
S
3
Posts: 46
Reputation: 708

Post » Fri Apr 07, 2017 5:45 pm

@AnotherUser I would recommend putting your "move left" to an "every tick" condition. This will allow continual movement.
B
18
S
3
G
3
Posts: 82
Reputation: 2,543


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 24 guests