design: changes image and animate
This commit is contained in:
parent
e236a906f3
commit
267e5d1c38
@ -15,10 +15,10 @@
|
|||||||
<img src="/assets/Design/wayland.png" alt="bg">
|
<img src="/assets/Design/wayland.png" alt="bg">
|
||||||
</div>
|
</div>
|
||||||
<div class="hero">
|
<div class="hero">
|
||||||
<img id="hero" src="/assets/Design/KnightPixLE2-export.png" alt="">
|
<img id="hero" src="/assets/Design/KNIGHTPIXLETPP.gif" alt="">
|
||||||
</div>
|
</div>
|
||||||
<div class="boss">
|
<div class="boss">
|
||||||
<img id="boss" src="/assets/Design/for-python-Recovered-export2.png" alt="">
|
<img id="boss" src="/assets/Design/for-NewPythonGift.gif" alt="">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
|
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
|
||||||
|
|||||||
@ -25,12 +25,15 @@ setTimeout(() => {
|
|||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
hero.style.left = '800px';
|
hero.style.left = '800px';
|
||||||
}, 500);
|
}, 500);
|
||||||
|
setTimeout(()=> {
|
||||||
|
hero.src = "/assets/Design/KnightPixLE2-exporgift.gif";
|
||||||
|
}, 1700);
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
boss.style.right = '700px';
|
boss.style.right = '700px';
|
||||||
}, 500);
|
}, 500);
|
||||||
|
|
||||||
setTimeout(()=> {
|
setTimeout(()=> {
|
||||||
window.location.href = "/game/firstperson.html"
|
window.location.href = "/game/firstperson.html"
|
||||||
}, 7000)
|
}, 5500)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -45,7 +45,7 @@ if($result){
|
|||||||
</div>
|
</div>
|
||||||
<h1 style="text-align: center;"> <?php echo $score; ?> </h1>
|
<h1 style="text-align: center;"> <?php echo $score; ?> </h1>
|
||||||
<div class="character">
|
<div class="character">
|
||||||
<img src="assets/Design/KnightPixLE.png" alt="knight">
|
<img src="/assets/Design/KnightPixLE2-exporgift.gif" alt="knight">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="board">
|
<div class="board">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user