feat: Increase gravity strength by 3x and enhance element fall mechanics

This commit is contained in:
Kacper Kostka (aider)
2025-04-05 17:07:03 +02:00
parent 7cabd79d5f
commit 2067dad1d3
4 changed files with 10 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
// Plant element behaviors (grass, seeds, trees)
function updateGrass(x, y) {
// Grass behaves like dirt for physics with stronger gravity
let maxFall = 3;
let maxFall = 5;
let newY = y;
// Check how far down we can fall
@@ -61,7 +61,7 @@ function updateGrass(x, y) {
function updateSeed(x, y) {
// Seeds fall like sand with stronger gravity
let maxFall = 3;
let maxFall = 5;
let newY = y;
// Check how far down we can fall