Przejdź do treści
Biblioteka skilli
Programowanie · Nauka i wyjaśnianie

game-engine-architecture

/game-engine-architecture

Opisuje architekturę silników gier niezależnie od silnika: pętla gry (stały i zmienny krok czasu), ECS i graf sceny, potok renderowania, podsystemy (fizyka, dźwięk, animacja, zasoby, pamięć) oraz modele netcode.

Licencja
MIT
Ostatnia zmiana repozytorium
21.10.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 21.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Opisuje architekturę silników gier niezależnie od silnika: pętla gry (stały i zmienny krok czasu), ECS i graf sceny, potok renderowania, podsystemy (fizyka, dźwięk, animacja, zasoby, pamięć) oraz modele netcode.

Wyzwalacze z opisu

s architecture in general,ECSentity component systemrender pipelineforward vs deferredrollback netcodelockstep
Oryginalny opis (EN)

Game-engine architecture, engine-agnostic: the game loop (fixed vs variable timestep), ECS vs scene-graph/OOP, the render pipeline, core subsystems (physics, audio, animation, assets, memory), and netcode models. Architect- level, beyond any specific engine. USE WHEN: designing/evaluating a game engine or game's architecture in general, "game loop", "ECS", "entity component system", "render pipeline", "forward vs deferred", "rollback netcode", "lockstep", custom engine vs off-the-shelf, data-oriented game design. DO NOT USE FOR: Unity-specific work (use the `gamedev/unity-*` skills); low-level

Jak działa

  1. The game loop
  2. Data model: ECS vs scene-graph/OOP
  3. Render pipeline
  4. Core subsystems
  5. Netcode (multiplayer)
  6. Guidance
Sekcje z nagłówków SKILL.md, w oryginale · 54 linii, 321 słów
Podgląd SKILL.md
---
name: game-engine-architecture
description: |
  Game-engine architecture, engine-agnostic: the game loop (fixed vs variable
  timestep), ECS vs scene-graph/OOP, the render pipeline, core subsystems
  (physics, audio, animation, assets, memory), and netcode models. Architect-
  level, beyond any specific engine.

  USE WHEN: designing/evaluating a game engine or game's architecture in general,
  "game loop", "ECS", "entity component system", "render pipeline", "forward vs
  deferred", "rollback netcode", "lockstep", custom engine vs off-the-shelf,
  data-oriented game design.

  DO NOT USE FOR: Unity-specific work (use the `gamedev/unity-*` skills);
  low-level cache/SIMD detail (use `hardware-aware-design`); web graphics (use
  graphics skills).
allowed-tools: Read, Grep, Glob
---
# Game-Engine Architecture (engine-agnostic)

Generalizes the Unity-specific `gamedev/*` skills into engine-agnostic design.
For Unity APIs/DOTS specifics, defer to those skills.

## The game loop

The heartbeat: process input → update simulation → render. Key decision is the
timestep:
- **Fixed timestep** for the simulation (deterministic physics, stable netcode),
  **decoupled** from a variable render rate with interpolation. This is the
  standard for anything needing determinism (multiplayer, physics).
- Variable timestep is simpler but makes physics/netcode non-deterministic.

## Data model: ECS vs scene-graph/OOP

| | OOP / scene graph | **ECS** (entity-component-system) |
|---|---|---|
| Layout | Objects with inheritance | Data in contiguous component arrays |
| Cache | Pointer-chasing, poor | Data-oriented, cache-friendly, SIMD-able |
| Logic | Methods on objects | Systems iterate components |
| Fits | Small/simple games, editor tooling | Many entities, performance, parallelism |

ECS is the modern default for performance and parallelism (see
`hardware-aware-design`); OOP scene graphs remain fine for simpler titles.

## Render pipeline

- **Forward** (shade per object) vs **deferred** (G-buffer, shade per pixel —
  many lights) vs forward+ / clustered. Choose by light count and platform
  (mobile/bandwidth favors forward/tiled).
- A **render graph / frame graph** declares passes + resource dependencies so
  the engine schedules and aliases GPU memory — the modern structuring approach.

## Core subsystems

Physics, audio, animation, scene/asset streaming, and a **memory strategy**
(pools/arenas/frame allocators rather than per-frame malloc — determinism +
no GC stalls). Keep subsystems decoupled behind clear interfaces.

## Netcode (multiplayer)

- **Lockstep** (send inputs, simulate deterministically everywhere): tiny
  bandwidth, needs full determinism; RTS.
- **Client prediction + server reconciliation**: responsive, authoritative
  server; FPS.
- **Rollback**: predict + re-simulate on correction; fighting games.
Authority and determinism (fixed timestep) are the cross-cutting requirements.

## Guidance
Prefer off-the-shelf (Unity/Unreal/Godot) unless you have a specific reason to
build. If custom: fixed-timestep loop, ECS for entity-heavy/perf games, a render
graph, arena memory, and a netcode model matched to the genre.

Wersje

W bazie nie ma innych skilli o nazwie game-engine-architecture.

Migawka bazy z 13.11.2026 · wersja paczki 84a48ce393e8 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 2 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 90game-engine-patterns
    Stosuje klasyczne wzorce silników gier: pętlę gry, stały krok czasowy, architekturę komponentów, podział przestrzeni, pule obiektów i wzorce poleceń oraz stanów.
  • 95game-engine-multiplayer-netcode
    Projektuje architekturę sieciową silnika gry: transport, replikację, predykcję, interpolację, kompensację opóźnień i rollback.
  • 90Game Developer
    Pisze gry od strony technicznej: pętlę gry, stały krok czasowy, systemy encji, fizykę i kolizje, AI, animacje, dźwięk, sieć i optymalizację klatek.
  • 100game-development
    Pomaga w budowie gry 2D i 3D: wybór silnika, pętla gry, sterowanie, fizyka, zapisy i wydanie.
  • 100game-developer
    Wspiera tworzenie systemów gier w Unity i Unreal Engine: architekturę ECS, fizykę, sieć multiplayer z kompensacją opóźnień, optymalizację do 60+ FPS, shadery i wzorce jak object pooling.
  • 100game-developer
    Pomaga budować systemy gier w Unity i Unreal: ECS, fizykę, sieć z kompensacją lagu, płynność do 60 FPS i shadery.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.