Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Minecraft Clone in C++ - Code Review and Optimization

The Cherno via YouTube

Overview

Explore a comprehensive code review of a Minecraft clone implemented in C++. Dive into various aspects of game development, including project structure, code organization, mathematics, ray casting techniques, and shader programming. Learn valuable insights on improving code clarity, designing efficient structures, and optimizing performance. Gain practical knowledge on topics such as local static singletons, class organization, and vertex packing. Enhance your C++ game development skills through this in-depth analysis of a Minecraft-inspired project.

Syllabus

- What we're looking at today
- Playing the game
- Project structure and initial thoughts
- Local static singleton
- How to organize a class my style
- The math
- Ray casting and how I would change it
- Designing code structure
- Other notes
- Some weirdness and how to write clear code
- Vertex packing and shaders

Taught by

The Cherno

Reviews

Start your review of Minecraft Clone in C++ - Code Review and Optimization

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.