Skip to content

seabass42/Fragmented

Repository files navigation

Fragmented

You're a student. It's late. You're somewhere in the woods — and something isn't right. You must remember what happened. You must find a way out.

▶ Watch Demo


Overview

Fragmented is a 2D horror game built in Java with LibGDX. The overworld uses top-down RPG-style movement as you explore a dark forest environment at night. When you enter a building, the perspective shifts to first-person point-and-click exploration — use your flashlight to search rooms, interact with objects, and uncover what's happening.

Built in ~2 months as part of a semester-long project competition for the ACM CS Club at SJSU.


Gameplay

  • Overworld — Top-down RPG movement through a night-time forest environment with buildings, barbed wire, and environmental storytelling
  • First-Person Mode — Enter buildings to trigger a perspective shift into point-and-click exploration with a mouse-tracked flashlight
  • Physics Interactions — Move and manipulate objects using physics-based movement
  • Atmosphere — Night-time lighting, animated sprites, and environmental design built to create tension

Technical Highlights

  • Custom tile map implementation — Built a manual tile rendering algorithm instead of relying on Tiled's automatic map generation, giving precise control over collision zones, layering, and interactive tile behavior
  • Physics engine integration — Implemented physics-based object movement and collision detection using LibGDX's built-in physics support
  • Dual rendering pipeline — Engineered a gameplay transition system that switches between top-down orthographic rendering and first-person perspective on building entry
  • Modular game state system — Architected event-driven state transitions across menus, overworld, first-person sequences, and game events

Tech Stack

  • Language: Java
  • Framework: LibGDX
  • Tools: IntelliJ, Gradle, Git

Team

Built by Sebastian Ezpeleta-Stewart and Richard Smith — October to December 2025.


Screenshots

Beginnings First-Person The Bunker Build Your Way Out
overworld firstperson thebunker bridge

Run Instructions

In order to run the game, you need to run the .jar file contained within. Run the following commands in your terminal, replace 'user' with your PC user.

cd C:\Users\user\OneDrive\Desktop\Fragmented

java -jar lwjgl3\build\libs\GameProject-1.0.0.jar

About

First project, horror game oriented

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors