Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added vibrate on collision

  • Loading branch information...
commit 5d1cf2314c2e6e9b851b41e4652ce50f2cccacf4 1 parent 7159ab3
@jhaynie authored
Showing with 1 addition and 1 deletion.
  1. +0 −1  Box2D
  2. +1 −0  example/app.js
1  Box2D
@@ -1 +0,0 @@
-Subproject commit 339e39dd6d922ae27625a022d12bd6da2ac40d9c
View
1  example/app.js
@@ -59,6 +59,7 @@ world.addEventListener("collision", function(e) {
Ti.API.info("the red block collided with something");
Ti.API.info(JSON.stringify(e));
+ Ti.Media.vibrate();
}
});
Please sign in to comment.
Something went wrong with that request. Please try again.