liuyuqi-dellpc 4 months ago
parent
commit
5c705d4f6a
2 changed files with 1 additions and 12 deletions
  1. 0 11
      js/app.js
  2. 1 1
      project.config.json

+ 0 - 11
js/app.js

@@ -50,8 +50,6 @@ export default class App {
     this.w = 0;
     this.draw = false;
     this.restart();
-
-
   }
 
   restart() {
@@ -67,13 +65,10 @@ export default class App {
       'touchstart',
       this.touchHandler
     )
-
-
     this.aniId = window.requestAnimationFrame(
       this.bindLoop,
       canvas
     )
-
   }
   step1() {
     ctx.clearRect(0, 0, canvas.width, canvas.height)
@@ -95,7 +90,6 @@ export default class App {
       y <= area.endY) {
       this.secenceChange()
     }
-
   }
   secenceChange() {
     canvas.removeEventListener(
@@ -109,15 +103,12 @@ export default class App {
     this.bgupdate()
     this.aniId = window.requestAnimationFrame(this.up, canvas)
     this.music.secen2()
-
-
   }
 
   initEvent() {
     canvas.addEventListener('touchstart', this.touchHandlerStart.bind(this))
     canvas.addEventListener('touchmove', this.touchHanderMove.bind(this))
     canvas.addEventListener('touchend', this.touchEnd.bind(this))
-
   }
   touchHandlerStart(e) {
     if (this.fill) {
@@ -146,8 +137,6 @@ export default class App {
         this.hover();
         this.date1 = new Date();
       }, 0);
-
-
     }
 
 

+ 1 - 1
project.config.json

@@ -36,7 +36,7 @@
     "minifyWXSS": true
   },
   "compileType": "game",
-  "libVersion": "2.20.1",
+  "libVersion": "2.33.0",
   "appid": "wx5965ee8a9321cbf3",
   "projectname": "proud77",
   "simulatorType": "wechat",