WASD in Construct 2

  • 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 - localhost

    Inlined stylesheet

    -moz-border-radius is an unknown property

    Line 23:

               -moz-border-radius: 10px;

    ----------------------------^

    [4/20/2012 8:08:38 PM] CSS - localhost

    Inlined stylesheet

    -webkit-border-radius is an unknown property

    Line 24:

               -webkit-border-radius: 10px;

    -------------------------------^

    [4/20/2012 8:08:39 PM] CSS - localhost

    DOM style property

    Invalid value for property: zoom

    Line 1:

    1

    -^

    [4/20/2012 8:08:39 PM] JavaScript - localhost

    console.log

    Using Canvas 2D renderer

  • 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

  • I also have a problem with WASD I have set up everything as shown. But my WASD will not move the Player

  • 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.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Kyatric I've always remembered you saying that. That's why I will always support the arrow keys ;)

  • Just out of interest is it possible to allow the player to choose which keys he wants as in most retail games.

  • Just out of interest is it possible to allow the player to choose which keys he wants as in most retail games.

    I'm not sure how i would achieve that, but as an alternative I'd create a few control schemes, associate each with a global variable, and let the player choose which of the schemes he wants to use.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)