This commit is contained in:
2023-10-09 21:17:57 +05:30
parent 31f0b411f5
commit df9a03515e
6 changed files with 50 additions and 368 deletions

View File

@@ -71,9 +71,9 @@ import Layout from "../../layouts/Layout.astro";
sunWidth = 200;
sunHeight = 100;
parrotScale = 0.4;
parrotScalePlus = 0.44;
parrotScalePlus = 0.50;
parrotWidth = 200;
parrotHeight = 245;
parrotHeight = 255;
animatedAHeight = 20;
animatedAScale = 0.73;
}
@@ -93,7 +93,8 @@ import Layout from "../../layouts/Layout.astro";
this.load.image('backgroundImage', '/assets/bg6.png');
this.load.image('cloud', '/assets/cloud.png');
this.load.image('canvas', '/assets/canvas4.png');
this.load.image('parrot', '/assets/parrot.png');
// this.load.image('parrot', '/assets/parrot.png');
this.load.image('parrot', '/assets/beanieImage.png');
this.load.image('sun', '/assets/sun.png');
this.load.image('bgMobile', '/assets/bgMobile.png');
this.load.image('canvasStand', '/assets/stand2.png');
@@ -218,8 +219,7 @@ import Layout from "../../layouts/Layout.astro";
animatedLetter.setLoop(true); // Loop the video
animatedLetter.setMute(false); // Unmute the video
animatedLetter.on('complete', function () {
// Video playback is complete
// You can add your code here for what to do when the video finishes.
// add function after end video;
});
let textX, textY;
@@ -345,9 +345,6 @@ import Layout from "../../layouts/Layout.astro";
graphics.lineTo(pointer.x, pointer.y);
graphics.strokePath();
});
// Start Position 626 317
}
function update() {