Airconsole controller maker

Post your completed addons to share with the community

Post » Fri Feb 17, 2017 8:23 pm

@3lmanov Have you followed all the steps before running it ? Remember that you should export the controller project first , run Magicwand and then export your screen project.
Banned User
B
17
S
7
G
23
Posts: 388
Reputation: 13,964

Post » Fri Feb 17, 2017 9:19 pm

controller project I exported, but still the same inscription(
B
4
S
1
Posts: 6
Reputation: 316

Post » Sat Feb 18, 2017 5:59 pm

@3lmanov you can try not running as a admin,that worked for me.
Image
B
50
S
27
G
5
Posts: 105
Reputation: 7,628

Post » Sun Feb 19, 2017 4:23 am

@X3M Any progress on the iPad/iPhone scaling issue? I am also running into this. Has anyone reached out to the Airconsole team? Thanks!
B
8
Posts: 13
Reputation: 822

Post » Sun Feb 19, 2017 5:21 pm

Here is the fix for the scaling issue ( after several tests with @FrozenDev ) :
1- Open your controller.html
2- Replace this portion [Line 4 to Line 40] :
Code: Select all
<meta charset="UTF-8" />
   <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
   <title>Whatever you have</title>
   
   <!-- Standardised web app manifest -->
   <link rel="manifest" href="appmanifest.json" />
   
   <!-- Allow fullscreen mode on iOS devices. (These are Apple specific meta tags.) -->
   <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, minimal-ui" />
   <meta name="apple-mobile-web-app-capable" content="yes" />
   <meta name="apple-mobile-web-app-status-bar-style" content="black" />
   <link rel="apple-touch-icon" sizes="256x256" href="icon-256.png" />
   <meta name="HandheldFriendly" content="true" />
   
   <!-- Chrome for Android web app tags -->
   <meta name="mobile-web-app-capable" content="yes" />
   <link rel="shortcut icon" sizes="256x256" href="icon-256.png" />

    <!-- All margins and padding must be zero for the canvas to fill the screen. -->
   <style type="text/css">
      * {
         padding: 0;
         margin: 0;
      }
      html, body {
         background: #000;
         color: #fff;
         overflow: hidden;
         touch-action: none;
         -ms-touch-action: none;
      }
      canvas {
         touch-action-delay: none;
         touch-action: none;
         -ms-touch-action: none;
      }
    </style>


With this :
Code: Select all
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
  <style type="text/css">
    html, body {
      height: 100%;
      overflow: hidden;
    }
    body {
      background-color: #222;
    }
    button {
      margin-bottom: 1px;
      width: 100%;
      height: 48%;
      border: 0;
      box-sizing: border-box;
      font-size: 40px;
      color: #FFFFFF;
      background-color: #333333;
      outline: none;
    }
  </style>
Banned User
B
17
S
7
G
23
Posts: 388
Reputation: 13,964

Post » Sun Feb 19, 2017 7:13 pm

@ishmaelmoreno tnx! thats work! :shock:
B
4
S
1
Posts: 6
Reputation: 316

Post » Sun Feb 19, 2017 8:39 pm

@X3M Thank You!!! for the fix and for the controller plugin! You rock!
B
8
Posts: 13
Reputation: 822

Post » Mon Feb 20, 2017 8:55 pm

@X3M Ah, the scaling fix is not working for me. I get a js error and the controller continues to scale up and makes it unusable. Error says "Uncaught TypeError: Cannot use 'in' operator to search for '4' in Pause. Any ideas of what I could try? I've tried it using Scale Inner and Scale Outer within Construct2 and neither work correctly for me. I will keep looking at it, but any advice would be much appreciated. Thanks!!
B
8
Posts: 13
Reputation: 822

Post » Mon Feb 20, 2017 9:50 pm

@StillSarah have you updated to the latest version version of the aiconsole plugin? Cannot use 'in' operator to search error was fixed in version 1.4.8.1.
https://github.com/AirConsole/airconsole-construct2
Image
B
50
S
27
G
5
Posts: 105
Reputation: 7,628

Post » Mon Feb 20, 2017 10:38 pm

@StillSarah Also set Use HTML Elements to False in the controller plugin properties tab.
Banned User
B
17
S
7
G
23
Posts: 388
Reputation: 13,964

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 3 guests