Psychokiller1888's Recent Forum Activity

  • No you don't....... That's the whole point of the API and these functions, as stated, can run on any devices....

    My last hint for this, because then I gonna make your controller myself and that I don't want to

    Then please, if it's about JS, open a new topic, this one was basically to present the plugin

  • Chek your console using F12. Debug values using console.log(nickname)

  • That's what I said, you need some basic programing skills for that. What you've showed is a copy paste of the API get nickname function...

    You have to use, as simple as it sounds

    var nickname = airConsole.getNickname();
    var deviceId = airConsole.getDeviceId();[/code:1omstg3q]
    
    Now, I understand you are in a rush, but I don't think doing all your controller is a good thing. You will never learn if we do code your controller. In max 5 hours you are set in Javascript if you check a couple of courses. And you have 9 days left for the competition, so it's easy, given days are 24 hours. At that point, I will gladly help when it comes to Javascript, but for now, I cannot just code for you, it makes no sense.
  • https://developers.airconsole.com/#!/api

    AirConsole.getNickname() is enough for you to get the nickname of a controller <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    As getDeviceId() does return a device's id

  • Not at all, what is that if condition?? The jquery to change the css looks good though. Use console.log() to output Infos to your browser. Then a very simple and quick Javascript beginner guide will help you in no time. I'm not on computer, won't type the function on my phone.

    BTW you deleted the handshake in onmessage, that won't work until plugin v. 2

  • The onMessage() function is here for that

  • You got a point. But then again, two different roads as I said. Either you go for a new thing, with real interactions on your controllers or you just go to what was firstly meant, a multiplayer plateform for those not having a console/gamepads/computer. AirConsole should be running on your TV, so it's perfect for those having nothing to just start the tv and share a social game with the beer friends while at home.

    Then yes, more games with more controller<->screen interactions would be great. Don't forget that controllers too can communicate between them, no need to always go to screen first. The only limit is your imagination

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • ishmaelmoreno

    Are you sure it's not a cache problem? Do you use CTRL+F5 to refresh? Did you use simple javascript console.log(); and most importantly Construct 2 Browser.Log() to debug? Do you check your console when trying? (F12) If you see

    in your console (note, device_id 1 to xxx of course), your controllers are connected

  • ?? I don't understand what you mean. Airconsole is another way to create games. A way to play games with your friends at home without the need to have 8 gamepads. It's a different approach, it's not better or worse than gamepads, it's different. It brings you something gamepads don't have, a screen as a controller. Not only buttons, but stories can be told on your controller, new mechanics can be thought.

    Messaging between screen and controllers is fully supported in C2, games made in C2 have already been published on AirConsole.

    Making controllers in C2 is also possible since a while, a plugin made by X3M is available: viewtopic.php?f=153&t=186227

    Official generated controllers are also now compatible with the C2 plugin: https://developers.airconsole.com/tools ... dex.html#/

    There's not only buttons, it's up to you to developp your own controller, add different states, switch screens, whatever, a controller is a website so to say, so with a little html, css and JS you can do anything

    A plugin version 2, cleaning up and making it easier to understand is underway and I will publish it pretty soon, but first I'm working on our competition submission and will invest time in plugin version 2 then

    Yes, AirConsole is fundamentaly not meant to be a bridge for high speed FPS games as latency can be a problem, but try some of the games available on airconsole.com and you will see

    [quote:a19mubs0]Because the project filetype is binary

    That's terrible for team work and subversioning....................

  • ishmaelmoreno Good, you scared me

  • ishmaelmoreno

    I just exported our game to test on AC, and it works without problem for me. Are you sure it's not a cache issue?

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