remy / remote-tilt Goto Github PK
View Code? Open in Web Editor NEWRemotely send device orientation and motion events
Home Page: http://remote-tilt.com
Remotely send device orientation and motion events
Home Page: http://remote-tilt.com
Ideally re-using an unmodified device-motion-polyfill.js - or, can we roll any changes back in to the original script?
There seems to be something wrong with the http://remote-tilt.com/tilt.html demo.
However, visiting http://remote-tilt.com/MY_REMOTE_KEY with any browser with orientation event support (incl. Safari on iPhone) does not seem to result in the expected effect of the logo being controlled by the orientation of the device. Strangely enough, what did happen was that the orientation events of my MacBook Pro were captured and they were steering the orientation of the logo...
So, in short, pressing "Cancel" or "OK" in step 2 gives the same results.
I'm not even sure of IE support right now - I did some early testing but it failed, and I just wanted a developer tool that I could use to debug with. So it may not be possible.
Ideally re-using an unmodified device-motion-polyfill.js - or, can we roll any changes back in to the original script?
Ideally re-using an unmodified device-motion-polyfill.js - or, can we roll any changes back in to the original script?
Hie Remy,
First, I want to thank you for this polyfill which has made my developments much easier with the accelerometer devices.
I've just refactored a game that is played by default in the browser, tilting your device to manage a ball, tapping the screen to drop bombs (you'll see).
In this v2, I integrated remote-tilt, not only for the development part, but also for the gaming part, so if you're on your desktop or laptop, it will launch the accelerometer emulator and you'll be able to play ...
I think it could be a part of your examples that are using remote-tilt ...
You can test it at : http://bombs.topheman.com/
The sources are on github.
Tophe
PS : On my version of remote-tilt, I made some little changes (which have nothing to do in your master branch), such as :
I already have another project on the way that I will release soon, also based on devicemotion + emulator.
Ideally re-using an unmodified device-motion-polyfill.js - or, can we roll any changes back in to the original script?
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.