Skip to content

Commit

Permalink
changed two images.
Browse files Browse the repository at this point in the history
  • Loading branch information
BigSaltyFish committed Jul 3, 2019
1 parent 1bcb85a commit 13548d0
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 1 deletion.
Binary file added miniprogram/images/start/difficult-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed miniprogram/images/start/difficult.png
Binary file not shown.
Binary file modified miniprogram/images/tip/diff.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion miniprogram/js/home/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default class BackGround extends Sprite {
showMode(main) {
const zoom = (x) => {return x*x/100}
this.normalModeBtn = new Button(null, 'images/start/normal.png', screenWidth/2, screenHeight/3)
this.difficultModeBtn = new Button(null, 'images/start/difficult.png', screenWidth/2, screenHeight/3)
this.difficultModeBtn = new Button(null, 'images/start/difficult-1.png', screenWidth/2, screenHeight/3)

this.normalModeBtn.onClick(null, zoom, -screenWidth / 4, -screenHeight/6)
this.difficultModeBtn.onClick(null, zoom, screenWidth / 4, -screenHeight / 6)
Expand Down
3 changes: 3 additions & 0 deletions miniprogram/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,9 @@ export default class Main {
if (databus.mode == 0) databus.score += 20
else if (databus.mode == 1) databus.score += 30
}
else {
wx.vibrateShort()
}

let piece = {
choose: names[classification - 1],
Expand Down

0 comments on commit 13548d0

Please sign in to comment.