Added village scene
Some checks are pending
CI / Foundry project (push) Waiting to run

This commit is contained in:
mic0 2024-10-21 12:00:18 +02:00
parent 37ac6c22c6
commit bc0efd842e
Signed by: mico
GPG Key ID: A3F8023524CF1C8D
4 changed files with 77 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 616 KiB

View File

@ -67,9 +67,19 @@
} }
.village { .village {
background-image: url("/background/village.png"); background-image: url("/background/village.png");
height: 540px;
bottom: 22px;
} }
.bonfire { .bonfire {
background-image: url("/background/bonfire.png"); background-image: url("/background/bonfire.png");
bottom: 100px;
left: 184px;
width: 175px;
height: 193px;
transform-origin: bottom center;
animation:
bonfire 12s linear infinite,
bonfire_skew 5s infinite linear;
} }
@keyframes scrollBackground { @keyframes scrollBackground {
@ -119,3 +129,70 @@
filter: saturate(1); filter: saturate(1);
} }
} }
@keyframes bonfire {
5% {
filter: saturate(3);
}
10% {
filter: saturate(1);
}
15% {
filter: saturate(3);
}
25% {
filter: saturate(1);
}
35% {
filter: saturate(5);
}
50% {
filter: saturate(1);
}
55% {
filter: saturate(3);
}
85% {
filter: saturate(1);
}
90% {
filter: saturate(2);
}
100% {
filter: saturate(1);
}
}
@keyframes bonfire_skew {
0%,
100% {
transform: scale(1, 1) skew(0deg, 0deg);
}
10% {
transform: scale(1.01, 1.01) skew(0.5deg, -0.5deg);
}
20% {
transform: scale(1.02, 1.02) skew(1deg, -1deg);
}
30% {
transform: scale(1, 1.03) skew(0deg, 0deg);
}
40% {
transform: scale(1.01, 1.04) skew(0.5deg, -1.5deg);
}
50% {
transform: scale(1, 1.03) skew(0.5deg, -0.5deg);
}
60% {
transform: scale(1.01, 1.04) skew(0deg, 0deg);
}
70% {
transform: scale(1.02, 1.01) skew(1deg, -1deg);
}
80% {
transform: scale(1, 1.02) skew(-0.5deg, 0.5deg);
}
90% {
transform: scale(1.02, 1.03) skew(0deg, -1deg);
}
}