smaller rocks
This commit is contained in:
@@ -1430,7 +1430,7 @@ class Game {
|
|||||||
this._rocks.push({ wx, wy, r: 22 });
|
this._rocks.push({ wx, wy, r: 22 });
|
||||||
const span = document.createElement('span');
|
const span = document.createElement('span');
|
||||||
span.className = 'map-rock';
|
span.className = 'map-rock';
|
||||||
const size = 22 + Math.random() * 12;
|
const size = 11 + Math.random() * 6;
|
||||||
span.textContent = '🪨';
|
span.textContent = '🪨';
|
||||||
span.style.fontSize = size + 'px';
|
span.style.fontSize = size + 'px';
|
||||||
span.style.left = x + 'px';
|
span.style.left = x + 'px';
|
||||||
|
|||||||
Reference in New Issue
Block a user