how i can register special arrow keys

0 favourites
  • 2 posts
From the Asset Store
A collection of various soldier character sprites for creating a 2D platformer or sidescroller game
  • Hello Guys,

    I bought a source code made by Construct 2 , i publish this source in tizen device but i have a problem with hard key register for movment in game,

    i should add this code manually but i dont know how i can find right and left arrows events and how i should do it. anyone can help me to resolve this problem?

    Thank you so much for reading my request.

    document.addEventListener("rotarydetent", function(event){
     if (event.detail.direction === "CW") { 
    
    //put right event
    
     } else { 
    
    // put  left event
    
      }
     }, false);
     [/code:1nnf9iqa]
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I would love to know how to link Construct 2 events to the RotaryDetent for the Samsung Gear S2.

    I really like the rotary bezel controls for the Samsung Gear S2/3 and I think it's a great interface option, but there's no documentation in how I could do this.

    Samsung really isn't putting enough energy behind this. Let me know if you have this figured out.

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