To enhance gameplay mechanics and introduce a new challenge, we propose a change to the behavior of sandstone blocks. Currently, sandstone blocks remain static regardless of player interaction. The proposed change will make these blocks interactive: when a player stands on a sandstone block, a timer will initiate, leading to the block breaking after 2 seconds if the player continues to stand on it they will fall from the platform.
Expected Behavior
Trigger: When a player's character comes into contact by standing on a sandstone block.
Timer Activation: A non-visible nor audible countdown will start, lasting for exactly 2 seconds.
Block Breakage:
Upon breaking, the block disappears, potentially causing the player to fall if no other blocks are beneath.
Modify Sandstone Block Properties:
Update the sandstone block entity in the game's code to include a timer functionality.
Ensure that the block detects when it is being stood on.
Timer Mechanics:
Integrate a countdown system that begins upon player contact.
Visual/Audio Feedback:
Add a simple visual indicator (e.g., the block flashes or changes color) when the timer is active.
Optional: Include a ticking sound during the countdown to enhance player feedback.
Issue: Timer-Based Sandstone Block Breakage
Description
To enhance gameplay mechanics and introduce a new challenge, we propose a change to the behavior of sandstone blocks. Currently, sandstone blocks remain static regardless of player interaction. The proposed change will make these blocks interactive: when a player stands on a sandstone block, a timer will initiate, leading to the block breaking after 2 seconds if the player continues to stand on it they will fall from the platform.
Expected Behavior
Modify Sandstone Block Properties:
Timer Mechanics:
Visual/Audio Feedback: