philwicker's Recent Forum Activity

  • You solved my problem as well. The only thing that confused me was where to put this. Thanks to both of you for figuring it out!

    I realised I had to make a 'Stylesheet' file and add your code to it.

    Hello,

    Thank you for your answers,

    I tried the code, unfortunately it did not work on my game.

    And when importing, using the "Advanced Minification" function, the code was broken.

    However I found the solution,

    I added the code below to avoid the selection of the canva (I based on your logic).

    > canvas {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline: none;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0); /* mobile webkit */
    } 
    body {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline: none;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0); /* mobile webkit */
    }
    

    body is added to avoid the selection around the game if it is not in full screen.

    Have a nice evening !

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
philwicker's avatar

philwicker

Member since 23 Nov, 2014

None one is following philwicker yet!

Trophy Case

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

Progress

11/44
How to earn trophies