Built From Scratch: 2D Game Engine - Entity Component System
Автор: Codingbutter llc
Загружено: 2025-11-03
Просмотров: 10934
Описание:
Welcome to the architecture that powers nearly every modern game engine. The Entity Component System (ECS) might sound complex, but it's actually a beautifully simple idea: separate what things ARE from what they DO.
By the end of this episode, you'll understand why professionals swear by this pattern and have a working ECS powering your engine.
What You'll Build:
A flexible system that can handle any game object
Clean architecture that makes adding features easy
Fast performance that scales to hundreds of objects
The foundation for physics, AI, and everything else
Perfect for: Anyone building games who's struggled with messy code, or developers who want to learn professional game architecture.
LINKS:
Full Series Playlist: • Built From Scratch: 2D GAME ENGINE
GitHub Repository: https://github.com/CodingButter/GameE...
This Episode's Code: https://github.com/CodingButter/GameE...
---
CHAPTERS:
0:00 – Introduction & Series Overview
0:27 – Last Episode Recap
1:01 – What is ECS? (Entity Component System Explained)
3:25 – Building the @ges/ecs Package
4:53 – Defining Entity Types
8:46 – Component Systems Overview
10:04 – World Class & Entity Creation
11:10 – Add Component Function
12:04 – Query System Implementation
16:16 – Add System Function
16:32 – Update & Render Functions
17:05 – Adding ECS to Core Package
18:10 – Creating the useGame Hook
21:45 – Setting Up Refs & State
23:06 – Creating the ECS World
24:01 – Square Render System
25:00 – Movement System
26:10 – Bounce System
28:32 – Setting Up the Engine
30:09 – Add Square Function
31:49 – Updating the Editor Component
34:01 – Testing the Implementation
35:05 – Recap & What's Next
---
ECS is a game-changer (literally). If this clicked for you, hit that subscribe button and join me for the next episode where we put this system to work!
---
Building something? Learning game dev? This series is for you. Subscribe and let's build this engine together, one episode at a time.
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: