Commit f5492f86 authored by nanahira's avatar nanahira

crown color

parent 080c0c7e
Pipeline #293 passed with stages
in 6 minutes and 50 seconds
...@@ -1349,11 +1349,13 @@ ...@@ -1349,11 +1349,13 @@
if(config.type){ if(config.type){
var grd = ctx.createLinearGradient(0, 0, 94, 0) var grd = ctx.createLinearGradient(0, 0, 94, 0)
if(config.type === "rainbow"){ // TODO if(config.type === "rainbow"){ // TODO
grd.addColorStop(0, "#ffffc5") grd.addColorStop(0,"#0000ff")
grd.addColorStop(0.23, "#ffff44") grd.addColorStop(0.15,"#00ffff")
grd.addColorStop(0.53, "#efbd12") grd.addColorStop(0.35,"#00ff88")
grd.addColorStop(0.83, "#ffff44") grd.addColorStop(0.5,"#ffffff")
grd.addColorStop(1, "#efbd12") grd.addColorStop(0.65,"#ffff00")
grd.addColorStop(0.85,"#ff8800")
grd.addColorStop(1,"#ff00ff")
}else if(config.type === "gold"){ }else if(config.type === "gold"){
grd.addColorStop(0, "#ffffc5") grd.addColorStop(0, "#ffffc5")
grd.addColorStop(0.23, "#ffff44") grd.addColorStop(0.23, "#ffff44")
......
...@@ -206,7 +206,10 @@ class Controller{ ...@@ -206,7 +206,10 @@ class Controller{
var score = this.getGlobalScore() var score = this.getGlobalScore()
var vp var vp
if(this.game.rules.clearReached(score.gauge)){ if(this.game.rules.clearReached(score.gauge)){
if(score.bad === 0){ if(score.ok === 0 && score.bad === 0){ // TODO: donder fullcombo
vp = "fullcombo"
this.playSound("v_fullcombo", 1.350)
}else if(score.bad === 0){
vp = "fullcombo" vp = "fullcombo"
this.playSound("v_fullcombo", 1.350) this.playSound("v_fullcombo", 1.350)
}else{ }else{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment