This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | res = require('./resource').res | |
| music = require('./music') | |
| Note = require('./note') | |
| Timer = require('./timer') | |
| GameOver = require('./gameOver') | |
| GameLayer = cc.Layer.extend | |
| _keyNum : 5 | |
| _margin : 60 | |
| _offset : 38 | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | res = require('./resource').res | |
| GameOverLayer = cc.Layer.extend | |
| ctor : -> | |
| @_super() | |
| @_addBg() | |
| @_addMessage() | |
| _addBg : -> | |
| size = cc.director.getWinSize() | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | res = require('./resource').res | |
| music = require('./music') | |
| Note = require('./note') | |
| Timer = require('./timer') | |
| GameLayer = cc.Layer.extend | |
| _keyNum : 5 | |
| _margin : 60 | |
| _offset : 38 | |
| _destY : 60 | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | music = | |
| src : "res/Ouroboros.mp3" | |
| title : "Ouroboros" | |
| coverImage : "res/cover.jpg" | |
| playTime : 96 | |
| note : [ | |
| {timing : 2.329, key : 3} | |
| {timing : 4.521, key : 2} | |
| {timing : 6.759, key : 1} | |
| {timing : 8.982, key : 1} | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | res = require('./resource').res | |
| Note = require('./note') | |
| Timer = require('./timer') | |
| GameLayer = cc.Layer.extend | |
| _keyNum : 5 | |
| _margin : 60 | |
| _offset : 38 | |
| _destY : 60 | |
| ctor : -> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | res = require('./resource').res | |
| resources = require('./resource').resources | |
| cc.game.onStart = -> | |
| GameScene = require './app' | |
| if not cc.sys.isNative and document.getElementById "cocosLoading" | |
| document.body.removeChild(document.getElementById "cocosLoading") | |
| cc.view.enableRetina off | |
| cc.view.adjustViewPort on | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | res = require('./resource').res | |
| Note = require('./note') | |
| Timer = require('./timer') | |
| GameLayer = cc.Layer.extend | |
| ctor : -> | |
| @_super() | |
| @_addBg() | |
| @_timer = new Timer() | |
| params = | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | gulp = require 'gulp' | |
| coffee = require 'gulp-coffee' | |
| watchify = require 'gulp-watchify' | |
| runSequence = require 'run-sequence' | |
| gulp.task 'build:coffee', -> | |
| gulp.src 'src/*.coffee' | |
| .pipe coffee() | |
| .pipe gulp.dest 'js' | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | TouchSprite = require './touchSprite' | |
| Note = TouchSprite.extend | |
| ctor : (texture, @_params, @_timer)-> | |
| @_super texture | |
| @_listeners = [] | |
| start : -> | |
| @scheduleUpdate() | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | TouchSprite = cc.Sprite.extend | |
| ctor : (texture)-> | |
| @_super texture | |
| cc.eventManager.addListener | |
| event : cc.EventListener.TOUCH_ONE_BY_ONE | |
| swallowTouches : true | |
| onTouchBegan : @onTouchBegan.bind this | |
| , this | |
| onTouchBegan : (touch, event)-> |