8 Direction not disabling

0 favourites
  • 2 posts
From the Asset Store
2D fighting template based in the game that defined the fighting games genre.
  • Hey there! I am still pretty new to Construct, only having used it for about a month now. I've been using the 8 Direction behavior for my player characters and it's worked without issue until I started my most recent school project.

    Like normal, I have the behavior assigned to my player character with the defaults active, I haven't changed anything regarding the behavior in either the toolbox on the layout screen nor in the events sheets. What I want to have happen is the behavior to be disabled at the start of another layout. Here's what I have in the sheet for this layout:

    No matter what I do, the player character is able to be moved with the arrow keys. Here are some things I've tried to get rid of the issue that were unsuccessful:

    1. - Set the speed and acceleration to 0 - Set to ignore input - Set the behavior enabled, system to wait 1 second, set the behavior disabled

    Has anyone else had this issue? Is there something I'm not seeing?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Is the scroll to disabling ? It could be a problem with event sheet, if the sheet is not linked to the layout in properties then the events will not be seen/read. Because you said 'another layout' it could be that this next layout is not hooked up to the sheet.

    If the sheet is assigned as expected then look for multiple sheets that work with that layout and see if you have other events that enable the 8 direction back again and are being triggered.

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