Psychokiller1888's Recent Forum Activity

  • > Could you add accelerometer options? For example, as the occlusions of the Touch object. Thank you, and your plugin is amazing!

    >

    I can't because it's not a feature of the Airconsole controller API, the

    onDeviceMotion[/code:2ga3ie7s] event resides in the main Airconsole API, so you need to contact @Psychokiller1888 so that he implements it in his plugin.
    
    [url=https://developers.airconsole.com/api/api-1-6-0/AirConsole-Controller_Inputs.html]https://developers.airconsole.com/api/a ... nputs.html[/url]
    

    Coming back to you concerning onDeviceMotion which didn't tilt my brain when I first answered.... But onDeviceMotion is a controller function, not a Screen function.

    Yes, I could build a bridge, but users can:

    airConsole.onDeviceMotion = function (data) {
      airConsole.message(AirConsole.SCREEN, {
        deviceMotion: JSON.stringify(data)
      }
    };[/code:2ga3ie7s]
  • I'm shooting in the dark here, giving you ways to try, I cannot do more I don't have what you've done so far

    So yes, I do wait the document to be ready before anything:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Can you try to add a console.log(deviceId) on the controller and see if it ever is 0? 0 Is SCREEN, you are correct. When do you trigger the handshakes on the controller? $(document).ready?

  • Hey! Some little bugs yes, but for what I have seen so far, after days debugging, it's in 95% of the cases due to construct 2. If your controller reacts, it is connected, it's as simple as that. Are you sure of your code C2 side? Do you broadcast game ready? Do you use a custom loader? Try Browser.log to debug. Quite honestly, my onjoins are all triggering.

  • Sure, gonna pay 500 bucks for a browser export of Construct 2......... A BROWSER APP that only works in Chrome!!!

  • Ashley is that fixed in Construct 3???

    > A problem we've always had is finding other ways to drive revenue. Asset store profit we make wouldn't cover even 1 employees salary/costs, and there are ~8 of us at the moment. It's a nice thing to have to help, but will never come close to our core product.

    >

    > Secondly, our strength is that we do mainly focus on our core product! Spending our time creating assets/templates etc to sell would ultimately take away from that. We'd rather just play to our strengths.

    >

    what if Construct 3 is a one time payment for desktop builds and if people want to use it on chrome then pay a fee??

    I'd say yes immediately, because I don't use Chrome. But that idea is not gonna work, everybody is simply going take the desktop version don't you think? Because the desktop version is more prowerfull, the browser will never be able to access local drives and stuffs like that

    Everade Well said.

    > They could have a basic, but fully functional standalone version of C3, and a subscription based C3 with free assets every month, free plugins, free templates, etc. Just think of something. Like a season pass of a game with dlcs.

    >

    I'm sorry, but that's one of the worst ideas I read on the forums in the past days.

    While I think this topic is useless, here's my opinion: subscribe. Subscribe and let the developers of your favourite software eat.

    https://www.construct3.com/ states 120'000 users. That's 120k*99usd 11'880'000usd to eat.... Of course, not all 120k users are payant

  • Right click the event => Make OR block

  • Plugin version 1.4.8 is out!

    Very simple update as this one just adds two expressions:

    "GetNickname"

    "GetProfilePicture"

    Download on official channel: https://github.com/AirConsole/airconsole-construct2

    My repo: https://github.com/Psychokiller1888/air ... construct2

  • cjbruce

    Just use the send message from your game to the desired controller. Invent your own format for your state changes, quick dirty exemple:

    Listen for the message on your controller

    airConsole.onMessage = function(deviceId, data) {
    		if (data.handshake) {
    			sendHandshake();
    		}
    		else if (data == 'displayState1') {
    			do your controller changes
    [/code:e6ihv45e]
    
    As for the nickname, you surely won't tell the controller to ask the screen to get the controller's nickname and make it send it back to the controller....
    
    You have an AirConsole object on your controller, so just get the nickname with it...
    
    [code:e6ihv45e]airConsole = new AirConsole({"orientation": "landscape"});
    	var nickname = airConsole.getNickname();[/code:e6ihv45e]
    
    As for the controllers not receiving, not getting dunno what, I cannot help sorry. I do not know this plugin and what it generates. I know that the official controller generator does work so I let you solve that with @X3M
    
    This is the behavior: [url=https://puu.sh/tDCKO.png]https://puu.sh/tDCKO.png[/url]
    Image is too big, this forum does not even resize when using [img]
    
    [img="https://puu.sh/tDCKO.png"]
  • No, you gotta listen for on message key, load a c2dictionary with the message and do what you need to do based on the dictionary content

Psychokiller1888's avatar

Psychokiller1888

Early Adopter

Member since 1 Apr, 2016

None one is following Psychokiller1888 yet!

Connect with Psychokiller1888

Trophy Case

  • 8-Year Club
  • Forum Contributor Made 100 posts in the forums
  • x3
    Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

12/44
How to earn trophies