AirConsole Game Dev Contest 2017

Discussion and feedback on Construct 2

Post » Thu Sep 08, 2016 12:06 am

I don't see anyone mentioned that yet and I think many would like to be informed ;)

AirConsole has started a new Game Jam - AirConsole Game Dev Contest 2017

Main prize this time is $10 000 - it's really a lot of money, so it's worth a try, isn't it? ;)

There's still a lot of time to prepare as submittion deadline is Feb. 26th 2017.


For those who don't know what AirConsole is, just a brief info.
AirConsole is a kind of substitute for PlayStation or Xbox. So as a developer you have to make a game which will run in a browser (this is where the gameplay is) and an easy HTML5 app which will be your game controller (this will run on the smartphone). You connect both the game and the controller with very simple AirConsole API (functions) and upload it to AirConsole server via their web tool.

They even have a guide for C2 developers here: http://developers.airconsole.com/#/guides/construct2

This is not a first Game Jam from AirConsole. If you're interested, here is the result page of previous Game Jam: http://blog.airconsole.com/2016/03/airc ... ntest.html

Good luck to Everyone! ;)
Last edited by BackendFreak on Sat Sep 10, 2016 9:34 pm, edited 1 time in total.
ImageImageImage
B
27
S
16
G
82
Posts: 1,030
Reputation: 45,779

Post » Thu Sep 08, 2016 1:52 am

I participated in the last AirConsole game dev contest, and it was a blast! The admins over there are really nice, and the Construct 2 plugin works fine. They are very helpful if you have any questions about the plugin or developing for AirConsole. Keep in mind that you will need to be able to program in javascript/HTML5 in order to make the phone controller. Other than that, good luck to anyone entering!
B
19
S
5
G
2
Posts: 72
Reputation: 1,846

Post » Thu Sep 08, 2016 12:32 pm

Yes you need to do some coding in order to prepare the controller. But for most of controllers (I mean depends how fancy you want to make it) it's just a bit of coding. AirConsole also has a controller generator which helps to prepare standard buttons, joystics etc.

What I was doing in my AC game, was simply sending the C2 Dictionary JSON from controller to the game itself and read that as a message in C2 project. Then based on Dictionary data I was performing some action.

Here's the small code snippet to give a better understanding.
Code: Select all
/** Start SCREEN BUTTONS **/
    var startScreen_readyButton = new Button("ready-button", {
        "down": function () {
            airconsole.message(AirConsole.SCREEN, {
                "message": '{"c2dictionary":true,"data":{"action":"player_ready"}}'
            });
        },
    });

    var startScreen_creditsButton = new Button("credits-button", {
        "down": function () {
            airconsole.message(AirConsole.SCREEN, {
                "message": '{"c2dictionary":true,"data":{"action":"goto_credits"}}'
            });
        },
    });


So as you can see I'm just sending here "player_ready" or "goto_credits" string, depends on which button has been clicked on controller. You can even optimize it to send only this string instead of the whole dictionary JSON and then wrap it in C2 after fetching the string.
ImageImageImage
B
27
S
16
G
82
Posts: 1,030
Reputation: 45,779

Post » Thu Sep 08, 2016 5:29 pm

I was thinking a bit that it could be actually possible to make both controller and the game fully in C2. Just need to rebuild AC C2 plugin a bit and improvize with exports.

Currently AC C2 plugin is only for the game part and you have to code controller yourself, but we can wrap AC controller API into C2 plugin and use it in C2. Is anyone interested in making such plugin? If not I might do it later if I'll have some time. There's still a lot of time to February.

With such plugin C2 users would be able to easily make AC games without need of any manual coding.
ImageImageImage
B
27
S
16
G
82
Posts: 1,030
Reputation: 45,779

Post » Sat Sep 10, 2016 9:15 pm

Here is another contest with the same prize of 10.000 $ : http://adoptmygame.com
The deadline is : 31st August.
The good thing is that there will be portal owners and investors watching.

Good luck to everyone and thanks @BakendFreak for the info
Banned User
B
17
S
7
G
24
Posts: 388
Reputation: 14,494

Post » Sat Sep 10, 2016 9:33 pm

X3M wrote:The deadline is : 31st August.


Thanks @X3M. It's 31st August? We have 10th of September today, so this one is over? Or it's annuall and now the deadline is 31st August 2017?
ImageImageImage
B
27
S
16
G
82
Posts: 1,030
Reputation: 45,779

Post » Sat Sep 10, 2016 10:56 pm

BackendFreak wrote:
X3M wrote:The deadline is : 31st August.

Thanks @X3M. It's 31st August? We have 10th of September today, so this one is over? Or it's annuall and now the deadline is 31st August 2017?

Oops, my bad, seems like it ended at 31st August 2016.
Banned User
B
17
S
7
G
24
Posts: 388
Reputation: 14,494

Post » Mon Sep 19, 2016 9:20 am

@BakendFreak 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.
B
7
S
1
Posts: 15
Reputation: 470

Post » Mon Sep 19, 2016 12:31 pm

FraConsole wrote: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).


I remember I tried it some months ago and there were few issues. Can't remember from the top of my head but it was regarding some initial settings. So I believe not all from code below can be done with the plugin at the moment.
Code: Select all
    var zaController = new ZombieAnnihilationControllerScreen();

    /** -------- AIR CONSOLE INIT --------- **/
    var airconsole = new AirConsole({orientation: AirConsole.ORIENTATION_PORTRAIT});
    var rateLimiter = new RateLimiter(airconsole);

    var sendHandshake = function () {
        airconsole.message(AirConsole.SCREEN, {
            handshake: true
        });
    };


Also changing the index.html to controller.html is not enough as C2 export needs c2runtime.js, data.js, assets from subfolder etc. So screen and controller exports would overwrite their files. So changes in JS code to properly read relative files would be also needed.

But yeah, it is surely possible, just need to spend some time to figure out what and where should be changed in C2 JS code.
I even remember I asked Ashley in the past if he could point us where exactly should we change paths in order to be able to put related files under separate directories.... but got no reply so this would need to be investigated.
ImageImageImage
B
27
S
16
G
82
Posts: 1,030
Reputation: 45,779

Post » Sun Sep 25, 2016 4:39 am

I'm working on a game that I'll try to enter in this contest. Thanks for the heads up!
Eh, Steve!
B
115
S
54
G
13
Posts: 113
Reputation: 16,151

Next

Return to Construct 2 General

Who is online

Users browsing this forum: wertt22 and 14 guests