feat(game): add persistent bush-wall breakthroughs
This commit is contained in:
@@ -118,6 +118,15 @@ input:focus { border-color: var(--aqua); box-shadow: 0 0 0 3px #43ead229; }
|
||||
.cell.wall-s { border-bottom-color: var(--plant); }
|
||||
.cell.wall-w { border-left-color: var(--plant); }
|
||||
.cell::after { content: ""; position: absolute; inset: 7px; background: #1c1b27; opacity: .55; }
|
||||
.cell.trampled-n::before, .cell.trampled-e::before, .cell.trampled-s::before, .cell.trampled-w::before { content: ""; position: absolute; z-index: 2; background: repeating-linear-gradient(90deg, #254d2d 0 4px, #6f8d43 4px 7px); opacity: .9; }
|
||||
.cell.trampled-n::before { left: 4px; right: 4px; top: -3px; height: 6px; }
|
||||
.cell.trampled-e::before { top: 4px; right: -3px; bottom: 4px; width: 6px; }
|
||||
.cell.trampled-s::before { right: 4px; bottom: -3px; left: 4px; height: 6px; }
|
||||
.cell.trampled-w::before { top: 4px; bottom: 4px; left: -3px; width: 6px; }
|
||||
.cell.bush-impact { z-index: 5; animation: bush-resist .34s steps(3, end); }
|
||||
.cell.bush-stage-2 { filter: saturate(1.25); }
|
||||
.cell.bush-stage-3 { filter: brightness(1.2) saturate(1.4); }
|
||||
.cell.bush-stage-4 { filter: brightness(1.35) saturate(1.65); }
|
||||
.object, .pawn { position: absolute; z-index: 3; inset: 16%; display: grid; place-items: center; }
|
||||
.object svg, .pawn svg { width: 100%; height: 100%; }
|
||||
.object-key { color: var(--p1); }
|
||||
@@ -306,6 +315,7 @@ input:focus { border-color: var(--aqua); box-shadow: 0 0 0 3px #43ead229; }
|
||||
@keyframes artifact { 50% { transform: scale(.75); box-shadow: 0 0 18px var(--warning); } }
|
||||
@keyframes exit-open { 50% { outline: 3px solid var(--success); } }
|
||||
@keyframes pawn-in { from { transform: scale(.6); } }
|
||||
@keyframes bush-resist { 50% { transform: translateX(3px) rotate(1deg); } }
|
||||
@keyframes impact-north { 50% { transform: translate(calc(-50% + var(--map-offset-x, 0px)), calc(-50% + var(--map-offset-y, 0px) - 10px)); } }
|
||||
@keyframes impact-east { 50% { transform: translate(calc(-50% + var(--map-offset-x, 0px) + 10px), calc(-50% + var(--map-offset-y, 0px))); } }
|
||||
@keyframes impact-south { 50% { transform: translate(calc(-50% + var(--map-offset-x, 0px)), calc(-50% + var(--map-offset-y, 0px) + 10px)); } }
|
||||
|
||||
Reference in New Issue
Block a user