airconsole / airconsole-api Goto Github PK
View Code? Open in Web Editor NEWAirConsole API files
Home Page: http://developers.airconsole.com/#/
AirConsole API files
Home Page: http://developers.airconsole.com/#/
This error is thrown by the screen, but doesn't give much information
Browser: Chrome on Windows
Source: blob:https%3A//game.airconsole.com/70447589-343d-40da-9b65-45023ec4e115:1:undefined
Error: Uncaught TypeError: Object # has no method 'decompress'
I'm not sure if this is something you want to support, but embedded games don't run correctly in the itch.io app browser. Behind the scenes it uses Chrome, but for some reason the the client closes the websockets prematurely and it never manages to communicate with server.
When the game is launched, websocket connections are closed:
WebSocket connection to 'wss://server-url' failed: WebSocket is closed before the connection is established.
As a workaround, i display a splash screen of sorts that allows the user to launch the AirConsole game in their default browser:
I think this error is thrown by AirConsole minified code?
Source: https://game.airconsole.com/net.eightbitape.dungeoncrawl.cdn.airconsole.com/2018-10-16-14-11-36/screen.html:2:60845
Error: Unable to get property 'x' of undefined or null reference
Stack trace:
TypeError: Unable to get property 'x' of undefined or null reference
at handlerFunc (blob:https://game.airconsole.com/54a5bc7b-1ec0-4426-ade2-1d114748f699:2:60845)
at jsEventHandler (blob:https://game.airconsole.com/54a5bc7b-1ec0-4426-ade2-1d114748f699:2:51619)
I think this is in the AirConsole API screen code, but not 100% sure. I don't think it's limited to Unity plugin so raised here.
Browser: Chrome on Windows
Source: https://game.airconsole.com/net.eightbitape.dungeoncrawl.cdn.airconsole.com/2018-10-16-14-11-36/screen.html:100:89011
Error: Uncaught SyntaxError: Unexpected identifier
Stack trace: SyntaxError: Unexpected identifier
(?)
The AirConsole API throws this error when initialising AirConsole on the screen.
Source: https://www.airconsole.com/api/airconsole-1.7.0.js:1336:0
Error: InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable
Stack trace:
B.get/<@https://www.airconsole.com/api/airconsole-1.7.0.js:1336:53 window.XMLHttpRequest/<.get/<@https://www.airconsole.com/api/airconsole-1.7.0.js:1349:395 n/<@https://game.airconsole.com/net.eightbitape.dungeoncrawl.cdn.airconsole.com/2018-10-16-14-11-36/Build/UnityLoader.js:1:6778 UnityLoader<.compatibilityCheck@https://game.airconsole.com/net.eightbitape.dungeoncrawl.cdn.airconsole.com/2018-10-16-14-11-36/Build/UnityLoader.js:1:510 n@https://game.airconsole.com/net.eightbitape.dungeoncrawl.cdn.airconsole.com/2018-10-16-14-11-36/Build/UnityLoader.js:1:6719 UnityLoader<.instantiate@https://game.airconsole.com/net.eightbitape.dungeoncrawl.cdn.airconsole.com/2018-10-16-14-11-36/Build/UnityLoader.js:1:8643 App@https://game.airconsole.com/net.eightbitape.dungeoncrawl.cdn.airconsole.com/2018-10-16-14-11-36/airconsole-unity-plugin.js:33:22 initAirConsole@https://game.airconsole.com/net.eightbitape.dungeoncrawl.cdn.airconsole.com/2018-10-16-14-11-36/screen.html:61:22 onload@https://game.airconsole.com/net.eightbitape.dungeoncrawl.cdn.airconsole.com/2018-10-16-14-11-36/screen.html:1:0
I think this is in the AirConsole API screen code, but not 100% sure. I don't think it's limited to Unity plugin so raised here.
Browser: Chrome on Mac
Source: https://game.airconsole.com/net.eightbitape.dungeoncrawl.cdn.airconsole.com/2018-10-16-14-11-36/screen.html:20:10
Error: Uncaught TypeError: Cannot redefine property: BetterJsPop
Stack trace:
TypeError: Cannot redefine property: BetterJsPop
at Function.defineProperty ()
at inject (:20:10)
at :510:11
at :511:11
I'd love to access the AirConsole API through NPM, the node package manager. A lot of devs use webpack or browserify to compile their javascript dependencies from NPM. Once the api has been registered with NPM, I can call npm install airconsole
to get the latest version of the package. :]
Hey, attempting to start building an AirConsole game, but getting this:
Unable to post message to http://192.168.1.12:3000. Recipient has origin http://www.airconsole.com.
.
Any fixes? Basically spun up a fairly boilerplate gulp project to host.
This issue was raised by a user on Twitter: https://twitter.com/FrostyForsyte/status/1052672661208350721
Browser: Chrome
Steps: Load game and trigger ad break
The ad doesn't load with error Anonymous caller does not have storage.objects.get access to com.airconsole.ads.break.cdn.airconsole.com/2018-10-12-15-47-23/screen-content/table;.html.
Screenshot from user:
Hey Air Console Devs,
Would it be possible to support Cocos Creator? It is part of the Cocos 2D-x project and would be awesome if you would support it. :)
In my game I use setOrientation to set the controller orientation to landscape.
This works fine in the browser but in the iOS( iPhone 4 7.x) air console app sometimes get stuck in landscape mode when having to enter the code and experiences trouble changing orientation to fit the device. This is a rear case but does seem to happen when device is in portrait mode first and if you reload the game.
Anyway to fix this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.