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

YouTube

Game Programming - Introduction to ECS in C++ - Entities, Components, Systems - Lecture 4

Dave Churchill via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore the Entity-Component-System (ECS) architecture in this comprehensive game programming lecture that contrasts traditional object-oriented approaches with modern ECS design patterns. Learn fundamental ECS concepts including how entities, components, and systems work together to create flexible and maintainable game code. Discover various component and entity storage options, examine practical ECS system examples, and understand game engine architecture principles. Follow along with detailed implementation walkthroughs covering Entity class creation, component systems, and essential vector mathematics using the Vec2 class. Gain hands-on experience through live coding demonstrations that show how to effectively use entities in C++ game development, all while building toward creating fully functional games using the SFML graphics library.

Syllabus

00:00 - Intro + Schedule
01:12 - What is ECS?
03:32 - Object Oriented vs ECS
11:12 - ECS Game Programming
17:00 - Example ECS Systems
21:00 - Game Engine Architecture
23:10 - Component and Entity Storage Options
44:49 - Entity Class Implementation
52:33 - Entity Functions
55:13 - Component Implementation
57:00 - Using Entities
01:00:28 - Vec2 Class
01:02:36 - Vec2 Live Coding

Taught by

Dave Churchill

Reviews

Start your review of Game Programming - Introduction to ECS in C++ - Entities, Components, Systems - Lecture 4

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.