airconsole / airconsole-construct2 Goto Github PK
View Code? Open in Web Editor NEWConstruct2 Plugin for AirConsole
Construct2 Plugin for AirConsole
I've followed this guide
http://developers.airconsole.com/#/guides/construct2
I added extra console logs to appear "Moved" if you pressed button in your device.
I tried to rename index.html to screen.html then created controller.html, now uploaded at my server.
Then I ran with http://www.airconsole.com/#http://powerupware.com/airconsole/
I pressed button "Move" many times on my nexus 7 and the screen, a blue square won't move anymore.
I think this example needs rework
Noticed the vibrate action in v 1.7.0.16 doesn't work as expected. Fails to vibrate device. In contrast the browser vibrate action does work as expected.
This is less an issue and more of a possible enhancement, I think, though I may be misunderstanding something.
At the very end of the tutorial, there's this line:
Note that only the "Value" value is something you should hard code. All other values can be found in the expression window:
Is there a reason these values that don't need to be "hard coded" are exposed? Like, is there ever a situation where I might want to put something other than "AirConsole.Message" in the "Message" field, for example? If not, I think I would be a bit less confused if these fields were hidden away entirely.
I'm trying to work on a project with this plugin and I'm getting the "Please update API to version 1.3.0" message when testing with the simulator. I've tried changing the references in the exported project to reference the new API but it's still giving me the error (and it's annoying to have to replace the files each export).
Generated controllers created with http://developers.airconsole.com/tools/airconsole-controls/ctrl-generator/controller.html don't seem to work properly with Construct 2 builds. At a glance, it seems like they're missing the handshake code, though even slipping that in didn't seem to make my generated controller work so there may be more to it than that.
When I try install addon using .c2addon i get follwing message
"Cannot load .c2addon file: info.xml is missing from the root"
I've been working with this plugin for a number of hours now and I've yet to create anything functional. There are a number of factors making it difficult for me to determine exactly why this is and I think those could be mitigated by updating the C2 plugin documentation and providing a live, online build of the Pong example made with Construct 2.
It seems as though the documentation hasn't been updated since v1.1. I haven't explored it in great detail since I'd like to get the Pong example working before I start porting my own game to Airconsole, but I've noticed a few out of date things and would appreciate the whole thing being looked over once again.
Simply building the included Pong example and trying to run it in the simulator seems like it should work without issue, and yet I see a number of errors in the Chrome dev console and my paddles never seem to spawn (implying that the controllers aren't connecting). I would really appreciate an example build hosted online that I can run through the simulator and see how a working build should look. It would be nice to compare dev console logs between my build and the working build to see what errors (if any) are my fault.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.