Component-Based Design & ECS Design

Table of Contents

1. Component Base Design

Like Unity 3D, u can apply different component into to game object(entity) like Transform, Mesh and box collider.

2. ECS

ECS - Entity Component-System Design

Entities:

  • Simply an ID
  • They represent the object that populate your game scene.

Components:

  • Component are pure data
  • They are organized the data itself rather than by entity.

System:

  • Systems are the logic(code) that transforms componetns from one state to the next state.

Date: 2024-01-05 Fri 00:00

Author: Terry Fung

Created: 2024-11-10 Sun 14:09

Emacs 29.4 (Org mode 9.6.15)

Validate