Source code is available on GitHub.

"Trapped Inside" is a first-person shooter game where you explore a 3D maze. You collect items, like keys and batteries, to open doors and power electric boxes. There are also levers that flip the state of doors in the maze. Drone enemies wander around the maze and shoot at the player when in range. To win the game, collect all of the energy balls and escape through the portal.

Keyboard and Mouse Controls:

Button Meaning
WASD Move the player (up, left, down, right)
Mouse Control the camera direction
E Interact with game elements (Action:)
Left Click Shoot
Space Hold to show the full map
Enter Start game at title screen

Gamepad Controls:

Button Meaning
Left Joystick Move the player (up, left, down, right)
Right Joystick Move the camera direction
Left Trigger Zoom in camera for more precise aim
Left Bumper Hold to show the full map
Right Trigger Shoot
A / Cross Shoot
X / Square Interact with game elements (Action:)
Y / Triangle Hold to show the full map
Start Button Start game on Title Screen

Note: the Enter, Space, A, X, Y, Start, and Right Trigger buttons can be used to click buttons in the game (Like "Start" or "Restart")

The heads-up display shows the player health, a small map of the maze, and any items collected in the maze. It also lists the number of energy balls remaining to collect in the maze. If you press and hold the Space, Left Bumper, or Y button, then you can view a larger map of the maze instead of the heads-up display.

Some of the cool features of this game include:

  • Procedurally-generated mazes (explained below)
  • Drone object that uses ray tracing to determine if it can see the player
  • Map of the maze that updates as you explore
  • Sunlight that changes the maze shadows as time advances
  • Support for both keyboard-mouse and gamepad controls
  • A variety of 3D objects with several animations
  • Support for user interface elements
  • Introduction and conclusion cutscenes

Asset Credits

All 3D models have been created by myself using Blender, except for:

The various textures are from:

The skybox is from OpenGameArt.org and has been created by Emil Persson (aka Humus).

The sound effects have all been generated using jfxr with the following exceptions:

The music and ambient sounds are from:

StatusReleased
PlatformsHTML5
Rating
Rated 1.0 out of 5 stars
(1 total ratings)
AuthorBryan McClain
GenreShooter
Made withThree.js
Tags3D, Exploration, First-Person, maze, Procedural Generation
Average sessionA few seconds
InputsKeyboard, Mouse, Gamepad (any)
LinksSource code

Comments

Log in with itch.io to leave a comment.

WHATS THE POINT OF HAVING A GUN

I only get a black screen and the noise. Nothing happens. I am using Google Chrome. Is there a reason why this is happening?