
Wall Crusher
This script creates the Wall Crusher trap, a high-intensity challenge designed to test players' timing and precision in a maze level. Here's how it works:
Dynamic Crushing Walls: Two hedge-covered walls with spiked surfaces close in toward the center. The spikes have their own timelines, thrusting forward as the walls move, creating a progressively shrinking safe zone. The animation combines wall advancement and spike thrusting for a relentless, layered hazard.
Obstacle Course Design: The floor features uneven terrain and a lava bed, forcing players to navigate an obstacle course while under constant pressure from the moving walls. Missteps lead to deadly consequences, amplifying the tension.
Player Reset Mechanic: Getting hit by spikes or falling into the lava teleports the player back to the start of the maze, ensuring a high-stakes environment that rewards precision and quick decision-making.
Technical Highlights: The spikes are animated with individual timelines using vector tracks, allowing independent control of their thrusting motion while syncing seamlessly with the moving walls. This setup ensures a smooth, visually impactful trap that feels dynamic and engaging.
This trap combines intricate animation, challenging level design, and precise player feedback to create a memorable obstacle that keeps players engaged and tests their skills. It showcases my ability to script and integrate complex mechanics into a cohesive, high-quality level.