Question on wasd movent

Get help using Construct 2

Post » Mon Dec 23, 2013 5:05 am

Ive done a search, Ive tried to implement it... yesterday I had it working in another test project but my char only Jumps in this one..

Please tell me what Im doing wrong ;)

thanks... Im a noob, but I did search for an answer.Ive tried the instructions to no availe

Cheers in advance.. hopefully dropbox link works..


having troubles uploading file just be a minute
thren2013-12-23 05:09:13
B
13
S
3
G
1
Posts: 25
Reputation: 1,176

Post » Mon Dec 23, 2013 5:10 am

We need a bit more information... are you making a platformer? Top-down? Something else? In any case, you probably should disable or change the standard controls and then use "Simulate Control" in your event sheet so you can make buttons have a lot more flexibility.
B
103
S
38
G
19
Posts: 962
Reputation: 17,996

Post » Mon Dec 23, 2013 5:19 am

mmm seems I don't have permissions to post links lol...
rather silly considering I have a license and I have posted a game in the arcade previously. I understand that more info is needed, unfortunately if I cant post the capx file no-one will be able to help me.

@ C-7....yes , could you give me a hint on disabling standard controls, I've looked but cannot find how to do that bit.

cheers
maybe this will help

dropbox.com/s/088ylb761iphe6n/cave.capxthren2013-12-23 05:27:09
B
13
S
3
G
1
Posts: 25
Reputation: 1,176

Post » Mon Dec 23, 2013 6:27 am

Disabling standard controls are easy. In this case, you just need to go to Player and go to its behaviors. On "Platform", set Default Controls to "no".

The problem in your project is that you said "on pressed A" and "on pressed D". When you say "on pressed", it only returns once. It means that it doesn't matter if I continue to hold the key down, it will only do an action when the key is pressed.

What you should do is to change it do "keyboard" -> "key is down" -> your key. Then it works as expected.
B
7
S
1
Posts: 15
Reputation: 589

Post » Mon Dec 23, 2013 11:47 am

Thankyou very much Martiny, for both explanations.
B
13
S
3
G
1
Posts: 25
Reputation: 1,176


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 5 guests