Permalink
Browse files

disable vibration

  • Loading branch information...
1 parent 3c40d36 commit 98aaabf9b698c7c66117d6428a7f6b746d845516 @leafo committed Apr 21, 2015
Showing with 8 additions and 8 deletions.
  1. +8 −8 game.moon
View
@@ -123,14 +123,14 @@ class TrackField extends Box
shake: =>
@game.viewport\shake!
- if joystick = CONTROLLER.joystick
- @vib_seq = Sequence ->
- print "vibrate start"
- joystick\setVibration 0.5, 0.5
- wait 0.1
- print "vibrate stop"
- joystick\setVibration!
- @vib_seq = nil
+ -- if joystick = CONTROLLER.joystick
+ -- @vib_seq = Sequence ->
+ -- print "vibrate start"
+ -- joystick\setVibration 0.5, 0.5
+ -- wait 0.1
+ -- print "vibrate stop"
+ -- joystick\setVibration!
+ -- @vib_seq = nil
draw: =>
return unless @track.playing or @track.finished

0 comments on commit 98aaabf

Please sign in to comment.