Construct 3 r191

You're viewing a single comment in a conversation. View all the comments
  • 4 Comments

  • Order by
  • There are also expressions that can only be used in the event table, such as [distance] [random], and so on, which are better than the random numbers that come with js!

      • [-] [+]
      • 1
      • Ashley's avatar
      • Ashley
      • Construct Team Founder
      • 1 points
      • (2 children)

      Most of what you've suggested is already possible, such as keyboard input and mirroring. Also Construct's distance and random expressions just use the equivalent Math functions in JavaScript, so there doesn't seem to be any point in adding them when you can do things like Math.random() directly.

      • Keyboard input can only be held down, if you want to press, you need to call addlistener. In addition, how to realize the mirror image? It's not mentioned in the document! There is also the hope to add the automatic completion of the word behavior. I often type the wrong words when I am not my mother tongue in English. Thank you. Well done!

          • [-] [+]
          • 1
          • Ashley's avatar
          • Ashley
          • Construct Team Founder
          • 1 points
          • *
          • (0 children)

          Mirror/flip is just a negative size, and the set mirrored/flipped actions in the manual describe this. There are events fired for keyboard input, that's the normal way for detecting key presses in JavaScript.