game engine this is about make a game engine from Thecherno's video. markdown
C++ • OpenGL • GLFW • Premake • Spdlog • Cross-Platform
Nuts is a modular, high-performance game engine designed for streamlined 2D/3D development across Windows and Linux. Built with a focus on minimalism and efficiency, it provides a production-ready infrastructure with low overhead.
- Component-based design for high modularity
- Cross-platform abstraction via GLFW (Windows/Linux)
- Custom memory pools reducing allocation overhead
- Asynchronous logging with Spdlog
- Modern OpenGL 4.3 core profile
- Batch-rendered 2D sprites
- Extensible shader pipeline
- Basic PBR material support
graph TD
A[Engine Core] --> B[Window System]
A --> C[Memory Manager]
A --> D[Event System]
A --> E[Renderer]
E --> F[2D Renderer]
E --> G[3D Renderer]
A --> H[UI Framework]
🛠 Building the Engine
bash
# Generate project files
premake5 vs2022 # Windows
premake5 gmake2 # Linux
# Build with CMake
mkdir build && cd build
cmake ..
cmake --build . --config Release
📂 Project Structure
text
Nuts/
├── engine/ # Core engine modules
│ ├── core/ # ECS & memory management
│ ├── graphics/ # Renderer abstraction
│ ├── platform/ # GLFW integration
│ └── utils/ # Logging & utilities
├── demos/ # Example projects
│ ├── 3d_scene/ # 3D rendering demo
│ └── ui_test/ # UI system showcase
├── scripts/ # Premake build scripts
└── third_party/ # Dependency libraries
📜 License
Distributed under the MIT License. See LICENSE for details.
Design Philosophy: Minimalism • Performance • Extensibility • Cross-platform
text
### Key Improvements:
1. **Clear Module Structure** - Visualized using Mermaid diagram
2. **Build Automation** - Ready-to-use Premake/CMake commands
3. **Quantified Benefits** - Highlights memory/performance optimizations
4. **Cross-Platform Ready** - Explicit Windows/Linux support badges
5. **Professional Metadata** - Includes license info and contribution guidelines
Recommend adding:
1. Actual screenshots in `demos/` directory
2. Performance benchmarks
3. Dependency installation instructions
4. API documentation link
5. Roadmap section for future features
This format effectively communicates technical depth while maintaining readability for both technical recruiters and fellow engine developers. The modular structure and performance focus demonstrate engineering rigor expected in game engine projects.