A cinematic procedural meadow prototype and experimental mini-engine built in modern C++ using raylib and OpenGL.
Endless Meadow is a cinematic procedural meadow sandbox and experimental mini-engine focused on procedural rendering, atmospheric visuals and modular gameplay systems.
Built using:
- C++17
- raylib
- OpenGL
- GLSL
- CMake
The project combines:
- procedural terrain generation
- real-time chunk streaming
- stylized rendering
- cinematic exploration
- lightweight engine architecture
- ๐ฑ Infinite procedural terrain
- ๐ Animated water shader
- โ๏ธ Atmospheric cloud rendering
- ๐ฒ Procedural trees and rocks
- ๐ธ GPU grass & flower rendering
- ๐พ Procedural animated alien
- ๐ง Reactive alien antenna physics
- ๐ Cinematic procedural backpack
- ๐ชต Tree destruction system
- ๐ฆ Wood drop physics
- โจ Magnetic item pickup
- ๐บ๏ธ Real-time terrain minimap
- ๐ฎ Runtime chunk streaming
- ๐ Backpack inventory UI
- โจ Pickup popup effects
- ๐ซ Fly mode
- ๐ฌ Cinematic preload system
- ๐งฉ Modular
.hpp/.cpparchitecture
| Key | Action |
|---|---|
| W A S D | Move |
| Mouse | Camera |
| SHIFT | Sprint |
| SPACE | Jump |
| Double SPACE | Fly Mode |
| CTRL | Fly Down |
| E | Backpack |
| M | Map |
| Left Click | Hit Tree |
| ESC | Pause |
| Q | Replay Preload |
include/
โโโ game.hpp
โโโ preload.hpp
โโโ world.hpp
โโโ world_types.hpp
โโโ terrain.hpp
โโโ vegetation.hpp
โโโ water.hpp
โโโ sky.hpp
โโโ alien.hpp
โโโ collisions.hpp
โโโ map.hpp
โโโ inventory.hpp
โโโ item_drops.hpp
src/
โโโ main.cpp
โโโ game.cpp
โโโ preload.cpp
โโโ world.cpp
โโโ terrain.cpp
โโโ vegetation.cpp
โโโ water.cpp
โโโ sky.cpp
โโโ alien.cpp
โโโ collisions.cpp
โโโ map.cpp
โโโ inventory.cpp
โโโ item_drops.cpp- Infinite procedural terrain
- Fractal & ridge noise generation
- Runtime chunk generation
- Terrain-aware rendering
- GPU grass rendering
- Flower rendering
- Procedural trees
- Procedural rocks
- Tree shaking animation
- Animated GLSL water shader
- Dynamic wave movement
- Water rendering around player
- Procedural alien rendering
- Walking & sprint animation
- Falling animation
- Reactive antenna physics
- Cinematic backpack rendering
- Backpack UI
- Item organization
- Slot movement system
- Wood collection
- Terrain-aware physics
- Bounce simulation
- Magnetic pickup system
- Spinning collectible items
- Cinematic loading screen
- Glow UI
- Animated particles
- Smooth progress bar
- Replayable debug preload
Install dependencies:
brew install raylib cmakeClone repository:
git clone https://github.com/Armin-000/EndlessMeadow.git
cd EndlessMeadowBuild project:
rm -rf build
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build buildRun:
open build/EndlessMeadow.app- C++17
- raylib 5.5
- OpenGL
- GLSL
- CMake
- Procedural Generation
Current architecture follows a modular design:
include/ -> declarations
src/ -> implementationsMain gameplay loop:
src/game.cppLoading system:
src/preload.cppThe project is transitioning from:
prototypetoward:
modular procedural mini-engine- ๐ Day/night cycle
- ๐ง๏ธ Dynamic weather
- ๐ฒ Biome system
- ๐ Ambient audio
- ๐ช Axe/tool system
- ๐งฑ Crafting
- ๐ Better inventory model
- ๐ฟ Wildlife
- ๐พ Save/load system
- โจ Particle engine
- ๐ฅ Cinematic camera system
- โก Async chunk loading
- Journey
- Sable
- Tiny Glade
- Firewatch
- No Man's Sky (stylized atmosphere)
This project is intended for:
- graphics programming
- procedural rendering research
- experimentation
- learning
- portfolio showcase
See LICENSE.md.


