diff --git a/.sass-cache/005b12494e40137ef4f8a54eefddd65be4d61be5/auto.scssc b/.sass-cache/005b12494e40137ef4f8a54eefddd65be4d61be5/auto.scssc new file mode 100644 index 0000000..38bda6d Binary files /dev/null and b/.sass-cache/005b12494e40137ef4f8a54eefddd65be4d61be5/auto.scssc differ diff --git a/.sass-cache/005b12494e40137ef4f8a54eefddd65be4d61be5/classic.scssc b/.sass-cache/005b12494e40137ef4f8a54eefddd65be4d61be5/classic.scssc new file mode 100644 index 0000000..375354f Binary files /dev/null and b/.sass-cache/005b12494e40137ef4f8a54eefddd65be4d61be5/classic.scssc differ diff --git a/.sass-cache/00de9366d2857ba07b5e5af21255b81dd2195485/custom-styles.scssc b/.sass-cache/00de9366d2857ba07b5e5af21255b81dd2195485/custom-styles.scssc new file mode 100644 index 0000000..0944d17 Binary files /dev/null and b/.sass-cache/00de9366d2857ba07b5e5af21255b81dd2195485/custom-styles.scssc differ diff --git a/.sass-cache/00de9366d2857ba07b5e5af21255b81dd2195485/custom-variables.scssc b/.sass-cache/00de9366d2857ba07b5e5af21255b81dd2195485/custom-variables.scssc new file mode 100644 index 0000000..15ea4b3 Binary files /dev/null and b/.sass-cache/00de9366d2857ba07b5e5af21255b81dd2195485/custom-variables.scssc differ diff --git a/.sass-cache/50ba015165d1d1d76b8ceedbe91c00adaae6b555/_base.scssc b/.sass-cache/50ba015165d1d1d76b8ceedbe91c00adaae6b555/_base.scssc new file mode 100644 index 0000000..d882f8a Binary files /dev/null and b/.sass-cache/50ba015165d1d1d76b8ceedbe91c00adaae6b555/_base.scssc differ diff --git a/.sass-cache/50ba015165d1d1d76b8ceedbe91c00adaae6b555/_layout.scssc b/.sass-cache/50ba015165d1d1d76b8ceedbe91c00adaae6b555/_layout.scssc new file mode 100644 index 0000000..4bd6b0a Binary files /dev/null and b/.sass-cache/50ba015165d1d1d76b8ceedbe91c00adaae6b555/_layout.scssc differ diff --git a/.sass-cache/50ba015165d1d1d76b8ceedbe91c00adaae6b555/initialize.scssc b/.sass-cache/50ba015165d1d1d76b8ceedbe91c00adaae6b555/initialize.scssc new file mode 100644 index 0000000..74018d2 Binary files /dev/null and b/.sass-cache/50ba015165d1d1d76b8ceedbe91c00adaae6b555/initialize.scssc differ diff --git a/.sass-cache/65f514b74832bd8169eba560f87171d34d28f30e/dark-mode.scssc b/.sass-cache/65f514b74832bd8169eba560f87171d34d28f30e/dark-mode.scssc new file mode 100644 index 0000000..5690dda Binary files /dev/null and b/.sass-cache/65f514b74832bd8169eba560f87171d34d28f30e/dark-mode.scssc differ diff --git a/.sass-cache/7fc5b0310813182d88760d851de5d3596b8092fc/_main.scssc b/.sass-cache/7fc5b0310813182d88760d851de5d3596b8092fc/_main.scssc new file mode 100644 index 0000000..d46fd99 Binary files /dev/null and b/.sass-cache/7fc5b0310813182d88760d851de5d3596b8092fc/_main.scssc differ diff --git a/.sass-cache/7fc5b0310813182d88760d851de5d3596b8092fc/_mixins.scssc b/.sass-cache/7fc5b0310813182d88760d851de5d3596b8092fc/_mixins.scssc new file mode 100644 index 0000000..69458eb Binary files /dev/null and b/.sass-cache/7fc5b0310813182d88760d851de5d3596b8092fc/_mixins.scssc differ diff --git a/.sass-cache/7fc5b0310813182d88760d851de5d3596b8092fc/calculator-button.scssc b/.sass-cache/7fc5b0310813182d88760d851de5d3596b8092fc/calculator-button.scssc new file mode 100644 index 0000000..f82039d Binary files /dev/null and b/.sass-cache/7fc5b0310813182d88760d851de5d3596b8092fc/calculator-button.scssc differ diff --git a/.sass-cache/7fc5b0310813182d88760d851de5d3596b8092fc/chatbot.scssc b/.sass-cache/7fc5b0310813182d88760d851de5d3596b8092fc/chatbot.scssc new file mode 100644 index 0000000..1cd528f Binary files /dev/null and b/.sass-cache/7fc5b0310813182d88760d851de5d3596b8092fc/chatbot.scssc differ diff --git a/.sass-cache/7fc5b0310813182d88760d851de5d3596b8092fc/dropdown-menu.scssc b/.sass-cache/7fc5b0310813182d88760d851de5d3596b8092fc/dropdown-menu.scssc new file mode 100644 index 0000000..a68bc2f Binary files /dev/null and b/.sass-cache/7fc5b0310813182d88760d851de5d3596b8092fc/dropdown-menu.scssc differ diff --git a/.sass-cache/7fc5b0310813182d88760d851de5d3596b8092fc/hacks.scssc b/.sass-cache/7fc5b0310813182d88760d851de5d3596b8092fc/hacks.scssc new file mode 100644 index 0000000..164ea00 Binary files /dev/null and b/.sass-cache/7fc5b0310813182d88760d851de5d3596b8092fc/hacks.scssc differ diff --git a/.sass-cache/7fc5b0310813182d88760d851de5d3596b8092fc/login.scssc b/.sass-cache/7fc5b0310813182d88760d851de5d3596b8092fc/login.scssc new file mode 100644 index 0000000..d26d7a8 Binary files /dev/null and b/.sass-cache/7fc5b0310813182d88760d851de5d3596b8092fc/login.scssc differ diff --git a/.sass-cache/7fc5b0310813182d88760d851de5d3596b8092fc/platformer-game.scssc b/.sass-cache/7fc5b0310813182d88760d851de5d3596b8092fc/platformer-game.scssc new file mode 100644 index 0000000..36132e9 Binary files /dev/null and b/.sass-cache/7fc5b0310813182d88760d851de5d3596b8092fc/platformer-game.scssc differ diff --git a/.sass-cache/7fc5b0310813182d88760d851de5d3596b8092fc/profile.scssc b/.sass-cache/7fc5b0310813182d88760d851de5d3596b8092fc/profile.scssc new file mode 100644 index 0000000..6b5acda Binary files /dev/null and b/.sass-cache/7fc5b0310813182d88760d851de5d3596b8092fc/profile.scssc differ diff --git a/.sass-cache/b4dc9f2d23819a5f5d833aedfc743d9508b9b127/_base.scssc b/.sass-cache/b4dc9f2d23819a5f5d833aedfc743d9508b9b127/_base.scssc new file mode 100644 index 0000000..0e0fa2e Binary files /dev/null and b/.sass-cache/b4dc9f2d23819a5f5d833aedfc743d9508b9b127/_base.scssc differ diff --git a/.sass-cache/b4dc9f2d23819a5f5d833aedfc743d9508b9b127/_highlight-dark.scssc b/.sass-cache/b4dc9f2d23819a5f5d833aedfc743d9508b9b127/_highlight-dark.scssc new file mode 100644 index 0000000..8cfa65d Binary files /dev/null and b/.sass-cache/b4dc9f2d23819a5f5d833aedfc743d9508b9b127/_highlight-dark.scssc differ diff --git a/.sass-cache/b4dc9f2d23819a5f5d833aedfc743d9508b9b127/_highlight-light.scssc b/.sass-cache/b4dc9f2d23819a5f5d833aedfc743d9508b9b127/_highlight-light.scssc new file mode 100644 index 0000000..999e8bf Binary files /dev/null and b/.sass-cache/b4dc9f2d23819a5f5d833aedfc743d9508b9b127/_highlight-light.scssc differ diff --git a/.sass-cache/b4dc9f2d23819a5f5d833aedfc743d9508b9b127/_layout.scssc b/.sass-cache/b4dc9f2d23819a5f5d833aedfc743d9508b9b127/_layout.scssc new file mode 100644 index 0000000..e618944 Binary files /dev/null and b/.sass-cache/b4dc9f2d23819a5f5d833aedfc743d9508b9b127/_layout.scssc differ diff --git a/.sass-cache/b4dc9f2d23819a5f5d833aedfc743d9508b9b127/_predefined.scssc b/.sass-cache/b4dc9f2d23819a5f5d833aedfc743d9508b9b127/_predefined.scssc new file mode 100644 index 0000000..6b19473 Binary files /dev/null and b/.sass-cache/b4dc9f2d23819a5f5d833aedfc743d9508b9b127/_predefined.scssc differ diff --git a/.sass-cache/b4dc9f2d23819a5f5d833aedfc743d9508b9b127/_variables.scssc b/.sass-cache/b4dc9f2d23819a5f5d833aedfc743d9508b9b127/_variables.scssc new file mode 100644 index 0000000..e7df724 Binary files /dev/null and b/.sass-cache/b4dc9f2d23819a5f5d833aedfc743d9508b9b127/_variables.scssc differ diff --git a/.sass-cache/b4dc9f2d23819a5f5d833aedfc743d9508b9b127/main.scssc b/.sass-cache/b4dc9f2d23819a5f5d833aedfc743d9508b9b127/main.scssc new file mode 100644 index 0000000..3c83e0c Binary files /dev/null and b/.sass-cache/b4dc9f2d23819a5f5d833aedfc743d9508b9b127/main.scssc differ diff --git a/assets/js/platformer/GameSetterGreece.js b/assets/js/platformer/GameSetterGreece.js index 567afa0..cbceb6b 100644 --- a/assets/js/platformer/GameSetterGreece.js +++ b/assets/js/platformer/GameSetterGreece.js @@ -57,25 +57,25 @@ const assets = { players: { knight: { src: "/images/platformer/sprites/scout_sprite.png", - width: 53, - height: 60, - scaleSize: 50, - speedRatio: 0.7, + width: 63.25, + height: 66.66, + scaleSize: 80, + speedRatio: 1, idle: { - left: { row: 0, frames: 1 }, - right: { row: 1, frames: 1 }, + left: { row: 1, frames: 2 }, + right: { row: 2, frames: 2 }, }, walk: { - left: { row: 0, frames: 4 }, - right: { row: 1, frames: 4 }, + left: { row: 1, frames: 2 }, + right: { row: 2, frames: 2 }, }, run: { - left: { row: 0, frames: 4 }, - right: { row: 1, frames: 4}, + left: { row: 1, frames: 2 }, + right: { row: 2, frames: 2}, }, jump: { - left: { row: 0, frames: 1 }, - right: { row: 1, frames: 1 }, + left: { row: 1, frames: 2 }, + right: { row: 1, frames: 2 }, }, hitbox: { widthPercentage: 0.3, heightPercentage: 0.8 } }, diff --git a/assets/js/platformer/Lava.js b/assets/js/platformer/Lava.js index a0943e0..6e627df 100644 --- a/assets/js/platformer/Lava.js +++ b/assets/js/platformer/Lava.js @@ -8,7 +8,7 @@ export class Lava extends GameObject { this.islandX = xPercentage * GameEnv.innerWidth; this.islandY = yPercentage * GameEnv.innerHeight; // Initialize islandY with a pixel value this.initialDelay = 5000; // 5 seconds delay - this.risingSpeed = 19; // Adjust the rising speed as needed + this.risingSpeed = 65; // Adjust the rising speed as needed this.lastUpdateTime = Date.now(); // Initialize last update time to current time this.timeUntilRise = this.initialDelay; // Time until lava rises this.timerElement = document.createElement('div'); // Create a timer element @@ -39,7 +39,7 @@ export class Lava extends GameObject { startTimer() { setInterval(() => { - this.timeUntilRise -= 500; + this.timeUntilRise -= 1500; if (this.timeUntilRise <= 0) { this.timeUntilRise = 0; this.initialDelayElapsed = true; // Set the flag to true when initial delay is over diff --git a/assets/js/platformer/PlayerGreece.js b/assets/js/platformer/PlayerGreece.js index 0489efe..3f38ae1 100644 --- a/assets/js/platformer/PlayerGreece.js +++ b/assets/js/platformer/PlayerGreece.js @@ -25,8 +25,8 @@ export class PlayerGreece extends PlayerBase { this.timer = false; GameEnv.invincible = false; // Player is not invincible //Hp Bar - this.maxHp = 99; // Maximum health points - this.currentHp = 99; // Current health points + this.maxHp = 70; // Maximum health points + this.currentHp = 70; // Current health points this.hpBar = new hpBar(100, 15, this.canvasWidth, this.canvasHeight, this.maxHp, this.currentHp, this.x, this.y) } /** @@ -142,7 +142,7 @@ export class PlayerGreece extends PlayerBase { if (GameEnv.difficulty === "normal" || GameEnv.difficulty === "hard") { if (this.state.isDying == false) { this.setY(this.y - (this.bottom * 0.6)); - this.currentHp -= 50; + this.currentHp -= 60; this.hpBar.updateHpBar(this.currentHp, this.x, this.y, this.canvasWidth, this.canvasHeight) if(this.currentHp == 0){ this.hpBar.updateHpBar(this.currentHp, this.x, this.y, this.canvasWidth, this.canvasHeight) diff --git a/images/platformer/sprites/scout_sprite.png b/images/platformer/sprites/scout_sprite.png index 1e0d631..93e6f67 100644 Binary files a/images/platformer/sprites/scout_sprite.png and b/images/platformer/sprites/scout_sprite.png differ