This commit introduces a new rabbit element with the following features: - Jumping mechanics with variable height - Random direction changes - Falling and basic ground interaction - Color variations - Avoidance of water The changes include: - Added RABBIT constant to element types - Created rabbit.js with updateRabbit function - Added RABBIT_COLORS to constants - Implemented basic rabbit movement and behavior logic
2.5 KiB
2.5 KiB