diff --git a/assets/scripts/KaplayMap/index.js b/assets/scripts/KaplayMap/index.js index 4125027..888111a 100644 --- a/assets/scripts/KaplayMap/index.js +++ b/assets/scripts/KaplayMap/index.js @@ -118,6 +118,19 @@ export class KaplayMap { } }); + const size = 16; + this.kp.onDraw(() => { + this.fingers.forEach((pos) => { + this.kp.drawRect({ + width: size, + height: size, + pos: pos.sub(size / 2), + color: this.kp.RED, + fixed: true, + }); + }); + }); + this.kp.onUpdate(() => { const curCamPos = this.kp.camPos(); const camScale = 1 / this.kp.camScale().y;