From 2756d3446a5950f55f6d2bdb3ec2ff528f43e485 Mon Sep 17 00:00:00 2001 From: ClaytonTDM Date: Fri, 12 Jul 2024 17:40:00 -0400 Subject: [PATCH] :3 --- game/oneko.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/game/oneko.js b/game/oneko.js index 2eaffd48..1c3a7836 100644 --- a/game/oneko.js +++ b/game/oneko.js @@ -208,12 +208,12 @@ for (let i = 0; i < 10; i++) { const heart = document.createElement('div'); heart.className = 'heart'; - heart.textContent = '❤'; + heart.textContent = ':3'; const offsetX = (Math.random() - 0.5) * 50; const offsetY = (Math.random() - 0.5) * 50; heart.style.left = `${centerX + offsetX - 16}px`; heart.style.top = `${centerY + offsetY - 16}px`; - heart.style.transform = `translate(-50%, -50%) rotate(${Math.random() * 360}deg)`; + heart.style.transform = `translate(-50%, -50%) rotate(${Math.random() * 360}deg) scale(0.75)`; parent.appendChild(heart); setTimeout(() => { @@ -226,7 +226,7 @@ style.innerHTML = ` @keyframes heartBurst { 0% { transform: scale(0); opacity: 1; } - 100% { transform: scale(1); opacity: 0; } + 100% { transform: scale(0.75); opacity: 0; } } .heart { position: absolute;