Crate mirador

Source
Expand description

Mirador - A 3D Maze Runner Game

This is the main entry point for the Mirador game application. Mirador is a first-person maze runner game built with Rust and WGPU, featuring procedurally generated mazes, enemy AI, audio systems, and a progression system with upgrades.

§Features

  • 3D Graphics: Real-time 3D rendering using WGPU
  • Procedural Generation: Dynamically generated mazes with increasing complexity
  • Enemy AI: Rotation-based pathfinding enemy that pursues the player
  • Audio System: 3D spatial audio with multiple sound sources
  • Progression System: Player upgrades and level-based difficulty scaling
  • Test Mode: Development mode with simplified gameplay for testing

§Architecture

The application follows a modular architecture:

  • app/: Application state management and event handling
  • game/: Core game logic, player, enemy, and maze systems
  • renderer/: Graphics rendering pipeline and UI components
  • math/: Mathematical utilities for 3D graphics

§Usage

Run the application with cargo run. The game supports both normal gameplay and test mode for development purposes.

Modules§

app
Application module for Mirador.
assets
Assets Module
benchmarks
Benchmarking and Performance Analysis Library
game
Game state management module.
math
Math utilities and types for 3D graphics and game logic.
renderer
Main renderer module.
test_mode
Test mode functionality for Mirador.

Macros§

benchmark
Macro for easy timing of code blocks
debug_benchmark
Macro for conditional benchmarking (only in debug builds)

Functions§

main 🔒
Main entry point for the Mirador game application.
run 🔒
Asynchronously runs the main game loop.