https://github.com/burnycoder/bunnyhopping
A simple 3D first-person game with bunnyhopping mechanics built using the Ursina Engine.
https://github.com/burnycoder/bunnyhopping
Last synced: 11 months ago
JSON representation
A simple 3D first-person game with bunnyhopping mechanics built using the Ursina Engine.
- Host: GitHub
- URL: https://github.com/burnycoder/bunnyhopping
- Owner: BurnyCoder
- Created: 2025-03-01T01:11:15.000Z (over 1 year ago)
- Default Branch: 3
- Last Pushed: 2025-03-01T04:20:14.000Z (over 1 year ago)
- Last Synced: 2025-03-01T04:25:49.100Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 3D Bunnyhopping Game
A simple 3D first-person game with bunnyhopping mechanics built using the Ursina Engine.

## Requirements
- Python 3.7+
- Ursina Engine
## Installation
Install the required packages:
```bash
pip install ursina
```
## Running the Game
Run the main entry point:
```bash
python main.py
```
## Controls
- **W, A, S, D**: Move forward, left, backward, and right
- **Mouse**: Look around
- **Space**: Hold to bunnyhop continuously (you must be moving)
## Customization
You can modify the following parameters in the `controllers/bunny_hop_controller.py` file to adjust the bunnyhopping mechanics:
- `max_speed_multiplier`: Maximum speed multiplier (default: uncapped)
- `per_hop_multiplier_amount`: How much speed boost you get per hop (default: 0.25)
- `diminish_value`: Regular speed decay rate (default: 0.05)
- `long_distance_diminish`: Reduced decay rate for long-distance travel (default: 0.01)
- `jump_cooldown_max`: Time between jumps (default: 0.2)
## Project Structure
The codebase follows a modular structure:
- `main.py`: Entry point for the game
- `game.py`: Main game class that initializes and manages the game
- `controllers/`: Player movement and control
- `bunny_hop_controller.py`: Bunnyhopping mechanic implementation
- `world/`: Environment and terrain generation
- `environment.py`: Procedural world generation
- `ui/`: User interface elements
- `hud.py`: Heads-up display elements like speed and distance