Reference
FAQ / Help
12min
general where can i publish a game in the gamestore? visit https //www airconsole com/developers https //www airconsole com/developers or visit the " how to publish your game " guide where can i get information about the monetization? you can find information about the monetization in our " airconsole hero & revenue " guide which games can be built for airconsole? if your game runs in a browser then it also works with airconsole in fact you won't write a lot of code to adapt your game for airconsole however, there are of course limitations to consider like for example the latency or the amount of buttons your controller should have check our " list of games " to see what other developers have built for airconsole who is behind airconsole? checkout these handsome people at n dream ag technical how can i test my game? please check out the " testing your game " guide can i directly link to my game? yes, by either using https //www airconsole com/#http //your game url/ or when your game is published in the game store by https //www airconsole com/#!play=game id is there an easy way to simulate high latency? yes, if you load www airconsole com/?server=\[server zone] or www airconsole com/simulator/?server=\[server zone] all your communication will go through a datacenter in the specified server zone webrtc will also be disabled to simulate high latency, choose a server zone that is far away currently available server zones are europe west1 b , us central1 a , asia east1 a to show the latency of your controllers, you can use the latency debugger what is the send message limit? between two devices, there is a limit of 25 messages per second (e g from one controller to the screen) broadcasts and custom device state changes (combined) are limitted to 25 events per second per device however, all messages will be queued, so that no message will be lost we've created a rate limiter library to help you to rate limit messages intelligently i can't load my game in the simulator or on a test phone! make sure your screen html and controller html are accessible from all devices let's assume you are running your local web server on http //192 168 0 2 8080/ try to access http //192 168 0 2 8080/screen html and http //192 168 0 2 8080/controller html using a normal web browser on the device that doesn't work it should display the screen/controller html if you can't access http //192 168 0 2 8080/controller html from your phone, but from your computer, make sure you are in the same network and that your router does not have "client isolation" activated if you are testing with real smartphones, make sure you do not use http //localhost/ or http //127 0 0 1/, because localhost is not your computer on the phone but the phone itself! if you are still unable to connect your phone, you can use the "ngrok" tool to forward your local url see our guide for how to do this in the unity engine is webrtc supported? yes, we support webrtc but only as much as webrtc is currently supported by browsers webrtc decreases the latency dramatically because not everyone supports it yet, always assume that your game also works on a higher latency when webrtc is supported you will see a message webrtc active for device id {id} in the browsers console can i self host airconsole? no that is not possible but you can directly link to your game like this http //www airconsole com/# http //your game url/ monetization, ads & airconsole hero how are games on airconsole monetized? users can purchase our premium subscription, airconsole hero please see the monetization guide for details can i create special content for hero users? yes, can lock some content in your game (like characters, or certain levels or game modes) so that they’re only available if at least one hero user is playing feel free to contact us if you need ideas on how to incorporate hero content into your game see our guide on premium content for more information how do i show ads?when should i show ads? by calling the showad method in the airconsole api make sure you mute the sound and execution of the game if onadshow is called you can unmute sounds and game execution as soon as onadcomplete is called when should i show ads? it is up to you to find the best moment in your game to show an ad we recommend calling the function at a point where there is a sort of ‘pause’ in your game, but before it’s actually over because we will limit the frequency of when an ad is actually shown on our side to every 5 minutes, you should try to display ads as often as possible do i get ad revenue from my game on airconsole? there is no ad revenue on airconsole any "ad breaks" that are shown are just advertising our own airconsole hero subscription, or showing other airconsole features or content the platform does not get any income through third party advertisements, and neither do developers how do i get paid? we pay developers via paypal or bank wires you can request a payout on your revenues page, which you can access via the developers console can i decide which ad or kind of ad will be shown? no all ads that are shown on the platform are our own airconsole hero advertisements the exact content and order of advertisements that players see is carefully balanced on airconsole's side why don't you show third party advertisements? we did at some point and our data clearly showed that our users were happier and more likely to get an airconsole hero subscription if no external ads were shown the ad revenue gained by impressions was not worth it for us in comparison can i launch a free/ad free/unmonetized game on airconsole? normally, no since we have server costs from all the games that are live on the platform, we don't allow anyone to launch completely unmonetized games for special solutions and exceptions to this (are you making a game for a good cause, for example?) get in touch via email unity where do i add images to my controller? any files your controller should have access to, such as images, javascript files, style sheets etc , should be placed either in assets/webgltemplates/airconsole 2020 for unity versions 2020 and up or in assets/webgltemplates/airconsole for unity versions 2019 and down the controller that is linked in your airconsole game object will be automatically copied to that folder when you start your game, and paths will be relative to it why do i get compilation errors after adding javascript files? if your js scripts throw compilation errors, it's because unity is trying to compile them as unityscript files make sure you place all javascript files in assets/webgltemplates/airconsole if the compiler errors show up despite proper file location, try restarting the unity editor why do i get "multiple precompiled assemblies with the same name newtonsoft json dll included on the current platform \[ ]" after importing the airconsole plugin in unity 2021+ delete the following plugin file (it is now included in unity directly and is not needed anymore in newer unity versions) assets/airconsole/plugins/newtonsoft json dll why do i get "maintemplate gradle is using the old aaptoptions nocompress property definition does not include types defined in unitystreamingassets constant " when building for android tv on unity 2022+? unity 2022 made some updates to their gradle launcher which doesn't support and old option syntax anymore the solution is to edit assets/plugins/android/maintemplate gradle and launchertemplate gradle to add/replace the aaptoptions "nocompress" line with nocompress = \[' ress', ' resource', ' obb'] + unitystreamingassets tokenize(', ') check unity support for more details help and contact chat with the airconsole team and other fellow developers on our discord channel if you have any ideas for how to make airconsole better and more attractive for game developers, let us know your thoughts! fill out our developer feature request form here https //goo gl/forms/0ezpm42bl082dbh93