FraConsole's Recent Forum Activity

  • gg3l

    we released an update of the AirConsole plugin:

    github.com/AirConsole/airconsole-construct2

    and we are already working on new changes (thanks to another construct2 developer the plugin is being updated faster now).

    thanks for all the support!

  • mrnannings can you give me the url of your uploaded project?!

  • amariscal I don't understand what you mean with "driver". Can you please elaborate?!

  • iherwis

    Sorry, you will have to code a little bit if you want to make a controller.

    In the same directory of your web-exported construct2 files, create a controller.html

    There are some examples at: github.com/AirConsole/airconsole-controls

    DatapawWolf

    the plugin is currently being updated and showing ads will follow soon

  • arod17pr it seems its because of https

    If you want you can upload it to: airconsole.com/developers

    which you will have to do anyways if you want to submit your game in the end to AirConsole.

    When creating your game, you will need to set a cover image etc. but it can be just a 512x512 placeholder image.

    You can update this data later on.

    TO EVERYBODY ELSE: I still can not reply PMs because my reputation is below 500 :/

  • thanks for writing about the competition!

    Concerning the controller: theoretically you could make a construct2 game with the airconsole plugin and just save the exported index.html in the end as controller.html instead of screen.html

    The methods are the same for both screen and controller (send message to screen (DeviceID 0) instead of to the controllers).

    The game UI though had to be responsive and make sure not to include too many animations, which do not really perform well on mobile.

    However, in the end you would have to somehow seperate the two games and controller.html and screen.html have to be in the same directory.

  • justifun I am sorry - but he is super busy at the moment with the contest and our new promo video. I told him again and he hasn't forgotten you!

  • justifun I have forwarded your PM to our product manager (Still don't have enough reputation on this platform to answer ^^)

    - never tried NW.js

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sorry guys, somehow I don't get notified when someone posts a new question here oO Will have to check my settings.

    justifun

    Currently there is no way to build a controller in construct2. I am working on our controller generator so that you can use it with construct2.

    You can also achieve animations with HTML/CSS or JS. However, keep in mind that animations on mobile don't run really smooth.

    totoyan:

    Yes you have to export the example project to try it on your localhost.

    Otherwise you can try the example here online:

    airconsole.com/simulator play=com.demo.construct

    (remove the space before "play=com.." I can't post large urls here :/)

  • Ok thanks a lot! I will let you know when I updated the plugin!

  • Thank you!

    I just had a look at your code. So basically something like this:

    airconsole.message(AirConsole.SCREEN, {
      "message": '{"c2dictionary":true,"data":{"action":"joystick_move","x":' + position.x + '}}'
    });
    [/code:3g44sdkf]
    
    Would be easier if I just send the data property:
     [code:3g44sdkf]
    airconsole.message(AirConsole.SCREEN, {
        action: "joystick_move",
        x: position.x
    });
    [/code:3g44sdkf]
    
    And the AirConsole Plugin adds the c2dictionary attribute etc.
    And in Construct2 you would have to always use the dictionary to parse the data
    Would that be better?
    
    Thank you!
  • Hi guys,

    I am the developer of the AirConsole Construct2 plugin.

    We have a controller-generator with which you can actually build your own controllers pretty quickly and easy.

    However, its true that it does not work yet with Construct2. Instead you have to be able to write some JS and HTML code to create your own controller.

    I am pretty new to Construct2 and I wonder if there is a way to parse JSON data in Construct2.

    E.g. an JSON object like:

    dpadrelative-left: {
      message: {
         direction: "down",
         pressed: false
      }
    }
    [/code:53nyy3vr]
    
    Or s.t. like:
    [code:53nyy3vr]
    {
      message: {
        x: 2,
        y: -23
      },
      pressed: true
    }
    [/code:53nyy3vr]
    If that works in Construct2, it would be much easier to adapt the Controller-Generator also for Construct2.
    Any ideas?
    
    Thank you!
FraConsole's avatar

FraConsole

Member since 12 Nov, 2015

None one is following FraConsole yet!

Connect with FraConsole

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies