Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
8e144f4
:tada: Branching to 1.8.0
Nov 30, 2022
e38c6b2
:memo: readme and gitignore
Nov 30, 2022
c12e8bb
:art: jetbrains cleanup, untested
Dec 1, 2022
7a04c77
:sparkles: Added C2 option to use translations
Dec 1, 2022
c94255c
:sparkles: Init airconsole with translation support
Dec 1, 2022
1f4e185
:poop: didn't remember ecma5 strict....
Dec 1, 2022
7cc1891
fixed
Dec 1, 2022
a14dee4
:sparkles: Get device language
Dec 2, 2022
1d8a6f1
:recycle: Reformatting code
Dec 2, 2022
3b8c4cc
:sparkles: added getTranslation support
Dec 2, 2022
f51b182
:sparkles: on mute, on unmute, on pause, on resume
Dec 2, 2022
9bfece8
:bookmark: Updated .c2addon
Dec 2, 2022
0c84b7e
Merge pull request #34 from AirConsole/master
Dec 2, 2022
6912f84
hate unclear GH actions
Dec 2, 2022
a7c2d97
this any better?
Dec 2, 2022
e86f85e
Update main.yml
Dec 2, 2022
7da90cb
ci
Dec 2, 2022
b3bf79d
ci
Dec 2, 2022
a81120e
ci
Dec 2, 2022
4893978
ci push to repo
Dec 2, 2022
518109f
Deploying plugin
Psychokiller1888 Dec 2, 2022
877080c
:tada: CI auto plugin build and deploy now works on new release
Dec 2, 2022
e5ed248
Deploying plugin
Psychokiller1888 Dec 3, 2022
b75a0ba
:construction_worker: update CI
Dec 7, 2022
8a11044
🚀 Deploying plugin
Psychokiller1888 Dec 7, 2022
25604bd
Merge branch 'master' into 1.8.0.0
Dec 7, 2022
e08b9ff
🚀 Deploying plugin
Psychokiller1888 Dec 7, 2022
a8c76a3
:art: editorconfig
Dec 7, 2022
9a5974c
Merge remote-tracking branch 'origin/1.8.0.0' into 1.8.0.0
Dec 7, 2022
9ad788a
🚀 Deploying plugin
Psychokiller1888 Dec 7, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
charset = utf-8
indent_style = tab
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
27 changes: 19 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,26 @@
name: Build c2addon

on:
release:
types: [created]
on: push

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 🔧 Install zip
uses: actions/checkout@v1
- name: 🔧 Packaging c2addon
run: zip -r c2airconsole.c2addon.test
working-directory: ${{ github.workspace }}/plugin
- name: ➕ Install zip
uses: actions/checkout@v2
- name: 📦 Packaging c2addon
uses: vimtor/action-zip@v1
with:
files: plugin/
dest: c2airconsole.c2addon
- name: ✅ Saving artifact for testing
uses: actions/upload-artifact@v1
with:
name: c2airconsole.c2addon
path: ${{ github.workspace }}/c2airconsole.c2addon
- name: 🔖 Commit and push
uses: EndBug/add-and-commit@v7
with:
add: '["${{ github.workspace }}/c2airconsole.c2addon"]'
message: '🚀 Deploying plugin'
push: true
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.idea
36 changes: 29 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,56 +1,67 @@
⚡ ⚡ ⚡ **ATTENTION:** THIS PLUGIN IS NOT MAINTAINED ANYMORE. We, however, appreciate any pull requests. Thank you for your understanding


# AirConsole Construct2
Construct2 plugin second generation for AirConsole version 1.7.0

Construct2 plugin second generation for AirConsole version 1.8.0

AirConsole can be visited on www.airconsole.com and is a great way for unique game experience using your smartphones as controllers
Construct 2 is a great 2D game creation tool that allows anybody, with or without coding experiences, to start developping their own games

This plugin allows you to build both games and the controllers with Construct2! Don't forget to check out the external merging tool when you need to package your game before testing: https://github.com/Psychokiller1888/AirConsoleMerger/releases
This plugin allows you to build both games and the controllers with Construct2! Don't forget to check out the external merging tool when you need to package your game before testing: [AirConsoleMerger](https://github.com/Psychokiller1888/AirConsoleMerger/releases)

## Installation

[Download the plugin](c2airconsole.c2addon) and drag and drop it into Construct2

More information about the plugin:

http://developers.airconsole.com/#/guides/construct2
[AirConsole guides](http://developers.airconsole.com/#/guides/construct2)

## Version 1.8.0.0

* Updating to AirConsole API v. 1.8.0

## Version 1.7.0.19

* On device motion should be a trigger
* Edit profile impossible from screen
* Using isController
* Setting controller orientation
* Ordering

## Version 1.7.0.18

* Fixing all messenging functions for controller mode

## Version 1.7.0.17

* Fixed controller orientation

## Version 1.7.0.16

* Added OnDeviceMotion trigger
* Added GetPremium action
* Added Vibrate action
* Added MotionData expression

## Version 1.7.0.15

* Added ability to get device ID that is currently being used (Controller function)
* Added Edit Profile


## Version 1.7.0.14

* Added controller mode support
* Brought API mock-up from C3 to C2 plugin

## Version 1.7.0.13

* Added preset message support, on an idea by Toby R

## Version 1.7.0.12

* Fixed wrong usage of "deprecated", thanks Mad_Spy and Toby R for bringing this up

## Version 1.7.0.11

* Added expression airconsole.AdShown()
* Added expression airconsole.IsAdShowing()
* Added expression airconsole.GetProfilePictureWithSize(deviceId, picturesize)
Expand All @@ -60,39 +71,50 @@ http://developers.airconsole.com/#/guides/construct2
* Fixed N-Dream naming in plugin infos....

## Version 1.7.0.10

* Fixed OnCustomDeviceStateChange trigger
* Fixed ConvertDeviceIdToPlayerNumber expression
* Comparison fix
* Cleanup

## Version 1.7.0.9

* Fixed GetPersistentData and GetHighscores expressions wrong return type

## Version 1.7.0.8

* Fixed onDeviceProfileChange (trigger not defined)

## Version 1.7.0.7

* Fixed GetMasterControllerDeviceId

## Version 1.7.0.6

* Fixed illogic expressions order and naming

## Version 1.7.0.5

* Updated documentation links and website links

## Version 1.7.0.4

* Fixed Message and Broadcast

## Version 1.7.0.3

* Missing GetActivePlayerDeviceIds

## Version 1.7.0.2

* Missing IsPluginOffline condition
* Missing IsPluginOffline expression
* Missing IsMultipartMessage condition

## Version 1.7.0.1

* Initial plugin release

## About this Plugin

This plugin was created and is maintained by Psychokiller1888 and not by the AirConsole Team. It has become so popular that the AirConsole Team has decided to host it in the official AirConsole GitHub account.
Binary file modified c2airconsole.c2addon
Binary file not shown.
Loading