Zoglu's Recent Forum Activity

  • Lucid : I would like it to work with any keys.

    Deadeye : That's it. The only workaround I've found is adding a "control" for every possible key (in the Manage Controls window of the application properties) and then use the "Control is down?" condition, which allows an expression to be entered. But that's really tedious and don't allow to check what is the last pressed key (unless I add like 200 events to test for each key).

    And yes, I'd like to make a custom controls setup in my game, exactly what you said

    As what I want to do doesn't seem easily possible, should I add it to the Feature Requests ?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi everyone !

    I'm new to Construct, but I've been using MMF2 before (like many members here I guess). I'll go on a more detailed presentation if you want it, but now I've got a question.

    MMF2 has a quite useful object, "Control X", which allows to retrieve the last pressed key and to check whether a particular key is pressed, using values. For instance, the Space key is associated to 32, and you can add conditions to test if the key 32 is down.

    Is there a way to do this using Construct?

    The Mouse & Keyboard doesn't let me write an expression when I want to test whether a key is down, it just includes a menu. And I didn't find any way to retrieve the last pressed key as a value.

    Thanks in advance and sorry if the question was already posted somewhere.

Zoglu's avatar

Zoglu

Member since 13 May, 2009

None one is following Zoglu yet!

Trophy Case

  • 15-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

17/44
How to earn trophies