Skip to Main Content
Construct 3 suggestions 21H2 - ARCHIVED

This suggestions platform is now closed and will be shut down on March 1st 2024.

Please ensure any content you care about is backed up before that date.

Feature requests are now handled on GitHub here: https://github.com/Scirra/Construct-feature-requests

13 VOTE
Categories Behaviors
Created by Guest
Created on Jan 19, 2022

Add the `Is ignoring` condition

Currently, only exists the ' Start/Stop ignoring user input ', It is very helpful in many times. However, when I want to judge whether it is user input is ignoring , I have to add an extra variable to judge, which is very tedious.


A simple example:

When I press the left and right arrow keys, the PlayerGraphics set mirrors.

+ Keyboard: A is down

-> PlayerGraphics: Set Mirrored

-> PlayerCollision: Simulate Platform pressing Left

+ Keyboard: D is down

-> PlayerGraphics: Set Not mirrored

-> PlayerCollision: Simulate Platform pressing Right


{"is-c3-clipboard-data":true,"type":"events","items":[{"eventType":"block","conditions":[{"id":"key-is-down","objectClass":"Keyboard","parameters":{"key":65}}],"actions":[{"id":"set-mirrored","objectClass":"PlayerGraphics","parameters":{"state":"mirrored"}},{"id":"simulate-control","objectClass":"PlayerCollision","behaviorType":"Platform","parameters":{"control":"left"}}],"isOrBlock":true},{"eventType":"block","conditions":[{"id":"key-is-down","objectClass":"Keyboard","parameters":{"key":68}}],"actions":[{"id":"set-mirrored","objectClass":"PlayerGraphics","parameters":{"state":"not-mirrored"}},{"id":"simulate-control","objectClass":"PlayerCollision","behaviorType":"Platform","parameters":{"control":"right"}}],"isOrBlock":true},{"eventType":"block","conditions":[{"id":"key-is-down","objectClass":"Keyboard","parameters":{"key":87}}],"actions":[{"id":"simulate-control","objectClass":"PlayerCollision","behaviorType":"Platform","parameters":{"control":"jump"}}],"isOrBlock":true}]}



If I have this condition, I don't need to add an extra variable to manage it.

Is ignoring


+ Keyboard: A is down

-> PlayerGraphics: Set Mirrored

-> PlayerCollision: Simulate Platform pressing Left

+ Keyboard: D is down

-> PlayerGraphics: Set Not mirrored

-> PlayerCollision: Simulate Platform pressing Right



  • Attach files
  • +2