Player no longer turns toward mouse

0 favourites
  • 4 posts
From the Asset Store
Basic Rounded Vector Geometry Player Design with Glow for 3 player games
  • Link to .capx file (required! If link is blocked remove the http and www parts):

    Steps to reproduce:

    1. Follow tutorial

    2. Add additional System actions as per 1. test, test and re-test.

    3. Submit this form and get a timeout error. Swear loudly. Redo from scratch. Threaten to move to a more mature platform.

    Observed result:

    Player no longer turns toward mouse

    Expected result:

    Player should turn toward mouse

    Browsers affected:

    Opera. Can't test on others, obvious method doesn't work, don't know how to force it. Construct lacks a cycling command, a drop-down or a way to force preview, as well as instructions on how to make it happen.

    Operating system & service pack:

    Window 7 SP1, latest updates.

    Construct 2 version:

    Latest Stable

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Your .capx is working correctly. You only set the angle of the player once on start of layout. Change it to 'every tick' and it works fine.

  • How embarrassing. Sorry to waste your time. I can only guess that I deleted 'every tick' by accident when I added the secondary commands. As you said, it's fine now.

  • I can now reproduce the problem.

    Update: what happened was, as mentioned above, I added a secondary system command and that's when it freaked out.

    I added the command - nested within the first System command. Like this:

    System>on start of layout>player>set angle....

    System>every tick>player>set angle....

    Whereas it should be:

    System>on start of layout>player>set angle....

    new command>blah blah

    new command>blah blah

    System>System>every tick>player>set angle....

    I think I got Events (which can't be nested) mixed up with Actions (which can).

    So, once again, thanks be unto me for figuring it out, and thanks to you for pointing me in the right direction.

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