Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Need a better definition of Systems and components

Aperta
#145 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
20/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
cpp
Ambito
game-dev

Direzione di ricerca

Non vengono indicati file, test o punti di ingresso. Inizia individuando l’attuale modello dei componenti dell’engine e la gestione del ciclo di vita di World, Engine ed Editor, quindi confrontali con le definizioni proposte di WorldSystem, PersistentSystem ed EditorSystem. Il lavoro sarà considerato completato quando esisterà un design concordato sulla proprietà dei sistemi e sull’avvio/arresto, che fornisca un percorso chiaro per creare sistemi definiti dall’utente.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement PRI 2 triage

Right now the engine component model is somewhat monolithic and does not provide a clear path for users to go about making a new system.

I think the best way to go about solving this problem is to actually introduce the concept of System's into our data model. The engine will manage the lifetime of these systems for you, giving you a couple options to choose from when creating one.

Definitions

  1. A WorldSystem - A world system will share the lifetime of it's owning world, being started and destroyed when the world does. By sharing the lifetime of a world this makes it easy to write gameplay systems, silar to Unreal's UWorldSubsystem and Unity's "Press Play" ideology.
  2. A PersistentSystem - A system that will share the lifetime of the engine as a whole. It will be started when the engine is launched, and shutdown when the application closes. This is what the engine itself can use to do things like rendering, input, and other systems that need to be about during the entire lifetime.
  3. EditorSystem - A system that shares the lifetime of the editor, which will make it simple to have some debug systems that you can create tools in and exclude from development builds.

Code Structure

class System
| 
|-- World System
|-- -- Any user defined gameplay subsystems
|-- -- Lua Scripting system
|-- -- Game type Definitions 
|-- PersistentSystem
|-- -- Rendering systems
|-- -- Input systems
|-- -- File IO systems
|-- EditorSystem
|-- -- Editor systems like ImGUI options or other tools
Lingua principale
C++
Stelle
415
Fork
16
Merge medio
16m
PR unite (30g)
6

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di flingengine/FlingEngine

Tutte le issue di flingengine/FlingEngine

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.