Commit 47daf7a2 authored by Tt's avatar Tt

jiasu

parent 86b9ac00
......@@ -43,7 +43,7 @@ cc.Class({
update(dt) {
if (!this.p0) return;
this.count++;
let m = Math.floor(this.count / 40) % 4;
let m = Math.floor(this.count / 20) % 4;
this[`p0`].scaleX = m == 1 ? 1.3 : 1.0;
this[`p0`].scaleY = m == 1 ? 1.3 : 1.0;
this[`p1`].scaleX = m == 2 ? 1.3 : 1.0;
......
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