Escape

Escape the circuit facility by solving puzzles and avoiding obstacles.


Project Overview

3D first-person POV exit room-styled game.

Technical Components

  • 3D Asset Integration - incorporated various 3D assets into the scene to make an appealing game environment.
  • 3D Asset Optimization -  utilized baking textures and occlusion culling for performance.
  • NavMesh Agents - Baked NavMeshMaps and created scripts for chase and patrol states for gameplay.
  • Scripting with 3D assets - used C# scripting to handle interactions with 3D assets like triggers and physics.
  • SOLID Principles for scalable code and organization.

Obstacles

  • One of the problems I encountered was a bug that caused the player to get stuck on the ceiling of one of the rooms if they jumped. I noticed that this bug occurred inside a collider marked as a trigger. The player could function fine as long as they did not jump. Finally, I noticed that the collider was put on the default layer which conflicted with the Physics settings and caused the player to float up after jumping. After placing the collider on a different layer, the bug was fixed. Although the collider was marked as a trigger, it still conflicted with Player's physics due to its layer.

Credits

Comments

Log in with itch.io to leave a comment.

An error message appears as soon as I enter the second room after the camera drive. But what I could see up to that point looked good!

The error message:

RuntimeError: call_indirect to a null table entry (evaluating 'dynCall_iiii(index,a1,a2,a3)')

<?>.wasm-function[52669]@[wasm code]

<?>.wasm-function[20708]@[wasm code]

<?>.wasm-function[8662]@[wasm code]

<?>.wasm-function[33968]@[wasm code]

invoke_iiii@https://html-classic.itch.zone/html/11132928/PuzzleGame/Build/PuzzleGame.framewo...

<?>.wasm-function[1610]@[wasm code]

<?>.wasm-function[17658]@[wasm code]

<?>.wasm-function[765]@[wasm code]

<?>.wasm-function[38681]@[wasm code]

<?>.wasm-function[17349]@[wasm code]

<?>.wasm-function[2786]@[wasm code]

<?>.wasm-function[1125]@[wasm code]

<?>.wasm-function[18224]@[wasm code]

<?>.wasm-function[41129]@[wasm code]

<?>.wasm-function[16859]@[wasm code]

<?>.wasm-function[16859]@[wasm code]

<?>.wasm-function[16333]@[wasm code]

<?>.wasm-function[33963]@[wasm code]

browserIterationFunc@https://html-classic.itch.zone/html/11132928/PuzzleGame/Build/PuzzleGame.framewo...

callUserCallback@https://html-classic.itch.zone/html/11132928/PuzzleGame/Build/PuzzleGame.framewo...

runIter@https://html-classic.itch.zone/html/11132928/PuzzleGame/Build/PuzzleGame.framewo...

Browser_mainLoop_runner@https://html-classic.itch.zone/html/11132928/PuzzleGame/Build/PuzzleGame.framewo...

Hi. Thank you for letting me know! I have fixed the issue ðŸ™‚