Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Psychokiller1888 committed Aug 9, 2017
2 parents 10c80a7 + 1862141 commit b509747
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# AirConsole Construct3
An AirConsole plugin for Construct 3

This plugin is in beta state and subject to a lot of changes

You can find a c3p exemple file of our good old Pong game

You can use the backward compatibility plugin to import any games you made with Construct2
Expand All @@ -11,6 +9,8 @@ Prefer to use the normal plugin for new Construct3 projects

Please report any bugs you encounter

Our wiki gives very useful informations, why not [checking it?](https://github.com/AirConsole/airconsole-construct3/wiki)

## Installation for new Construct3 projects
[Download the plugin](plugin/airconsole.c3addon) and add it to your Construct3 project

Expand Down
Binary file modified exemple/AirConsolePong/AirConsolePong.c3p
Binary file not shown.
7 changes: 3 additions & 4 deletions exemple/AirConsolePong/controller_resources/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,16 @@ $(document).ready(function() {
var sendMessage = function(string) {
airConsole.message(AirConsole.SCREEN, {
message: string
});
}
});
};

airConsole.onReady = function() {
airConsole.message(AirConsole.SCREEN, {
handshake: true
});
};

airConsole.onMessage = function(deviceId, data) {
};
airConsole.onMessage = function(deviceId, data) {};

$('#up').on(downEvent, function (event) {
sendMessage('up');
Expand Down

0 comments on commit b509747

Please sign in to comment.