June 2015
Beginner
354 pages
8h 23m
English
We target the 3-intersection point between the horizontal line and the vertical line.
<div id="hit-line-1" data-line-no="1" class="hit-line hide"></div> <div id="hit-line-2" data-line-no="2" class="hit-line hide"></div> <div id="hit-line-3" data-line-no="3" class="hit-line hide"></div>
audiogame object:initTouchAndClick: function() { var game = this; $('.hit-line').bind('mousedown touchstart', function() { var line = $(this).data('lineNo') * 1; // parse in int ...Read now
Unlock full access