Psychokiller1888's Forum Posts

  • From where did you install? I can't repro that. I did download the plugin from the main git, install it to overwrite my own dev one, close and ran C2 again, nothing there. Then as your logs do speak about exporting which doesn't seem to be as you say directly after installing the plugin, I did try to export the project, I didn't get anay C2 error. Concerning the second topic, these are Webgl errors and not plugin errors, as for the slow connection that's C2's problem, most prolly because you switched window? They are not real errors as long asthey don't keep coming when you go back to the game

  • No more excuses for not having a cool controller now! The plugin just got my pull request merged, and I have added support for extended messages, making the official controller generator compatible. The generated controller is ready to use with your C2 game. Just update your plugin to at least version 1.4.6.1

  • My pull request just got merged and introduces, in my opinion, more advanced functions to the plugin. Let me explain you the changes:

    AirConsole version 1.4.6

    • Conditions
      • OnMessageKey - Trigger - Depracated. This method wasn't really doing what it should have be doing. This is flagged as deprecated, so you cannot use it anymore but your projects using it should load just fine and still work
      • OnMessageKey - Trigger - Triggered when any message comes in with a different key than 'message'
      • OnMessageKeyIs - Trigger - Triggered when a message comes in with only one property and that property is what you are waiting for
      • OnMessageKeysContain - Trigger - Triggered when a message comes in and its properties contain the specified key
    • Expressions
      • GetMessageProperties - Returns all the properties that were sent in the last message in the form of a C2Dictionary
      • GetMessageProperty - Returns the specified property value
      • GetMessagePropertiesCount - Returns the number of properties set in the last message
      • IsMessagePropertySet - Returns 1 if the last message had the specified property set, else 0

    This might get a bit confusing, so here is a link to the pull request and all the screenshots I did back then: https://github.com/AirConsole/airconsol ... t2/pull/18

    Some images

    Most important is that GetMessageProperties is full recursive and now supports the actual controller generator for AirConsole as complexe messages are now supported. So there is no problem sending messages like:

    airConsole.message(AirConsole.SCREEN, {
      dpad: true,
      swipe: false,
      nickname: "Psycho",
      options: {
        sound: "mute",
        vfx: 10,
        privacy: {
          world: true,
          region: true,
          city: false,
        }
      }
    });
    [/code:1xyfqgio]
    
    are easily captured and read by something like (make 'subList' be 'options' and 'subSubList' be 'privacy' <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink"> ):
    [img="https://puu.sh/sMVRr.png"]
    
    As always, download the plugin on the official chanel:
    [url=https://github.com/AirConsole/airconsole-construct2]https://github.com/AirConsole/airconsole-construct2[/url]
    
    Or on my repo if you want access to my latest additions not yet merged:
    [url=https://github.com/Psychokiller1888/airconsole-construct2]https://github.com/Psychokiller1888/air ... construct2[/url]
    
    [b]Coming next[/b]
    [ul]
    [li]Complete support for highscore and reading data[/li]
    [li]Persistant data support[/li][/ul]
    
    [b]Happy new year to you all![/b]
    
    And again, I'm not working for N-Dreams, I'm just coding for fun and they do appear to appreciate that I pull request all these changes. Still, you can pm me if you have any questions about the plugin.
  • Ashley At least now we are on stage 3, it's going forward... Don't take it bad, I'm a java dev, I react the same and I proudly wear that shirt....

  • I have added needed methods to support the controllers generated by their tool. It is on pull request, but you can download it from my fork on github. Let me know if it works

  • I have added ads support for the plugin lately, you have an action called Show ad now

  • Ashley Ok, will build a GTX 1070 on my Windows 10 64 bit. What brand did you buy? Asus, Gigabyte?? What driver do you have installed?

  • I never tried the pong exemple, but it's pretty deprecated as the plugin got updated a lot lately. Make sure the plugin settings are correctly set for the max players. All I can say is that on join does trigger correctly

  • Hi!

    You are usng a depracted plugin or something like that, because action 8 is "Show add" and that is available on the plugin. I never remove actions/conditions/expressions so that never happens. Did you maybe download from my git repo? If so, just update your plugin and it should be fine. The versionning on mine is relative, as I cannot jump too many version numbers on the official plugin

  • I commited, on my repo, a new branch that adds support for real messages with complex structures as the controller generator does generate

    https://github.com/Psychokiller1888/air ... MessageKey

    If anybody wants to try it out and maybe return the experience I'd be glad. Be aware this is experimental and subject to changes, that's why it's commited on a separate branch!

    This allows, per exemple, messages sent like

    airConsole.message(AirConsole.SCREEN, {
      rejoin: "12345",
      name: "Psycho",
      age: "hmmm",
      country: "Switzerland",
      controls: {
        dpad: true,
        buttons: true,
        swipe: false,
        joystick: false
      }
    });
    [/code:251zjsb1]
    
    It is recursive. Getting the data is made through AirConsole.GetMessageProperties. Load a C2Dictionary with it
    
    [img="https://puu.sh/sKnHH.png"]
  • Version 1.4.5 got merged on official sources, but I must apology to all users, I messed up isPremiumJoin and isPremiumMessage by misspelling the variables (and not being at home using my editor I did not notice). Just saw that today when starting the whole in PhpStorm that warned me about unsued variables. A pull request for fix is waiting, for those that can't wait, the fix is available on my repo

    EDIT

    For clarity, this does just touch expressions and not triggers/conditions

  • No problem, glad you got it right

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • On your controller send a message when mousedown and when mouseup. Start moving on construct 2 when you get a mousedown message, stop moving when you get a mouseup message

  • Ashley how much more do you need to understand it's not a driver issue? This time we've even found someone with the problem on something else than an nVidia

  • Does turning off effect rendering fix the issue for you? That's a solution we've been provided for the same report, along with: Your drivers are at fault because it always is so