Skip to content

A challenging obstacle course game built with React Three Fiber and Three.js.

Notifications You must be signed in to change notification settings

asadcodex/Codex-Guys

Repository files navigation

Codex Guys

A challenging obstacle course game built with React Three Fiber and Three.js.

Codex Guys Game

๐ŸŽฎ About

Codex Guys is a fun obstacle course game where players navigate through challenging levels, avoid obstacles, and race against the clock to reach the finish line. Built with React Three Fiber and Three.js, this game provides an engaging 3D experience with physics-based gameplay and charming character animations.

โœจ Features

  • Physics-Based Gameplay: Realistic character movements and interactions
  • Custom Character Animations: Smooth, responsive character movements
  • Time Trials: Challenge yourself to beat your best times

๐Ÿ› ๏ธ Tech Stack

  • React
  • Three.js
  • React Three Fiber
  • Physics Engine (Rapier)

๐ŸŽฏ Development Guide

Game State Logic

The game uses a state machine to manage different phases:

  • Main Menu
  • Countdown
  • Playing
  • Game Over

Player Controller

Player movement uses physics-based controls with:

  • Forward/backward movement
  • Rotation
  • Jumping mechanics
  • Collision detection

Camera System

A dynamic camera system that follows the player's character while providing a good view of the obstacle course ahead.

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A challenging obstacle course game built with React Three Fiber and Three.js.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published