WASD in Construct 2

Discussion and feedback on Construct 2

Post » Thu Mar 08, 2012 4:55 pm

That did it (add keyboard then add Simulate Control for each key press) thanks.solidgames2012-03-08 16:58:44
B
7
S
2
G
3
Posts: 3
Reputation: 2,277

Post » Tue Mar 20, 2012 9:10 am

Great thread!
B
15
S
5
G
1
Posts: 40
Reputation: 2,026

Post » Fri Apr 20, 2012 5:16 pm

Just tried doing that. I get hit with a bunch of JavaScript errors. Any way to get past this? I only have Up event set up; the others didn't seem to work well.
B
3
Posts: 3
Reputation: 281

Post » Fri Apr 20, 2012 5:36 pm

@Rxanadu: see this manual entry.
Javascript errors are not a normal behavior, are you using custom plugins ?

Be sure to check for errors in browser.
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: 7,000
Reputation: 57,795

Post » Sat Apr 21, 2012 1:03 am

I've been using Opera, which may have some plug-ins that counteract what's going on with the preview. Is there a way to change the browser I preview in without changing my default browser?
B
3
Posts: 3
Reputation: 281

Post » Sat Apr 21, 2012 1:10 am

Sorry for the second reply like this, but here are the errors I recently got:

[4/20/2012 8:08:36 PM] Widgets

Widget loading warning: <id> element not fully defined.
[4/20/2012 8:08:37 PM] Auto Update

Scheduled new update check in 148695 seconds.
[4/20/2012 8:08:37 PM] Auto Update

AutoUpdate activated.
[4/20/2012 8:08:38 PM] CSS - http://localhost:50000/
Inlined stylesheet
-moz-border-radius is an unknown property
Line 23:
           -moz-border-radius: 10px;
----------------------------^
[4/20/2012 8:08:38 PM] CSS - http://localhost:50000/
Inlined stylesheet
-webkit-border-radius is an unknown property
Line 24:
           -webkit-border-radius: 10px;
-------------------------------^
[4/20/2012 8:08:39 PM] CSS - http://localhost:50000/
DOM style property
Invalid value for property: zoom
Line 1:
1
-^
[4/20/2012 8:08:39 PM] JavaScript - http://localhost:50000/
console.log
Using Canvas 2D renderer
B
3
Posts: 3
Reputation: 281

Post » Sat Apr 21, 2012 5:28 pm

to change preview browser
Click on projects (on the right)
click on your project name(top part of projects)
go to properties (left of the screen)
change configuration settings > preview browser to any browser you want like firefox or chrome for example
B
18
S
1
Posts: 19
Reputation: 1,473

Post » Sun Dec 16, 2012 8:39 pm

I also have a problem with WASD I have set up everything as shown. But my WASD will not move the Player
(\__/)
(='.'=)
(")_(")
B
20
S
9
G
1
Posts: 68
Reputation: 3,057

Post » Sun Dec 16, 2012 9:23 pm

@TheNormalGeek: manual entry
Also check out the "Ghost shooter" example in the start page when you execute C2, it has a WASD implementation.

Also WASD is evil, think about players who don't use qwerty keyboards.
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: 7,000
Reputation: 57,795

Post » Sun Dec 16, 2012 10:22 pm

@Kyatric I've always remembered you saying that. That's why I will always support the arrow keys ;)
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 12 guests