top of page

Building Uncheatable Gameplay: The Design of RealMaze AR’s Invisible Walls

Writer's picture: Rafi SaarRafi Saar

Updated: Jan 2



When developing RealMaze AR, I wanted to create a truly immersive and challenging maze game that leverages the best of Apple’s SceneKit and ARKit. SceneKit allowed me to craft intricate 3D mazes, while ARKit seamlessly anchored those mazes into the real world, letting players explore them from any angle. But during early testing, I stumbled upon a critical gameplay flaw: players could easily walk around the maze to reach the exit, completely bypassing the challenge of solving the maze.


This realization struck at the heart of the game’s purpose. After all, what’s the point of a maze if you can just cheat your way to the finish? I needed a solution that ensured RealMaze AR would remain a puzzle of wit and strategy, not just physical maneuvering.


The Cheat-Proof Solution: Invisible Walls

The fix was surprisingly simple yet effective: invisible walls. By adding very long, invisible barriers along the front and back of the maze,  I ensured players couldn’t physically bypass the challenge. Here’s how it works:


1. Invisible Walls Along the Front

   - These walls stretch far beyond the maze, spanning both sides as if extending the front walls of the maze.

   - The walls are undetectable visually, but if you try to step around the maze, you’ll collide with them.

   - When you collide with these walls, the maze moves in sync with your movements, ensuring you stay exactly where you started. The only way forward is back through the maze entrance to solve it properly.


2. Invisible Walls at the Back

   - Similar walls exist behind the maze to prevent players from bypassing it by circling around from the rear.

   - These back walls serve as an additional layer of security, making the game foolproof.


3. Cheat Detection

   - If you somehow manage to breach these invisible boundaries, the game has a built-in detection mechanism.

   - The moment you’re in a restricted zone, the game stops, and you’re forced to restart the level.


This approach preserves the integrity of the game while maintaining the illusion of an open-world environment. Players feel immersed in the AR experience, unaware of the invisible barriers that enforce the game’s rules.


Immersive Gameplay Without Compromise

The concept of invisible walls might sound simple, but it serves a vital purpose in keeping RealMaze AR fun and fair. You can still explore the maze from any angle, but there’s no way to cheat by walking around it. The result is a game that’s as challenging as it is engaging.


If you’re curious about the mechanics behind how the maze responds to collisions, check out this blog post on how colliding with maze walls affects gameplay.


RealMaze AR is all about solving puzzles and exploring virtual worlds in real spaces. With these invisible walls in place, players are guaranteed an experience where their wits, not their feet, determine their success.


Ready to dive into the challenge? Download RealMaze AR today and see if you can find your way through the mazes—fair and square!



16 views0 comments

Comments


bottom of page